@lightprotocol/compressed-token - v0.23.0-beta.8
    Preparing search index...

    Function loadAta

    • Load token balances into a c-token ATA.

      Parameters

      • rpc: Rpc

        RPC connection

      • ata: PublicKey

        Associated token address

      • owner: Signer

        Owner of the tokens (signer)

      • mint: PublicKey

        Mint public key

      • Optionalpayer: Signer

        Fee payer (signer, defaults to owner)

      • OptionalconfirmOptions: ConfirmOptions

        Optional confirm options

      • OptionalinterfaceOptions: InterfaceOptions

        Optional interface options

      Returns Promise<string | null>

      Transaction signature, or null if nothing to load