class Eth::Client
def tx_mined?(hash)
-
(Boolean)
- true if included in a block.
Parameters:
-
hash
(String
) -- the transaction hash.
def tx_mined?(hash) mined_tx = eth_get_transaction_by_hash hash !mined_tx.nil? && !mined_tx["result"].nil? && !mined_tx["result"]["blockNumber"].nil? end