@softseco/arcantis - v1.0.0-rc.3
    Preparing search index...

    Type Alias CloseAccountInput

    CloseAccountInput: SendOptions & {
        destination?: Address;
        keys?: ConfidentialKeypairs;
        mint: Address;
        owner: TransactionSigner;
        payer: TransactionSigner;
        programAddress?: Address;
        rpc: Rpc<SolanaRpcApi>;
        rpcSubscriptions: RpcSubscriptions<SolanaRpcSubscriptionsApi>;
        token?: Address;
    }

    Type Declaration

    • Optionaldestination?: Address

      Where the rent deposit goes (defaults to the owner).

    • Optionalkeys?: ConfidentialKeypairs

      The owner's keys from deriveConfidentialKeys; skips the message signature.

    • mint: Address
    • owner: TransactionSigner

      Owner of the token account: signs the close, and the key-derivation message unless keys is given.

    • payer: TransactionSigner

      Pays the transaction fee.

    • OptionalprogramAddress?: Address

      Token program. Default: Token-2022.

    • rpc: Rpc<SolanaRpcApi>

      RPC client, e.g. createSolanaRpc(url).

    • rpcSubscriptions: RpcSubscriptions<SolanaRpcSubscriptionsApi>

      Used to confirm the transaction.

    • Optionaltoken?: Address

      Token account to close (defaults to the owner's ATA).