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

    Type Alias DepositInput

    DepositInput: SendOptions & {
        amount: number | bigint;
        decimals: number;
        mint: Address;
        owner: TransactionSigner;
        payer: TransactionSigner;
        programAddress?: Address;
        rpc: Rpc<SolanaRpcApi>;
        rpcSubscriptions: RpcSubscriptions<SolanaRpcSubscriptionsApi>;
        token?: Address;
    }

    Type Declaration

    • amount: number | bigint

      Amount of public tokens to move into the confidential pending balance (at most 2^48 - 1).

    • decimals: number

      Mint decimals (must match the mint).

    • mint: Address

      Mint configured for confidential transfers.

    • owner: TransactionSigner

      Owner of the token account (signs the deposit).

    • 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(s).

    • Optionaltoken?: Address

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