includes balance
, energy
and hasCode
, by account address
. An account with hasCode
be true is a contract.
Historical account detail can be queried by specifying revision
query string.
address of account
"0x5034aa590125b64023a0262112b98d72e3c8e40e"
OK
balance in unit WEI, presented with hex string
"0x47ff1f90327aa0f8e"
energy in uint WEI, presented with hex string
"0xcf624158d591398"
whether the account has code
false
to simulate contract method call, without sending transaction to block chain.
It's useful to estimate gas usage and execution result of a clause.
address of account
"0x5034aa590125b64023a0262112b98d72e3c8e40e"
arguments and environment
amount of token to be transferred
input data for contract call
max allowed gas for execution
absolute gas price
caller address (msg.sender)
OK
the output data
"0x103556a73c10e38ffe2fc4aa50fc9d46ad0148f07e26417e117bd1ece9d948b5"
gas used during execution
21000
false
""
to simulate contract deployment without sending transaction to block chain.
It's useful to estimate gas usage and contract deployment result of a clause.
data
in request body is the bytecodes of a contractdata
in response body is the runtime bytecodes assigned to account which the contract to be deployedarguments and environment
amount of token to be transferred
input data for contract call
max allowed gas for execution
absolute gas price
caller address (msg.sender)
OK
the output data
"0x103556a73c10e38ffe2fc4aa50fc9d46ad0148f07e26417e117bd1ece9d948b5"
gas used during execution
21000
false
""