Get Contract Result by ID or Hash

Get the contract result from a contract on the network for a given transactionId or ethereum transaction hash.

This method will use 20 Compute Units.


Get the contract result from a contract on the network for a given transactionId or ethereum transaction hash

get

Returns a single ContractResult for a contract's function executions for a given transactionId or ethereum transaction hash.

Path parameters
transactionIdOrHashstringRequired

Transaction Id or a 32 byte hash with optional 0x prefix

Example: {"value":"0.0.10-1234567890-000000000"}Pattern: ^(0x)?[A-Fa-f0-9]{64}|(\d{1,10})\.(\d{1,10})\.(\d{1,10})-(\d{1,19})-(\d{1,9})$
Query parameters
nonceinteger · int32Optional

Filter the query result by the nonce of the transaction. A zero nonce represents user submitted transactions while a non-zero nonce is generated by main nodes. The filter honors the last value. Default is 0 when not specified.

Default: 0Example: 1
Responses
get
/api/v1/contracts/results/{transactionIdOrHash}

Last updated

Was this helpful?