Wallet balances
/wallet/balancesapi_keySpendable ERG, ERG held for transactions in flight, and every token the wallet holds, each marked verified or not.
nanoErgs is the ERG available to spend right now: unreserved plain wallet boxes. Block rewards count only once claimed; see GET /wallet/rewards. A verified token's name, ticker and decimals come from the client's verified list. Any other token's come from the node's token index, where whoever minted the token chose them, so a token named like a verified one is told apart only by verified.
Responses
200Current wallet balancesWalletBalances▶
primaryAddressstringrequiredThe wallet's main P2PK address, where change and swept rewards land
nanoErgsstringrequiredUnreserved ERG available to spend right now, unclaimed coinbases excluded. The figure a join quote's
affordNowis decided against. Decimal string.reservedBoxesinteger · int32requiredWallet boxes held for transactions in flight or for this miner's own blocks. They are left out of
nanoErgs.reservedNanoErgsstringrequiredValue of the held boxes this client has descriptors for, in nanoERG
▶
tokensWalletToken[]requiredEvery token the wallet holds, including LIT.
tokenIdstringrequirednamestringtickerstringShort symbol. Verified tokens only.
decimalsinteger · int32amountstringrequiredRaw token units held. Decimal string.
verifiedbooleanrequiredWhether the token is on the client's verified list
403Missing or wrong api_keyApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
503Node or wallet unavailable. It may be locked. Retry.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
defaultErrorApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description