Function createRevokeInstruction

  • Construct a Revoke instruction

    Parameters

    • account: PublicKey

      Address of the token account

    • owner: PublicKey

      Owner of the account

    • multiSigners: (PublicKey | Signer)[] = []

      Signing accounts if owner is a multisig

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc