Skip to main content
POST
/
v3
/
api
/
ase
/
staking
/
balances
Get Staking Balances
curl --request POST \
  --url https://api.custody.api-zodia.io/v3/api/ase/staking/balances \
  --header 'Content-Type: application/json' \
  --header 'submitter-id: <submitter-id>' \
  --data '
{
  "walletId": "ZTEST-NOBENF-849P8XKKAO"
}
'
{
  "walletId": "ZTEST-NOBENF-849P8XKKAO",
  "currency": "TON",
  "currencyId": "ton-ton",
  "availableBalance": {
    "amount": "6,41400",
    "amountLedger": "641400",
    "amountFiat": "32,07"
  },
  "totalStakeBalance": {
    "amount": "6,41400",
    "amountLedger": "641400",
    "amountFiat": "32,07"
  },
  "totalRewardBalance": {
    "amount": "6,41400",
    "amountLedger": "641400",
    "amountFiat": "32,07"
  },
  "totalDeactivatingBalance": {
    "amount": "6,41400",
    "amountLedger": "641400",
    "amountFiat": "32,07"
  },
  "totalWithdrawalBalance": {
    "amount": "6,41400",
    "amountLedger": "641400",
    "amountFiat": "32,07"
  },
  "balanceBreakdown": [
    {
      "address": "Ef_zhiLfydITUXevx3NOkBKyjczc565UvqwkWp07os7EwZMa",
      "stakeBalance": {
        "amount": "6,41400",
        "amountLedger": "641400",
        "amountFiat": "32,07"
      },
      "rewardBalance": {
        "amount": "6,41400",
        "amountLedger": "641400",
        "amountFiat": "32,07"
      },
      "deactivatingBalance": {
        "amount": "6,41400",
        "amountLedger": "641400",
        "amountFiat": "32,07"
      },
      "withdrawalAt": "<string>",
      "withdrawalBalance": {
        "amount": "6,41400",
        "amountLedger": "641400",
        "amountFiat": "32,07"
      }
    }
  ]
}

Headers

submitter-id
string
required

Email of API user submitting the request

Example:

"api-maker@zodia.io"

Body

application/json
walletId
string
required

ID of the wallet

Example:

"ZTEST-NOBENF-849P8XKKAO"

Response

OK

walletId
string
required

ID of the wallet

Example:

"ZTEST-NOBENF-849P8XKKAO"

currency
string

currency of the transfer

Example:

"TON"

currencyId
string

ID of the currency

Example:

"ton-ton"

availableBalance
object
totalStakeBalance
object
totalRewardBalance
object
totalDeactivatingBalance
object
totalWithdrawalBalance
object
balanceBreakdown
object[]