Get the contract result from a contract on the network for a given transactionId or ethereum transaction hash.
This method will use 15
Compute Units.
Returns a single ContractResult for a contract's function executions for a given transactionId or ethereum transaction hash.
Transaction Id or a 32 byte hash with optional 0x prefix
^(0x)?[A-Fa-f0-9]{64}|(\d{1,10})\.(\d{1,10})\.(\d{1,10})-(\d{1,19})-(\d{1,9})$
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.
1
OK
The hex encoded access_list of the wrapped ethereum transaction
"0xabcd"
The hex encoded evm address of contract
"0x25fe26adc577cc89172e6156c9e24f7b9751b762"
The number of tinybars sent to the function
10
The total amount of gas used in the block
2000
The hex encoded block (record file chain) hash
"0x6ceecd8bb224da491"
The block height calculated as the number of record files starting from zero since network start.
10
"0x549358c4c2e573e02410ef7b5a5ffa5f36dd7398"
The hex encoded bloom filter of the contract result
The hex encoded result returned by the function
"0x2b048531b38d2882e86044bc972e940ee0a01938"
The hex encoded chain_id of the wrapped ethereum transaction
"0x0127"
Network entity ID in the format of shard.realm.num
"0.1.2"
^\d{1,10}\.\d{1,10}\.\d{1,10}$
The list of smart contracts that were created by the function call.
Network entity ID in the format of shard.realm.num
"0.1.2"
^\d{1,10}\.\d{1,10}\.\d{1,10}$
The message when an error occurs during smart contract execution
"Out of gas"
The hex encoded initcode of a failed contract create transaction
"0x856739"
A network entity encoded as an EVM address in hex.
"0000000000000000000000000000000000001f41"
^(0x)?[A-Fa-f0-9]{40}$
The hex encoded parameters passed to the function
"0xbb9f02dc6f0e3289f57a1f33b71c73aa8548ab8b"
The maximum units of gas allowed for contract execution
100000
The hex encoded gas_price of the wrapped ethereum transaction
"0x4a817c800"
The units of gas used to execute contract
1000
A hex encoded 32 byte hash and it is only populated for Ethereum transaction case
"0xfebbaa29c513d124a6377246ea3506ad917d740c21a88f61a1c55ba338fc2bb1"
The hex encoded max_fee_per_gas of the wrapped ethereum transaction
"0x5"
The hex encoded max_priority_fee_per_gas of the wrapped ethereum transaction
"0x100"
The nonce of the wrapped ethereum transaction
1
The hex encoded signature_r of the wrapped ethereum transaction
"0xd693b532a80fed6392b428604171fb32fdbf953728a3a7ecc7d4062b1652c043"
The result of the transaction
"SUCCESS"
The hex encoded signature_s of the wrapped ethereum transaction
"0x24e9c602ac800b983b035700a14b23f78a253ab762deab5dc27e3555a750b355"
The status of the transaction, 0x1 for a SUCCESS transaction and 0x0 for all else
1
"1586567700.453054000"
^\d{1,10}(\.\d{1,9})?$
A network entity encoded as an EVM address in hex.
"0x0000000000000000000000000000000000001f41"
^(0x)?[A-Fa-f0-9]{40}$
The position of the transaction in the block
1
The type of the wrapped ethereum transaction, 0 (Pre-Eip1559) or 2 (Post-Eip1559)
2
The recovery_id of the wrapped ethereum transaction
1
The hex encoded access_list of the wrapped ethereum transaction
"0xabcd"
The hex encoded evm address of contract
"0x25fe26adc577cc89172e6156c9e24f7b9751b762"
The total amount of gas used in the block
2000
The hex encoded block (record file chain) hash
"0x6ceecd8bb224da491"
The block height calculated as the number of record files starting from zero since network start.
10
The hex encoded chain_id of the wrapped ethereum transaction
"0x0127"
The hex encoded initcode of a failed contract create transaction
"0x856739"
The hex encoded gas_price of the wrapped ethereum transaction
"0x4a817c800"
The hex encoded transaction hash
"0x3531396130303866616264653464"
The hex encoded EVM address of the contract
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
^0x[0-9A-Fa-f]{40}$
"0x549358c4c2e573e02410ef7b5a5ffa5f36dd7398"
The hex encoded bloom filter of the contract log
Network entity ID in the format of shard.realm.num
"0.1.2"
^\d{1,10}\.\d{1,10}\.\d{1,10}$
The hex encoded data of the contract log
"0x00000000000000000000000000000000000000000000000000000000000000fa"
The index of the contract log in the chain of logs for an execution
0
A list of hex encoded topics associated with this log event
The hex encoded max_fee_per_gas of the wrapped ethereum transaction
"0x5"
The hex encoded max_priority_fee_per_gas of the wrapped ethereum transaction
"0x100"
The nonce of the wrapped ethereum transaction
1
The hex encoded signature_r of the wrapped ethereum transaction
"0xd693b532a80fed6392b428604171fb32fdbf953728a3a7ecc7d4062b1652c043"
The hex encoded signature_s of the wrapped ethereum transaction
"0x24e9c602ac800b983b035700a14b23f78a253ab762deab5dc27e3555a750b355"
A network entity encoded as an EVM address in hex.
"0000000000000000000000000000000000001f41"
^(0x)?[A-Fa-f0-9]{40}$
Network entity ID in the format of shard.realm.num
"0.1.2"
^\d{1,10}\.\d{1,10}\.\d{1,10}$
The hex encoded storage slot changed.
"0x00000000000000000000000000000000000000000000000000000000000000fa"
The hex encoded value read from the storage slot.
"0x97c1fc0a6ed5551bc831571325e9bdb365d06803100dc20648640ba24ce69750"
The hex encoded value written to the slot. null
implies no value written.
"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"
The position of the transaction in the block
1
The type of the wrapped ethereum transaction, 0 (Pre-Eip1559) or 2 (Post-Eip1559)
2
The recovery_id of the wrapped ethereum transaction
1