Updates to TransactionObject in line with internal types

This commit is contained in:
coffeepots 2018-08-17 19:53:22 +01:00
parent 67e9f47ac5
commit f84a4bd9d9
1 changed files with 2 additions and 2 deletions

View File

@ -64,13 +64,13 @@ type
TransactionObject* = object # A transaction object, or null when no transaction was found: TransactionObject* = object # A transaction object, or null when no transaction was found:
# Returned to user # Returned to user
hash*: Hash256 # hash of the transaction. hash*: Hash256 # hash of the transaction.
nonce*: uint64 # the number of transactions made by the sender prior to this one. nonce*: UInt256 # the number of transactions made by the sender prior to this one.
blockHash*: ref Hash256 # hash of the block where this transaction was in. null when its pending. blockHash*: ref Hash256 # hash of the block where this transaction was in. null when its pending.
blockNumber*: ref BlockNumber # block number where this transaction was in. null when its pending. blockNumber*: ref BlockNumber # block number where this transaction was in. null when its pending.
transactionIndex*: ref int64 # integer of the transactions index position in the block. null when its pending. transactionIndex*: ref int64 # integer of the transactions index position in the block. null when its pending.
source*: EthAddress # address of the sender. source*: EthAddress # address of the sender.
to*: ref EthAddress # address of the receiver. null when its a contract creation transaction. to*: ref EthAddress # address of the receiver. null when its a contract creation transaction.
value*: int64 # value transferred in Wei. value*: UInt256 # value transferred in Wei.
gasPrice*: GasInt # gas price provided by the sender in Wei. gasPrice*: GasInt # gas price provided by the sender in Wei.
gas*: GasInt # gas provided by the sender. gas*: GasInt # gas provided by the sender.
input*: Blob # the data send along with the transaction. input*: Blob # the data send along with the transaction.