curl --request GET \
--url https://mainnet.mirrornode.hedera.com/api/v1/contracts{
"contracts": [
{
"admin_key": {
"_type": "ProtobufEncoded",
"key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
},
"auto_renew_account": "0.0.2",
"auto_renew_period": 7776000,
"contract_id": "0.0.2",
"created_timestamp": "1586567700.453054000",
"deleted": false,
"evm_address": "0000000000000000000000000000000000001f41",
"expiration_timestamp": "1586567700.453054000",
"file_id": "0.0.2",
"max_automatic_token_associations": 123,
"memo": "contract memo",
"obtainer_id": "0.0.2",
"permanent_removal": true,
"proxy_account_id": "0.0.2",
"timestamp": {
"from": "1586567700.453054000",
"to": "1586567700.453054000"
}
}
],
"links": {
"next": null
}
}Returns a list of all contract entity items on the network.
curl --request GET \
--url https://mainnet.mirrornode.hedera.com/api/v1/contracts{
"contracts": [
{
"admin_key": {
"_type": "ProtobufEncoded",
"key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
},
"auto_renew_account": "0.0.2",
"auto_renew_period": 7776000,
"contract_id": "0.0.2",
"created_timestamp": "1586567700.453054000",
"deleted": false,
"evm_address": "0000000000000000000000000000000000001f41",
"expiration_timestamp": "1586567700.453054000",
"file_id": "0.0.2",
"max_automatic_token_associations": 123,
"memo": "contract memo",
"obtainer_id": "0.0.2",
"permanent_removal": true,
"proxy_account_id": "0.0.2",
"timestamp": {
"from": "1586567700.453054000",
"to": "1586567700.453054000"
}
}
],
"links": {
"next": null
}
}The ID of the smart contract
The maximum number of items to return
1 <= x <= 100The order in which items are listed
asc, desc OK
Show child attributes
The public key which controls access to various network entities.
Network entity ID in the format of shard.realm.num
"0.0.2"
7776000
Network entity ID in the format of shard.realm.num
"0.0.2"
A Unix timestamp in seconds.nanoseconds format
"1586567700.453054000"
false
A network entity encoded as an EVM address in hex.
40 - 42"0000000000000000000000000000000000001f41"
A Unix timestamp in seconds.nanoseconds format
"1586567700.453054000"
Network entity ID in the format of shard.realm.num
"0.0.2"
"contract memo"
Network entity ID in the format of shard.realm.num
"0.0.2"
Network entity ID in the format of shard.realm.num
"0.0.2"
Was this page helpful?