• Creates a transaction to close a token account.

    Returns

    • A Promise that resolves to the transaction to close the token account.

    Parameters

    • senderAccount: PublicKey

      The public key of the sender's account.

    • senderTokenAccount: PublicKey

      The public key of the sender's token account to be closed.

    Returns Promise<Transaction>

Generated using TypeDoc