curl --request GET \
--url https://mainnet.mirrornode.hedera.com/api/v1/contracts/results{
"results": [
{
"access_list": "0xabcd",
"address": "0x25fe26adc577cc89172e6156c9e24f7b9751b762",
"amount": 10,
"block_gas_used": 2000,
"block_hash": "0x6ceecd8bb224da491",
"block_number": 10,
"bloom": "0x549358c4c2e573e02410ef7b5a5ffa5f36dd7398",
"call_result": "0x2b048531b38d2882e86044bc972e940ee0a01938",
"chain_id": "0x0127",
"contract_id": "0.0.2",
"created_contract_ids": [
"0.0.2"
],
"error_message": "Out of gas",
"failed_initcode": "0x856739",
"from": "0x0000000000000000000000000000000000001f41",
"function_parameters": "0xbb9f02dc6f0e3289f57a1f33b71c73aa8548ab8b",
"gas_consumed": 35000,
"gas_limit": 100000,
"gas_price": "0x4a817c800",
"gas_used": 80000,
"hash": "0xfebbaa29c513d124a6377246ea3506ad917d740c21a88f61a1c55ba338fc2bb1",
"max_fee_per_gas": "0x5",
"max_priority_fee_per_gas": "0x100",
"nonce": 1,
"r": "0xd693b532a80fed6392b428604171fb32fdbf953728a3a7ecc7d4062b1652c043",
"result": "SUCCESS",
"s": "0x24e9c602ac800b983b035700a14b23f78a253ab762deab5dc27e3555a750b355",
"status": 1,
"timestamp": "1586567700.453054000",
"to": "0x0000000000000000000000000000000000001f41",
"transaction_index": 1,
"type": 2,
"v": 1
}
],
"links": {
"next": null
}
}Returns a list of all ContractResults for all contract’s function executions.
curl --request GET \
--url https://mainnet.mirrornode.hedera.com/api/v1/contracts/results{
"results": [
{
"access_list": "0xabcd",
"address": "0x25fe26adc577cc89172e6156c9e24f7b9751b762",
"amount": 10,
"block_gas_used": 2000,
"block_hash": "0x6ceecd8bb224da491",
"block_number": 10,
"bloom": "0x549358c4c2e573e02410ef7b5a5ffa5f36dd7398",
"call_result": "0x2b048531b38d2882e86044bc972e940ee0a01938",
"chain_id": "0x0127",
"contract_id": "0.0.2",
"created_contract_ids": [
"0.0.2"
],
"error_message": "Out of gas",
"failed_initcode": "0x856739",
"from": "0x0000000000000000000000000000000000001f41",
"function_parameters": "0xbb9f02dc6f0e3289f57a1f33b71c73aa8548ab8b",
"gas_consumed": 35000,
"gas_limit": 100000,
"gas_price": "0x4a817c800",
"gas_used": 80000,
"hash": "0xfebbaa29c513d124a6377246ea3506ad917d740c21a88f61a1c55ba338fc2bb1",
"max_fee_per_gas": "0x5",
"max_priority_fee_per_gas": "0x100",
"nonce": 1,
"r": "0xd693b532a80fed6392b428604171fb32fdbf953728a3a7ecc7d4062b1652c043",
"result": "SUCCESS",
"s": "0x24e9c602ac800b983b035700a14b23f78a253ab762deab5dc27e3555a750b355",
"status": 1,
"timestamp": "1586567700.453054000",
"to": "0x0000000000000000000000000000000000001f41",
"transaction_index": 1,
"type": 2,
"v": 1
}
],
"links": {
"next": null
}
}Account ID or EVM address executing the contract
The block's hash. If multiple values are provided the last value will be the only value used.
The block's number
Whether to include child transactions or not
The maximum number of items to return
1 <= x <= 100The order in which items are listed
asc, desc The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator. See unixtimestamp.com for a simple way to convert a date to the 'seconds' part of the Unix time.
The transaction index in the block
x >= 0OK
Show child attributes
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 bloom filter of the contract result
"0x549358c4c2e573e02410ef7b5a5ffa5f36dd7398"
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.0.2"
The list of smart contracts that were created by the function call.
Network entity ID in the format of shard.realm.num
"0.0.2"
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.
40 - 42"0x0000000000000000000000000000000000001f41"
The hex encoded parameters passed to the function
"0xbb9f02dc6f0e3289f57a1f33b71c73aa8548ab8b"
The units of consumed gas by the EVM to execute contract
35000
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
80000
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
A Unix timestamp in seconds.nanoseconds format
"1586567700.453054000"
A network entity encoded as an EVM address in hex.
40 - 42"0x0000000000000000000000000000000000001f41"
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
Was this page helpful?