Get account fungible token ownership

Get accounts fungible token ownership by identifier (public key or account hash)

GET /accounts/{account_identifier}/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/accounts/d0bc9ca1353597c4004b8f881b397a89c1779004f5e547e04b57c2e7967c6269/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
    },
    {
      "balance": "99999999999999999000",
      "contract_package_hash": "018c20d50c52518b6d9c0390b1d2298e3638507d8fe9694d44b89b6af23c703d",
      "owner_hash": "d0bc9ca1353597c4004b8f881b397a89c1779004f5e547e04b57c2e7967c6269",
      "owner_type": 0
    },
    ...
    {
      "balance": "1000000000000000000000000000018415616000000000000000000",
      "contract_package_hash": "155e3d29b6eea4df9e2159c5e91cf325b94c3460224ea3c789dd70772a9048d6",
      "owner_hash": "d0bc9ca1353597c4004b8f881b397a89c1779004f5e547e04b57c2e7967c6269",
      "owner_type": 0
    }
  ],
  "item_count": 176,
  "page_count": 18
}

Last updated