Get contract entry points

Get contract entry points by contract hash

GET /contracts/{contract_hash}/entry-points

Query params

None

Sorting

None

Optional properties

None

Response

PaginatedResponse<ContractEntryPoint>

Example

curl -X 'GET' \
  'https://api.testnet.cspr.cloud/contracts/93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2/entry-points' \
  -H 'accept: application/json' \
  -H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
  "data": [
    {
      "id": 11,
      "contract_hash": "93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2",
      "contract_package_hash": "e375d42c29c0e4b2baefa63cf2d70af34439eda851e08129d8515515d63bd6a9",
      "name": "activate_bid",
      "action_type_id": null
    },
    {
      "id": 12,
      "contract_hash": "93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2",
      "contract_package_hash": "e375d42c29c0e4b2baefa63cf2d70af34439eda851e08129d8515515d63bd6a9",
      "name": "add_bid",
      "action_type_id": null
    },
    ...
    {
      "id": 19,
      "contract_hash": "93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2",
      "contract_package_hash": "e375d42c29c0e4b2baefa63cf2d70af34439eda851e08129d8515515d63bd6a9",
      "name": "undelegate",
      "action_type_id": null
    }
  ],
  "item_count": 11,
  "page_count": 2
}

Last updated