Module: Etherscan::Transaction

Defined in:
lib/etherscan/api.rb

Class Method Summary collapse

Class Method Details

.getstatus(txhash) ⇒ Object



80
81
82
83
84
85
# File 'lib/etherscan/api.rb', line 80

def getstatus(txhash)
  call = Etherscan::Call.new(Etherscan.chain, 'transaction', 'getstatus')
  call.api_key = Etherscan.api_key
  call.txhash = txhash
  call.fetch
end