Accounts
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
can be block number or ID. best block is assumed if omitted.
OK
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
can be block number or ID. best block is assumed if omitted.
amount of token to be transferred
input data for contract call
max allowed gas for execution
absolute gas price
caller address (msg.sender)
OK
to simulate contract deployment without sending transaction to block chain.
It's useful to estimate gas usage and contract deployment result of a clause.
TIPS:
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 deployed
can be block number or ID. best block is assumed if omitted.
amount of token to be transferred
input data for contract call
max allowed gas for execution
absolute gas price
caller address (msg.sender)
OK