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

    Type Alias ConfidentialTransfersErrorCode

    ConfidentialTransfersErrorCode:
        | "INVALID_INPUT"
        | "ACCOUNT_NOT_FOUND"
        | "ACCOUNT_NOT_CONFIGURED"
        | "ACCOUNT_ALREADY_CONFIGURED"
        | "ACCOUNT_NOT_APPROVED"
        | "RECIPIENT_REJECTS_CONFIDENTIAL"
        | "PENDING_BALANCE_LIMIT"
        | "INSUFFICIENT_FUNDS"
        | "AMOUNT_TOO_LARGE"
        | "KEYS_MISMATCH"
        | "RECIPIENT_KEY_MISMATCH"
        | "DECRYPTION_FAILED"
        | "BALANCE_OUT_OF_SYNC"
        | "UNSUPPORTED_FORMAT"
        | "CANNOT_SIGN_MESSAGES"
        | "BAD_MESSAGE_SIGNATURE"
        | "CRYPTO_UNAVAILABLE"
        | "TRANSACTION_FAILED"
        | "TRANSACTION_EXPIRED"
        | "TRANSACTION_OUTCOME_UNKNOWN"
        | "RPC_ERROR"

    Type Declaration

    • "INVALID_INPUT"

      An argument is invalid (zero amount, missing destination, malformed address).

    • "ACCOUNT_NOT_FOUND"

      A token account the call needs does not exist.

    • "ACCOUNT_NOT_CONFIGURED"

      The token account has no confidential-transfer extension; run configureAccount first.

    • "ACCOUNT_ALREADY_CONFIGURED"

      configureAccount on an account that is already configured.

    • "ACCOUNT_NOT_APPROVED"

      The account is configured but not approved by the mint's confidential-transfer authority.

    • "RECIPIENT_REJECTS_CONFIDENTIAL"

      The recipient's account does not accept confidential transfers (allowConfidentialCredits off).

    • "PENDING_BALANCE_LIMIT"

      The account has taken as many incoming deposits and transfers as it allows before applyPendingBalance. The owner must apply the pending balance first.

    • "INSUFFICIENT_FUNDS"

      More than the available (or public, for a deposit) balance.

    • "AMOUNT_TOO_LARGE"

      Above what one deposit or transfer can carry: 2^48 - 1 base units.

    • "KEYS_MISMATCH"

      The keys passed are not the keys the account is configured with.

    • "RECIPIENT_KEY_MISMATCH"

      The recipient's ElGamal key, as the RPC returned it, is not the one the caller pinned with destinationElgamalPubkey. Nothing was encrypted to it or signed.

    • "DECRYPTION_FAILED"

      A balance could not be decrypted (wrong keys, or a pending total beyond what can be decrypted).

    • "BALANCE_OUT_OF_SYNC"

      The AES copy of the available balance has fallen behind the encrypted balance by more than the SDK can recover (2^32 base units or more). Happens when credits arrive during an apply.

    • "UNSUPPORTED_FORMAT"

      Data in a format or version this release does not know, refused rather than misread: an auditor report written by a newer release, or a cryptography library that would derive keys from a message other than solana-conf-bal/v1. See docs/formats.md.

    • "CANNOT_SIGN_MESSAGES"

      The signer cannot sign messages, which the confidential keys come from.

    • "BAD_MESSAGE_SIGNATURE"

      The wallet changed the message it was asked to sign, or returned a signature that does not verify.

    • "CRYPTO_UNAVAILABLE"

      The zk-sdk WebAssembly could not be loaded (browser).

    • "TRANSACTION_FAILED"

      A transaction failed in simulation or on chain, or the RPC node refused it; logs has the program logs.

    • "TRANSACTION_EXPIRED"

      A transaction was not confirmed before its blockhash expired, and the RPC confirms it did not land. Safe to retry.

    • "TRANSACTION_OUTCOME_UNKNOWN"

      A transaction was sent, but whether it landed could not be found out: no confirmation arrived and its status could not be read, even after its blockhash expired. It may have landed. Look up signature before running the call again. Never retried.

    • "RPC_ERROR"

      The RPC node did not serve something the call needs, for example a transaction that its own history lists. Use an RPC that keeps the full history. (Other failed requests reach the caller as @solana/kit errors.)