logo
OpenapiBalance

Get NFSC balance details

API Docs with browser client
GET
/balance/details

Retrieve NFSC balances across the caller's linked wallets and supported chains. Successful rows have readStatus: ok and confirmed amounts. Unavailable rows have null amounts. When isComplete is false, the totalBalance fields are null and the knownBalance fields contain the confirmed subtotal.

Authorization

headerx-api-key<token>

Response Body

OK

application/json
  1. response
balances*array<>
isComplete*unknown
totalBalanceInUsd*number

Complete total in USD.

Range0 <= value
totalBalanceInUsdCents*number

Complete total in USD cents. May include fractions of a cent.

Range0 <= value
knownBalanceInUsd*number

Confirmed subtotal in USD.

Range0 <= value
knownBalanceInUsdCents*number

Confirmed subtotal in USD cents. May include fractions of a cent.

Range0 <= value
Example Request
curl -X GET 'https://example.com/v4/balance/details'
Example Response
{  "balances": [    {      "chainId": 0,      "chainName": "string",      "walletAddress": "string",      "rawBalance": "string",      "balanceInUsd": 0,      "balanceInUsdCents": 0,      "paymentProvider": "NFSC_BASE",      "readStatus": "ok"    }  ],  "isComplete": true,  "totalBalanceInUsd": 0,  "totalBalanceInUsdCents": 0,  "knownBalanceInUsd": 0,  "knownBalanceInUsdCents": 0}