Get the balance of a specific token for a wallet
balance field is a raw integer string. Divide by 10^decimals to get the human-readable amount. In the example above, 15000000 / 10^6 = 15.0 USDC.externalUserId or walletPublicKey. At least one is required.Bearer token — use your secret key (sk_prod_xxx) for server-side calls, or the user's JWT for client-side calls
Your Chipi public API key (pk_xxx)
Your application's user identifier (provide this or walletPublicKey)
The wallet's public key / address (provide this or externalUserId)
The token to query Token identifier
USDC, USDC_E, USDT, DAI, ETH, STRK, SLINK, ALF, BROTHER, ARB, DOC, MXNB, WLD, WBTC, OTHER The blockchain network Blockchain network identifier
STARKNET, BASE, ARBITRUM, OPTIMISM, ROOTSTOCK, SCROLL, WORLDCHAIN Token balance
Blockchain network identifier
STARKNET, BASE, ARBITRUM, OPTIMISM, ROOTSTOCK, SCROLL, WORLDCHAIN Token identifier
USDC, USDC_E, USDT, DAI, ETH, STRK, SLINK, ALF, BROTHER, ARB, DOC, MXNB, WLD, WBTC, OTHER The token's contract address on the chain
Number of decimal places for the token
The raw balance (divide by 10^decimals for human-readable amount)