belongsTo('App\Block', 'block_hash_id', 'hash'); } /** * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function claims() { return $this->hasMany('App\Claim', 'transaction_hash_id', 'hash'); } /** * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function inputs() { return $this->hasMany('App\Input'); } /** * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function outputs() { return $this->hasMany('App\Output'); } /** * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function supports() { return $this->hasMany('App\Support', 'transaction_hash_id', 'hash'); } /** * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function transactionAddresses() { return $this->hasMany('App\TransactionAddress'); } }