ListBalances - Query All Token Balances
Retrieve all token balances for a Sui address via gRPC including multiple coin types. Essential for portfolio displays and multi-token wallets with Dwellir.
Sui RPC endpoint: endpoint URLs, plans and pricing.
Retrieve all token balances for a Sui address via gRPC including multiple coin types. Essential for portfolio displays and multi-token wallets with Dwellir.
Method Signature
- Service:
sui.rpc.v2.StateService - Method:
ListBalances - Type: Unary RPC
grpcurl \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"owner": "0x0",
"page_size": 2
}' \
api-sui-mainnet-full.n.dwellir.com:443 \
sui.rpc.v2.StateService/ListBalancesUsage notes
The response contains balances, not result. Continue with next_page_token while keeping the owner and page size unchanged.
Related resources
GetCoinInfo
Retrieve comprehensive metadata for Sui coin types including name, symbol, decimals, and supply information via gRPC. Essential for token displays and DeFi applications with Dwellir.
ListDynamicFields
Retrieve dynamic fields attached to Sui objects via gRPC with pagination support. Essential for exploring extensible objects and collections with Dwellir.