Fetches all coins owned by a wallet address with pagination support
The Sui address of the wallet owner
Instance of SuiClient to interact with the Sui blockchain
Promise resolving to an array of Coin objects containing coin information
const walletCoins = await getWalletCoins( '0x123...', suiClient);// Returns: Array of Coin objects with coin type and balance information Copy
const walletCoins = await getWalletCoins( '0x123...', suiClient);// Returns: Array of Coin objects with coin type and balance information
This function uses pagination to handle large numbers of coins and logs coin information to the console for debugging purposes
Fetches all coins owned by a wallet address with pagination support