@softseco/confidential-transfers - v3.3.0
    Preparing search index...

    Type Alias ConfigureAccountInput

    ConfigureAccountInput: SendOptions & {
        keys?: ConfidentialKeypairs;
        maximumPendingBalanceCreditCounter?: number | bigint;
        mint: Address;
        owner: TransactionSigner;
        payer: TransactionSigner;
        programAddress?: Address;
        rpc: Rpc<SolanaRpcApi>;
        rpcSubscriptions: RpcSubscriptions<SolanaRpcSubscriptionsApi>;
    }

    Type Declaration

    • Optionalkeys?: ConfidentialKeypairs

      The owner's keys from deriveConfidentialKeys, to configure the account without asking the wallet to sign the key message again.

    • OptionalmaximumPendingBalanceCreditCounter?: number | bigint

      How many incoming deposits and transfers the account accepts before applyPendingBalance must be called. Default: 65536.

    • mint: Address

      A mint already configured for confidential transfers.

    • owner: TransactionSigner

      The token-account owner. Signs the configure instruction, and also the key-derivation message unless keys is given (a keypair signer, or a wallet that supports signMessage).

    • payer: TransactionSigner

      Pays transaction fees and account rent.

    • OptionalprogramAddress?: Address

      Token program. Default: Token-2022.

    • rpc: Rpc<SolanaRpcApi>

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

    • rpcSubscriptions: RpcSubscriptions<SolanaRpcSubscriptionsApi>

      Used to confirm the transaction(s).