Execute account code
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
to simulate contract method call, without sending transaction to block chain.
It's useful to estimate gas usage and execution result of a clause.
Body
application/json
arguments and environment
valuestringamount of token to be transferred
datastringinput data for contract call
gasinteger<uint64>max allowed gas for execution
gasPricestringabsolute gas price
callerstringcaller address (msg.sender)
Parameters
addressstring<bytes20>requiredpathaddress of account
revisionstringquerycan be block number or ID. best block is assumed if omitted.
Response
200OK
OK