Method: Web3::Hpb::Transaction#block_number
- Defined in:
- lib/web3/hpb/transaction.rb
#block_number ⇒ Object
38 39 40 41 42 |
# File 'lib/web3/hpb/transaction.rb', line 38 def block_number # if transaction is less than 12 seconds old, blockNumber will be nil # :. nil check before calling `to_hex` to avoid argument error blockNumber && from_hex(blockNumber) end |