@lightprotocol/compressed-token - v0.23.3
    Preparing search index...

    Function loadAta

    • Load token balances into a light-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

      • Optionaldecimals: number

      Returns Promise<string | null>

      Transaction signature, or null if nothing to load