Skip to main content

/api/v1/contracts/{contractIdOrAddress}/results/{timestamp} REST API Endpoint

Returns a single ContractResult for a contract's function executions at a specific timestamp

Updated on
Aug 23, 2024

/api/v1/contracts/{contractIdOrAddress}/results/{timestamp} REST API Endpoint

Please note that this method is currently available only on the testnet and will be accessible on the mainnet soon.

Path Parameters

contractIdOrAddress
string
REQUIRED
The ID or hex encoded EVM address (with or without 0x prefix) associated with this contract
timestamp
string
REQUIRED
The Unix timestamp in seconds.nanoseconds format, the timestamp at which the associated transaction reached consensus

Returns

access_list
string
The access list for the transaction
address
string
The address involved in the contract execution
amount
integer
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
string
A list of IDs of contracts created during the execution
error_message
string
The error message, if any, generated during execution
failed_initcode
string
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
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
The actual amount of gas used by the transaction
hash
string
The hash of the transaction
max_fee_per_gas
string
The maximum fee per unit of gas willing to be paid
max_priority_fee_per_gas
string
The maximum priority fee per unit of gas willing to be paid
nonce
integer
The nonce value for the transaction
r
string
The first part of the ECDSA signature
result
string
The result of the transaction execution
s
string
The second part of the ECDSA signature
status
integer
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
The recovery id of the ECDSA signature
logs
array
An array of objects, each representing a log entry generated by a contract execution
address
string
The address of the contract that generated the log
bloom
object
The bloom filter for the log entry, used for quick searching
contract_id
string
The unique identifier of the contract that generated the log
data
string
The data field of the log entry
index
integer
The index position of the log within the transaction
topics
string
An array of indexed topics associated with the log entry
state_changes
array
An array of objects, each representing a state change resulting from a contract execution
address
string
The address of the contract where the state change occurred
contract_id
string
The unique identifier of the contract that caused the state change
slot
string
The specific storage slot in the contract's storage that was changed
value_read
string
The value read from the storage slot before the change
value_written
string
The new value written to the storage slot
Request
1
curl 'https://docs-demo.hedera-mainnet.quiknode.pro/api/v1/contracts/0.0.4651164/results/1722610842.090385003'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free