@lightprotocol/compressed-token - v0.22.1-alpha.2
    Preparing search index...

    Function revoke

    • Revoke one or more delegated token accounts

      Parameters

      • rpc: Rpc

        Rpc connection to use

      • payer: Signer

        Fee payer

      • accounts: ParsedTokenAccount[]

        Delegated compressed token accounts to revoke

      • owner: Signer

        Owner of the compressed tokens

      • OptionalconfirmOptions: ConfirmOptions

        Options for confirming the transaction

      Returns Promise<string>

      Signature of the confirmed transaction