Execute bytecodes
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
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:
datain request body is the bytecodes of a contractdatain response body is the runtime bytecodes assigned to account which the contract to be deployed
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
revisionstringquerycan be block number or ID. best block is assumed if omitted.
Response
200OK
OK