diff --git a/nimbus/rpc/rpc_types.nim b/nimbus/rpc/rpc_types.nim index f715cb20b..3bf6002b9 100644 --- a/nimbus/rpc/rpc_types.nim +++ b/nimbus/rpc/rpc_types.nim @@ -24,9 +24,9 @@ type to*: EthAddressStr # (optional when creating new contract) the address the transaction is directed to. gas*: GasInt # (optional, default: 90000) integer of the gas provided for the transaction execution. It will return unused gas. gasPrice*: GasInt # (optional, default: To-Be-Determined) integer of the gasPrice used for each paid gas. - value*: int # (optional) integer of the value sent with this transaction. + value*: UInt256 # (optional) integer of the value sent with this transaction. data*: EthHashStr # TODO: Support more data. The compiled code of a contract OR the hash of the invoked method signature and encoded parameters. For details see Ethereum Contract ABI. - nonce*: int # (optional) integer of a nonce. This allows to overwrite your own pending transactions that use the same nonce + nonce*: AccountNonce # (optional) integer of a nonce. This allows to overwrite your own pending transactions that use the same nonce EthCall* = object # Parameter from user @@ -34,7 +34,7 @@ type to*: EthAddressStr # The address the transaction is directed to. gas*: GasInt # (optional) Integer of the gas provided for the transaction execution. eth_call consumes zero gas, but this parameter may be needed by some executions. gasPrice*: GasInt # (optional) Integer of the gasPrice used for each paid gas. - value*: int # (optional) Integer of the value sent with this transaction. + value*: UInt256 # (optional) Integer of the value sent with this transaction. data*: EthHashStr # (optional) Hash of the method signature and encoded parameters. For details see Ethereum Contract ABI. ## A block object, or null when no block was found