Skip to main content
GET
/
api
/
v1
/
contracts
List contract entities on 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,
      "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
  }
}

Query Parameters

contract.id
string

The ID of the smart contract

limit
integer
default:25

The maximum number of items to return

Required range: 1 <= x <= 100
order
enum<string>
default:desc

The order in which items are listed

Available options:
asc,
desc

Response

OK

contracts
object[]