Get contract package fungible token ownership

Get contract package fungible token ownership

GET /contract-packages/{contract_package_hash}/ft-token-ownership

Query params

None

Sorting

PropertyDescription

balance

Sort ownerships by balance

Optional properties

PropertyTypeDescription

contract_package

Fungible contract package

account_info

Owner account info

centralized_account_info

Owner centralized account info

cspr_name

string

Owner account CSPR.name

Response

PaginatedResponse<FTOwnership>

Example

curl -X 'GET' \
  'https://api.testnet.cspr.cloud/contract-packages/000f00b1c6b691b47c1006730bd39812c598f4660e2420a5f5e2f9106865fed1/ft-token-ownership' \
  -H 'accept: application/json' \
  -H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
  "data": [
    {
      "balance": "999992019999999999690000000",
      "contract_package_hash": "000f00b1c6b691b47c1006730bd39812c598f4660e2420a5f5e2f9106865fed1",
      "owner_hash": "d0bc9ca1353597c4004b8f881b397a89c1779004f5e547e04b57c2e7967c6269",
      "owner_type": 0
    }
  ],
  "item_count": 1,
  "page_count": 1
}

Last updated