Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt

Use this file to discover all available pages before exploring further.

Check a wallet balance

The balance endpoint returns current token balances for a managed wallet or child address. Balances are retrieved in real time from the blockchain RPC.
Dashboard support for viewing wallet balances is coming soon. Use the SDK or cURL to query balances.

Response fields

FieldTypeDescription
tokenSymbolstringToken ticker, e.g. "USDC", "USDT"
tokenAddressstringThe ERC-20 contract address for this token
rawBalancestringBalance in token base units (e.g. "10500000" for 10.5 USDC with 6 decimals)
formattedBalancestringHuman-readable balance with decimal point (e.g. "10.50")
chainstringChain name (e.g. "base")
chainIdnumberNumeric chain ID
decimalsnumberToken decimals (USDC: 6, most others: 18)
An empty array means the wallet has not yet received any funds, or the supported tokens haven’t been sent.

Parameters

ParameterTypeRequiredDescription
walletIdstringYesThe wallet ID (mwt_...) or child address ID (caddr_...)
walletTypestringYes"master" or "child"

What an empty balance means

If balances is an empty array:
  • The wallet address has not received any funds yet
  • Or funds were sent in a token not listed in supportedTokens
  • Or the RPC is temporarily unable to retrieve the balance
To fund a wallet, send tokens to the address field of the wallet object.

Next steps