suix namespace.
Methods
getCoins
Returns allCoin<coin_type> objects owned by an address.
The owner’s Sui address
Optional type name for the coin (e.g.,
0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC). Defaults to 0x2::sui::SUI if not specifiedOptional paging cursor
Maximum number of items per page
Paginated coin results
getAllCoins
Returns all Coin objects owned by an address (all coin types).The owner’s Sui address
Optional paging cursor
Maximum number of items per page
Paginated results with all coins of all types
getBalance
Returns the total coin balance for one coin type, owned by the address.The owner’s Sui address
Optional type name for the coin (e.g.,
0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC). Defaults to 0x2::sui::SUI if not specifiedBalance information
getAllBalances
Returns the total coin balance for all coin types owned by the address.The owner’s Sui address
Array of balance information for each coin type
getCoinMetadata
Returns metadata (symbol, decimals, etc.) for a coin type.If the coin’s metadata was wrapped in the transaction that published its marker type, or the latest version is wrapped or deleted, it will not be found.
Type name for the coin (e.g.,
0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC)Coin metadata if found
getTotalSupply
Returns the total supply for a coin type.Type name for the coin (e.g.,
0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC)Supply information