Get Contract Results
Returns a list of all ContractResults for a contract's function executions.
This method will use 20 Compute Units.
Returns a list of all ContractResults for a contract's function executions.
Path parameters
contractIdOrAddressstringRequiredPattern:
The ID or hex encoded EVM address (with or without 0x prefix) associated with this contract.
^(\d{1,10}\.){0,2}(\d{1,10}|(0x)?[A-Fa-f0-9]{40})$Query parameters
block.hashstringOptionalExample:
The block's hash
{"summary":"--","value":""}Pattern: ^(eq:)?(0x)?([0-9A-Fa-f]{64}|[0-9A-Fa-f]{96})$block.numberstringOptionalExample:
The block's number
{"summary":"--","value":""}Pattern: ^(eq:)?(\d{1,19}|0x[a-fA-f0-9]+)$fromstringOptionalPattern:
Account ID or EVM address executing the contract
^\d{1,10}\.\d{1,10}\.\d{1,10}|(0x)?[A-Fa-f0-9]{40}$internalbooleanOptionalDefault:
Whether to include child transactions or not
falseExample: truelimitinteger · int32 · min: 1 · max: 100OptionalDefault:
The maximum number of items to return
25Example: 2orderundefined · enumOptionalDefault:
The order in which items are listed
descExample: ascPossible values: timestampstring[]OptionalExample:
The consensus timestamp in seconds.nanoseconds format with an optional comparison operator
{"summary":"--","value":""}transaction.indexinteger · int32OptionalExample:
The transaction index in the block
1Responses
200
OK
application/json
400
Invalid parameter
application/json
get
/api/v1/contracts/{contractIdOrAddress}/resultsLast updated
Was this helpful?