@cfxlabsinc/b2b-services
    Preparing search index...
    WalletApiSignError:
        | ServiceError<typeof TRANSACTION_CODES[number]>
        | ServiceError<
            "SEND_REJECTED",
            { walletTransactionId?: SelectWalletTransaction["externalId"] },
        >
        | ServiceError<
            "SIMULATION_FAILED",
            { logs: string[]
            | null; simulation: object | string },
        >
        | ServiceError<"WALLET_API_ERROR">

    A transaction.create or transaction.send refusal. retryable for BLOCKHASH_NOT_VALID (expired, or a node behind the caller's) and SEND_REJECTED.

    Type Declaration

    • ServiceError<typeof TRANSACTION_CODES[number]>
    • ServiceError<
          "SEND_REJECTED",
          { walletTransactionId?: SelectWalletTransaction["externalId"] },
      >

      The node rejected the signed bytes; the row stays SUBMITTED for a retry to look again.

    • ServiceError<
          "SIMULATION_FAILED",
          { logs: string[]
          | null; simulation: object | string },
      >

      transaction.send's simulation failed: nothing was written, the row still awaits the same send. simulation is its TransactionError, for the caller to classify.

    • ServiceError<"WALLET_API_ERROR">