v1

latestOpenAPI 3.0.3Apache-2.02026-07-1348142206.6 KB
contracts

List contract entities on network

Returns a list of all contract entity items on the network.

get/api/v1/contracts

Query parameters

contract.idstring

The ID of the smart contract

limitinteger

The maximum number of items to return

order'asc' | 'desc'

The order in which items are listed

Response

OK

Example response

{
  "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",
      "evm_address": "0000000000000000000000000000000000001f41",
      "expiration_timestamp": "1586567700.453054000",
      "file_id": "0.0.2",
      "memo": "contract memo",
      "nonce": 1,
      "obtainer_id": "0.0.2",
      "proxy_account_id": "0.0.2",
      "timestamp": {
        "from": "1586567700.453054000",
        "to": "1586567700.453054000"
      }
    }
  ]
}