Skip to main content

/api/v1/contracts/results REST API Endpoint

Returns a list of all ContractResults for all contract's function executions.

Updated on
Dec 18, 2024

Query Parameters

block.hash
string

The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator

block.number
string

The block's number

from
string

The account ID or EVM address executing the contract

internal
boolean

Whether to include child transactions or not

limit
integer

The maximum number of items to return

order
string

The order in which items are listed (asc or desc)

timestamp
array

The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator

transaction.index
integer

The transaction index in the block

Returns

results
array

An array of contract result objects

access_list
array

An array of access list objects for the transaction. This field is empty in all environments until consensus nodes add access list support

address
string

The address that the transaction accesses

storage_keys
array

The storage slot keys the transaction accesses for the address

address
string

The address involved in the contract execution

amount
integer | null

The amount involved in the transaction

block_gas_used
integer

The amount of gas used by the block containing the transaction

block_hash
string

The hash of the block containing the transaction

block_number
integer

The number of the block containing the transaction

bloom
string

The bloom filter for the logs generated by the transaction

call_result
string

The result of the contract call

chain_id
string

The ID of the blockchain network

contract_id
string

The unique identifier of the contract

created_contract_ids
array

A list of IDs of contracts created during the execution

error_message
string | null

The error message, if any, generated during execution

failed_initcode
string | null

The initialization code that failed, if any

from
string

The address that initiated the transaction

function_parameters
string

The parameters provided to the contract function

gas_consumed
integer | null

The amount of gas consumed by the transaction

gas_limit
integer

The maximum amount of gas that could be used by the transaction

gas_price
string

The price per unit of gas

gas_used
integer | null

The actual amount of gas used by the transaction

hash
string

The hash of the transaction

max_fee_per_gas
string | null

The maximum fee per unit of gas willing to be paid

max_priority_fee_per_gas
string | null

The maximum priority fee per unit of gas willing to be paid

nonce
integer | null

The nonce value for the transaction

r
string | null

The first part of the ECDSA signature

result
string

The result of the transaction execution

s
string | null

The second part of the ECDSA signature

status
string

The status of the transaction

timestamp
string

The timestamp of the transaction

to
string

The recipient address of the transaction

transaction_index
integer

The index of the transaction within the block

type
integer

The type of the transaction

v
integer | null

The recovery id of the ECDSA signature

links
object

An object containing pagination links

next
string | null

A link to the next set of results, if available

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free