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 15
Compute Units.
Last updated
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.
Last updated
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})$
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
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.
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 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"
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