Documentation
    Preparing search index...
    • Retrieves all coins owned by a user address

      This function fetches all coin objects owned by a specific address from the Sui blockchain. It supports filtering by coin type and handles pagination automatically to retrieve all coins.

      Parameters

      • address: string

        User wallet address

      • Optionaloptions: Partial<{ coinType?: string } & SuiClientOption>

        Optional parameters including coin type filter and client options

        • coinType - If specified, retrieves only coins of this type
        • client - If provided, uses this SuiClient instance instead of the default client

      Returns Promise<CoinStruct[]>

      Promise<CoinStruct[]> - Array of coin objects owned by the address