Retrieve the native or token balance for a wallet.
EVM wallets: Provide chainId (to use the built-in Alchemy RPC) or rpcUrl (to use a custom RPC).
Optionally provide tokenAddress to query an ERC-20 token balance instead of the native balance.
Solana wallets: Optionally provide network (SOLANA or SOLANA_DEVNET; defaults based on environment).
Provide tokenAddress (SPL mint address) to query an SPL token balance instead of native SOL.
Not supported for COSMOS or STELLAR wallets.
Your partner secret key (server-side only)
UUID for request tracing. Para returns one if omitted.
Wallet ID
"0a1b2c3d-4e5f-6789-abcd-ef0123456789"
EVM chain ID. Required for EVM wallets when rpcUrl is not provided.
"1"
Custom RPC URL (URL-encoded). If provided, overrides chainId for EVM wallets.
Token contract address. EVM: ERC-20 contract. Solana: SPL mint address. Omit for native balance.
Solana network. In production, defaults to SOLANA. In beta, only SOLANA_DEVNET is allowed (and is the default).
SOLANA, SOLANA_DEVNET Wallet balance
Human-readable balance in standard units (e.g. ETH, SOL)
"1.5"
Token symbol (e.g. ETH, SOL, USDC) or mint/contract address for tokens without on-chain symbol
"ETH"
Balance in smallest unit (wei for ETH, lamports for SOL, raw token units for ERC-20/SPL)
"1500000000000000000"