class Eth::Client
def tx_succeeded?(hash)
-
(Boolean)
- true if status is success.
Parameters:
-
hash
(String
) -- the transaction hash.
def tx_succeeded?(hash) tx_receipt = eth_get_transaction_receipt(hash) !tx_receipt.nil? && !tx_receipt["result"].nil? && tx_receipt["result"]["status"] == "0x1" end