Account Balances

An accounts balance can be queried at anytime. This useful for front end display or checking before an actionable item is going to take place:

GET /api/trust/v1/custodial-accounts/{custodialAccountId}/balances

// response:
{
  "data": [
    {
            "assetType": "fiatCurrency",
            "assetFiatType": "usd",
            "disbursable": 525.000000000000000000,
            "locked": 0.000000000000000000,
            "pending": 0.000000000000000000,
            "total": 525.000000000000000000,
            "subBalances": {
                "pendingFromTrade": 0.000000000000000000,
                "lockedPendingFromTrade": 0.000000000000000000
            }
  ]
}
KeyDescription
disbursableFiat or crypto amount that can be withdrawn or acted upon at a time.
lockedFiat or crypto balance that is not available for activity to the user because it is pending another activity
pendingFiat or crypto balance that is pending settlement or transfer (locked amount)
totalFiat or crypto amount that might have pending activity on the account

Crypto Decimal Precision

AssetPrecision
AAVE:Mainnet18
ADA:CardanoMainnet6
ALGO:AlgorandMainnet6
APE:Mainnet18
ATOM:CosmosHub6
AVAX:AvalancheMainnet18
AXS:Mainnet18
BAT:Mainnet18
BCH:BCHMainnet8
BTC:BitcoinMainnet8
COMP:Mainnet18
CRV:Mainnet18
DAI:Mainnet18
DOGE:DogeMainnet8
DOT:PolkadotMainnet10
ENJ:Mainnet18
EOS:EosMainnet4
ETH:ArbitrumMainnet18
ETH:Mainnet18
Flow:FlowMainnet8
FTM:FantomMainnet18
GRT:Mainnet18
LINK:Mainnet18
LTC:LitecoinMainnet8
MANA:Mainnet18
MATIC:Mainnet18
MATIC:PolygonMainnet18
MKR:Mainnet18
NEAR:NearMainnet24
SAND:Mainnet18
SHIB:Mainnet18
SOL:SolanaMainnet9
SUSHI:Mainnet18
TRX:TronMainnet6
UNI:Mainnet18
USDC:AlgorandMainnet6
USDC:ArbitrumMainnet6
USDC:AvalancheMainnet6
USDC:FantomMainnet6
USDC:FlowMainnet6
USDC:Mainnet6
USDC:PolygonMainnet6
USDC:SolanaMainnet6
USDC:StellarMainnet7
USDC:TronMainnet6
USDT:Mainnet6
XLM:StellarMainnet7
XTZ:TezosMainnet6
YFI:Mainnet18
GALA:Mainnet8
HBAR:Hedera8
XRP:Ripple6
QNT:Mainnet18
CHZ:Mainnet18