GetCoinInfo - Query Coin Metadata
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.
Sui RPC endpoint: endpoint URLs, plans and pricing.
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.
Method Signature
- Service:
sui.rpc.v2.StateService - Method:
GetCoinInfo - Type: Unary RPC
grpcurl \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"coin_type": "0x2::sui::SUI"
}' \
api-sui-mainnet-full.n.dwellir.com:443 \
sui.rpc.v2.StateService/GetCoinInfoUsage notes
Read metadata from metadata and supply information from treasury.total_supply. Treasury and regulated metadata can be absent.
Related resources
GetBalance
Query Sui coin balances efficiently using the gRPC GetBalance method. Check SUI and custom token balances with high-performance binary serialization through Dwellir's Sui infrastructure.
ListBalances
Retrieve all token balances for a Sui address via gRPC including multiple coin types. Essential for portfolio displays and multi-token wallets with Dwellir.