KDF RPC Errors

This document lists all possible error types that can be returned by the Komodo DeFi Framework API.

AccountRpcError

ErrorTypeDescription
NameTooLongProvided name exceeds maximum length.
DescriptionTooLongProvided description exceeds maximum length.
TickerTooLongA ticker string exceeds the maximum allowed length.
NoSuchAccountThe specified account_id was not found.
NoEnabledAccountThere is no account currently enabled.
AccountExistsAlreadyAttempted to create an account that already exists (policy = new).
ErrorLoadingAccountStorage read error.
ErrorSavingAccountStorage write error.
InternalUnhandled internal error.

AccountStorageError

ErrorTypeDescription
NoSuchAccountThe specified account_id was not found.
NoEnabledAccountThere is no account currently enabled.
AccountExistsAlreadyAttempted to create an account that already exists (policy = new).
ErrorSavingAn error occurred while saving data to the HD wallet storage.
ErrorLoadingAn error occurred while loading data from the HD wallet storage.
ErrorDeserializingAn error occurred while deserializing data from the HD wallet storage.
ErrorSerializingAn error occurred while serializing data to be stored in the HD wallet storage.
InternalUnhandled internal error.

AccountUpdatingError

ErrorTypeDescription
AddressLimitReachedThe address limit has been reached while updating the account.
InvalidBip44ChainThe coin doesn’t support the given BIP44 chain for account updating.
WalletStorageErrorA storage error occurred while updating the account.

AddressDataError

ErrorTypeDescription
CreateAddressDirFailureFailed to create the address directory.
SqliteConnectionFailureFailed to connect to the SQLite database for address data.

AddressDerivingError

ErrorTypeDescription
InvalidBip44ChainThe coin doesn’t support the given BIP44 chain.
Bip32ErrorA BIP32-related error occurred while deriving an address.
InternalAn internal error occurred during address derivation.

AddressFromPubkeyError

ErrorTypeDescription
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

AdexBehaviourError

ErrorTypeDescription
ParsingRelayAddressAn error occurred while parsing a relay address for Adex.
SubscriptionErrorAn error occurred while subscribing to an Adex topic.
PublishErrorAn error occurred while publishing to an Adex topic.
InitializationErrorAn error occurred during the initialization of the Adex behaviour.

ApiClientError

ErrorTypeDescription
InvalidParamInvalid parameter: Invalid input length
OutOfBoundsThe provided value is out of bounds.
TransportErrorA transport error occurred while communicating with the API.
ParseBodyErrorAn error occurred while parsing the API response body.
GeneralApiErrorA general API error occurred.
AllowanceNotEnoughThe token allowance is not sufficient for this operation.

ApiIntegrationRpcError

ErrorTypeDescription
NoSuchCoinThe coin is not activated.
CoinTypeErrorThe coin type is not the expected one.
NftNotSupportedNFTs are not supported for this coin.
ChainNotSupportedThe chain is not supported.
DifferentChainsThe chains for this operation are different.
MyAddressErrorAn error occurred while getting the local address.
InvalidParamInvalid parameter: Invalid input length
OutOfBoundsThe value is out of bounds.
OneInchAllowanceNotEnoughThe 1inch allowance is not sufficient.
OneInchErrorA 1inch API error occurred.
ApiDataErrorAn error occurred with the data from the API.

AskForDataError

ErrorTypeDescription
DeserializationErrorAn error occurred while deserializing the ‘ask_for_data’ request.
InternalUnhandled internal error.
TimeoutThe ‘ask_for_data’ request timed out.

AsyncConnError

ErrorTypeDescription
ConnectionClosedThe connection to the SQLite has been closed and cannot be queried anymore.
Closeand the underlying [SqlError] that made it impossible to close the database.
RusqliteA Rusqlite error occurred.
InternalAn application-specific error occurred.

BalanceError

ErrorTypeDescription
TransportThe request was failed due to a network error
InvalidResponseThe response from the balance check was invalid.
UnexpectedDerivationMethodThe derivation method used is unexpected.
WalletStorageErrorA wallet storage error occurred during the balance check.
InternalUnhandled internal error.

BalanceStreamingRequestError

ErrorTypeDescription
EnableErrorThe config object is not used in non-EVM coins or other configuration errors
CoinNotFoundThe specified coin was not found or is not activated yet
CoinNotSupportedCurrently only EVM coins/tokens support fee estimation
InternalUnhandled internal error.

BchActivationError

ErrorTypeDescription
CoinInitErrorAn error occurred during BCH coin initialization.
TokenConfIsNotFoundThe token configuration was not found.
TokenCoinProtocolParseErrorAn error occurred while parsing the token coin protocol.
TokenCoinProtocolIsNotSlpThe token coin protocol is not SLP.
TokenPlatformCoinIsInvalidInConfThe token’s platform coin is invalid in the configuration.
RpcErrorAn RPC error occurred.
SlpPrefixParseErrorAn error occurred while parsing the SLP prefix.

BchWithTokensActivationError

ErrorTypeDescription
PlatformCoinCreationErrorThere was an error when trying to activate the platform coin.
InvalidSlpPrefixThe SLP prefix for the BCH token is invalid.
PrivKeyPolicyNotAllowedThe private key policy is not allowed for this operation.
UnexpectedDerivationMethodThe derivation method used is unexpected.
TransportThe request was failed due to a network error.
InternalUnhandled internal error.

BestOrdersRpcError

ErrorTypeDescription
CoinIsWalletOnlyReturned if the coin is wallet only and cannot be traded.
P2PErrorReturned if there is a connection problem.
CtxErrorA context-related error occurred.

BigUintError

ErrorTypeDescription
NoDigitsThe provided string contains no digits.
InvalidNumberOfDigitsThe number of digits is invalid.
NumberIsTooLargeThe number is too large to be represented.

Bip32DerPathError

ErrorTypeDescription
InvalidDerivationPathLengthThe provided derivation path has an incorrect number of elements. It does not conform to the expected BIP-44 structure (m/purpose'/coin_type'/account'/change/address_index).
ChildIsNotHardenedA required segment of the derivation path was expected to be a hardened key, but it was not. Hardened keys provide an extra layer of security.
ChildIsHardenedA segment of the derivation path was expected to be a non-hardened key, but a hardened key was found. This is a violation of the expected path structure.
UnexpectedChildValueA specific value in the derivation path (e.g., the purpose or chain index) was not one of the expected or allowed values for that segment.
Bip32ErrorAn error occurred within the underlying BIP-32 library, which provides the core functionality for hierarchical deterministic key derivation.

BlockHeaderStorageError

ErrorTypeDescription
AddToStorageErrorAn error occurred while adding a block header to storage.
GetFromStorageErrorAn error occurred while retrieving a block header from storage.
CantRetrieveTableErrorCould not retrieve the block header table from storage.
UnableToDeleteHeadersCould not delete block headers from storage.
QueryErrorA query to the block header storage failed.
InitializationErrorAn error occurred during the initialization of the block header storage.
DecodeErrorAn error occurred while decoding a block header.
InternalUnhandled internal error.

CancelAllOrdersError

ErrorTypeDescription
LegacyErrorA legacy error occurred while cancelling all orders.

CancelOrderError

ErrorTypeDescription
CannotRetrieveOrderMatchContextCould not retrieve the order matching context.
OrderBeingMatchedThe order is currently being matched and cannot be cancelled.
UUIDNotFoundThe specified order UUID was not found.

CancelRpcTaskError

ErrorTypeDescription
NoSuchTaskThe specified task was not found or expired.
TaskFinishedThe task is already finished and cannot be canceled.
InternalUnhandled internal error.

CheckBalanceError

ErrorTypeDescription
NotSufficientBalanceThe balance is not sufficient for this operation.
NotSufficientBaseCoinBalanceThe base coin balance is not sufficient for this operation.
VolumeTooLowThe volume is too low for this operation.
TransportThe request was failed due to a network error
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

ClaimableBalancesError

ErrorTypeDescription
UnsupportedCoinThis coin does not support claimable balances.
NoSuchCoinThe coin is not activated.

ClearNftDbError

ErrorTypeDescription
DbErrorRepresents errors related to database operations.
InternalIndicates internal errors not directly associated with database operations.
InvalidRequestUsed for various types of invalid requests, such as missing or contradictory parameters.

CloseChannelError

ErrorTypeDescription
UnsupportedCoinThis coin does not support closing channels.
NoSuchCoinThe coin is not activated.
NoSuchChannelThe specified channel was not found.
CloseChannelErrorAn error occurred while closing the channel.

CoinConfWithProtocolError

ErrorTypeDescription
ConfigIsNotFoundThe coin’s configuration was not found.
CoinProtocolParseErrorParsing the protocol of the platform coin you are trying to activate failed.
UnexpectedProtocolThe coin’s protocol is not the expected one.
CustomTokenErrorAn error related to a custom token occurred.

CoinFindError

ErrorTypeDescription
NoSuchCoinThe coin is not activated.

CompactIntegerError

ErrorTypeDescription
ParseErrorAn error occurred while parsing a compact integer.

ConnectToNodeError

ErrorTypeDescription
ParseErrorAn error occurred while parsing the node address.
ConnectionErrorA connection error occurred.
IOErrorAn I/O error occurred.
UnsupportedCoinThis coin is not supported for this operation.
NoSuchCoinThe coin is not activated.

ConnectionError

ErrorTypeDescription
HandshakeErrA handshake error occurred.
TimeOutThe connection timed out.

CreateAccountRpcError

ErrorTypeDescription
HwContextNotInitializedThe hardware wallet context has not been initialized.
NoSuchCoinThe coin is not activated.
UnexpectedUserActionAn unexpected user action was provided.
TimeoutThe account creation operation timed out.
CoinIsActivatedNotWithHDWalletCoin was enabled without HD-wallet derivation.
InvalidBip44ChainUnsupported chain value.
AccountLimitReachedThe account limit has been reached.
RpcInvalidResponseThe RPC response for account creation was invalid.
WalletStorageErrorA wallet storage error occurred.
HwErrorA hardware wallet error occurred.
TransportThe request was failed due to a network error
InternalUnhandled internal error.

CreateTxHistoryStorageError

ErrorTypeDescription
InternalUnhandled internal error.

CryptoCtxError

ErrorTypeDescription
NotInitializedThe cryptographic context (CryptoCtx) has not been initialized. This error occurs when an operation requiring an active crypto context is attempted before the context has been set up.
InternalUnhandled internal error.

CryptoInitError

ErrorTypeDescription
NotInitializedThe cryptographic context has not been initialized. This error occurs when an operation requiring an active crypto context is attempted before the context has been set up, for example, by calling an initialization function.
InitializedAlreadyThe cryptographic context has already been initialized. This error prevents re-initialization, ensuring that the existing context is not inadvertently overwritten.
EmptyPassphraseThe provided passphrase was empty. A non-empty passphrase is required for cryptographic operations.
InvalidPassphraseThe provided passphrase is not valid, often due to an underlying issue with the private key format or integrity.
InternalUnhandled internal error.

CursorError

ErrorTypeDescription
ErrorSerializingIndexFieldValueAn error occurred while serializing an index field value.
ErrorDeserializingIndexValueAn error occurred while deserializing an index value.
ErrorDeserializingItemAn error occurred while deserializing an item from the cursor.
ErrorOpeningCursorAn error occurred while opening a cursor.
AdvanceErrorAn error occurred while advancing a cursor.
InvalidKeyRangeThe key range for the cursor is invalid.
TypeMismatchA type mismatch occurred in the cursor.
IncorrectNumberOfKeysPerIndexThe number of keys per index is incorrect.
UnexpectedStateThe cursor is in an unexpected state.
IncorrectUsageThe cursor was used incorrectly.

CustomTokenError

ErrorTypeDescription
DuplicateTickerInConfigA custom token with the same ticker already exists in the configuration.
DuplicateContractInConfigA custom token with the same contract address already exists in the configuration.
TokenWithSameContractAlreadyActivatedA token with the same contract address is already activated.

DbTransactionError

ErrorTypeDescription
NoSuchTableThe specified database table does not exist.
ErrorCreatingTransactionAn error occurred while creating a database transaction.
ErrorOpeningTableAn error occurred while opening a database table.
ErrorSerializingIndexAn error occurred while serializing a database index.
ErrorSerializingItemAn error occurred while serializing a database item.
ErrorDeserializingItemAn error occurred while deserializing a database item.
ErrorUploadingItemAn error occurred while uploading an item to the database.
ErrorGettingItemsAn error occurred while retrieving items from the database.
ErrorCountingItemsAn error occurred while counting items in the database.
ErrorDeletingItemsAn error occurred while deleting items from the database.
MultipleItemsByUniqueIndexMultiple items were found for a unique index.
NoSuchIndexThe specified database index does not exist.
InvalidIndexThe database index is invalid.
UnexpectedStateThe database is in an unexpected state.
TransactionAbortedThe database transaction was aborted.

DecodeBodyError

ErrorTypeDescription
PayloadTooShortThe gRPC payload is shorter than the required minimum length, making it impossible to decode.
DecodeErrorAn error occurred while decoding a gRPC message using prost. This often indicates a mismatch between the expected and actual message format, or data corruption.

DecryptionError

ErrorTypeDescription
AESCipherErrorAn error occurred within the AES cipher during the decryption process. This could be due to issues like incorrect padding or a problem with the underlying cryptographic library.
DecodeErrorThe system was unable to decode the Base64-encoded data, which is a required step before decryption can begin. This often indicates corrupted or improperly formatted data.
HMACErrorThe HMAC (Hash-based Message Authentication Code) verification failed. This means the data’s integrity has been compromised, and it has likely been tampered with.
InternalAn unexpected internal error occurred, which was not covered by the other, more specific error types.

DelegationError

ErrorTypeDescription
NotSufficientBalanceThe balance is not sufficient for this delegation.
AmountTooLowThe delegation amount is too low.
CoinDoesntSupportDelegationThis coin does not support delegation.
NoSuchCoinThe coin is not activated.
CanNotUndelegateCannot undelegate from this address.
TooMuchToUndelegateThe amount to undelegate is too large.
UnprofitableRewardThe reward for this delegation is unprofitable.
NothingToClaimThere are no rewards to claim.
CannotInteractWithSmartContractCannot interact with the smart contract for this delegation.
AddressErrorAn address-related error occurred during the delegation.
AlreadyDelegatingAlready delegating to this address.
DelegationOpsNotSupportedDelegation operations are not supported for this coin.
TransportThe request was failed due to a network error
InvalidPayloadThe payload for the delegation request is invalid.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

DisableStreamingRequestError

ErrorTypeDescription
DisableErrorAn error occurred while disabling the stream.

DispatcherError

ErrorTypeDescription
BannedThe user is banned.
NoSuchMethodThe requested RPC method does not exist.
InvalidRequestError parsing request or invalid configuration parameters
LocalHostOnlyThe requested method is only available on localhost.
UserpassIsNotSetThe userpass is not set.
UserpassIsInvalidThe provided userpass is invalid.
InvalidMmRpcVersionThe mmrpc version is invalid.

EnableCoinBalanceError

ErrorTypeDescription
NewAddressDerivingErrorAn error occurred while deriving a new address.
NewAccountCreationErrorAn error occurred while creating a new account.
BalanceErrorAn error occurred while checking the balance.

EnableLightningError

ErrorTypeDescription
InvalidRequestError parsing request or invalid configuration parameters
InvalidConfigurationThe Lightning configuration is invalid.
UnsupportedModeThe requested mode is not supported.
IOErrorAn I/O error occurred.
InvalidAddressThe specified address is invalid
InvalidPathThe provided path is invalid.
PrivKeyPolicyNotAllowedThe private key policy is not allowed for this operation.
SystemTimeErrorA system time error occurred.
RpcErrorAn RPC error occurred.
DbErrorA database error occurred.
RpcTaskErrorAn RPC task error occurred.
ConnectToNodeErrorAn error occurred while connecting to the node.
InternalUnhandled internal error.

EnablePlatformCoinWithTokensError

ErrorTypeDescription
PlatformIsAlreadyActivatedThe platform coin you are trying to activate is already activated.
PlatformConfigIsNotFoundConfig of the platform coin you are trying to activate is not found.
CoinProtocolParseErrorParsing the protocol of the platform coin you are trying to activate failed.
UnexpectedPlatformProtocolUnexpected platform protocol found for the platform coin you are trying to activate.
TokenConfigIsNotFoundConfig of the token you are trying to activate is not found.
TokenProtocolParseErrorParsing the protocol of the token you are trying to activate failed.
UnexpectedTokenProtocolUnexpected protocol is found in the config of the token you are trying to activate.
PlatformCoinCreationErrorThere was an error when trying to activate the platform coin.
PrivKeyPolicyNotAllowedThe private key policy is not allowed for this operation.
UnexpectedDerivationMethodThe derivation method used is unexpected.
TransportThe request was failed due to a network error.
AtLeastOneNodeRequiredAt least one node is required for this operation.
InvalidPayloadThe payload for enabling the platform coin with tokens is invalid.
FailedSpawningBalanceEventsFailed to spawn balance update events.
InternalUnhandled internal error.
NoSuchTaskThe specified task was not found or expired.
TaskTimedOutThe activation task timed out.
UnexpectedDeviceActivationPolicyThe device activation policy is not the expected one.
CustomTokenErrorAn error related to a custom token occurred.
WalletConnectErrorAn error related to WalletConnect occurred.

EnableSlpError

ErrorTypeDescription
GetBalanceErrorAn error occurred while getting the SLP token balance.
UnexpectedDerivationMethodThe derivation method used is unexpected.
InternalUnhandled internal error.

EnableTokenError

ErrorTypeDescription
TokenIsAlreadyActivatedThe token is already activated.
TokenConfigIsNotFoundConfig of the token you are trying to activate is not found.
TokenProtocolParseErrorParsing the protocol of the token you are trying to activate failed.
UnexpectedTokenProtocolUnexpected protocol is found in the config of the token you are trying to activate.
PlatformCoinIsNotActivatedThe platform coin for this token is not activated.
UnsupportedPlatformCoinThe platform coin for this token is not supported.
UnexpectedDerivationMethodThe derivation method used is unexpected.
CouldNotFetchBalanceCould not retrieve the balance for the token.
InvalidConfigThe token’s configuration is invalid.
TransportThe request was failed due to a network error.
InternalUnhandled internal error.
InvalidPayloadThe payload for enabling the token is invalid.
PrivKeyPolicyNotAllowedThe private key policy is not allowed for this operation.
CustomTokenErrorAn error related to a custom token occurred.

EncodeBodyError

ErrorTypeDescription
EncodeAn error occurred while encoding a gRPC message using prost. This typically happens when the message structure is invalid or a required field is missing.

EncryptionError

ErrorTypeDescription
UnableToGenerateRandomBytesFailed to generate cryptographically secure random bytes. This is often required for creating initialization vectors (IVs) or other cryptographic material.
AESCipherErrorAn error occurred within the AES cipher during the encryption process. This could be due to issues like incorrect padding or a problem with the underlying cryptographic library.
InternalUnhandled internal error.

Erc20CallError

ErrorTypeDescription
NoSuchCoinThe coin is not activated.
CoinNotSupportedCurrently only EVM coins/tokens support fee estimation
InvalidParamInvalid parameter: Invalid input length
TransactionErrorError occurred during transaction creation or signing
Web3RpcErrorA Web3 RPC error occurred.

Error

ErrorTypeDescription
UnknownAn unknown script error occurred.
EvalFalseThe script evaluation resulted in a false value.
ReturnOpcodeThe script returned an opcode, which is not allowed.
ScriptSizeThe script size exceeds the allowed limit.
PushSizeThe push size in the script exceeds the allowed limit.
OpCountThe number of opcodes in the script exceeds the allowed limit.
StackSizeThe stack size during script execution exceeds the allowed limit.
NumberOverflowA number overflow occurred during a script operation.
NumberNotMinimallyEncodedA number in the script was not minimally encoded.
SigCountThe number of signatures in the script exceeds the allowed limit.
PubkeyCountThe number of public keys in the script exceeds the allowed limit.
VerifyA verify operation in the script failed.
EqualVerifyAn equal-verify operation in the script failed.
CheckSigVerifyA check-signature-verify operation in the script failed.
NumEqualVerifyA num-equal-verify operation in the script failed.
BadOpcodeAn invalid or disabled opcode was found in the script.
DisabledOpcodeA disabled opcode was found in the script.
InvalidStackOperationAn invalid stack operation was attempted.
InvalidAltstackOperationAn invalid alt-stack operation was attempted.
UnbalancedConditionalAn unbalanced conditional was found in the script.
InvalidSplitRangeAn invalid split range was used in a script operation.
InvalidBitwiseOperationAn invalid bitwise operation was attempted.
DivisionByZeroA division by zero was attempted in a script operation.
ImpossibleEncodingAn impossible encoding was encountered in the script.
NegativeLocktimeA negative locktime was specified.
UnsatisfiedLocktimeThe locktime requirement was not satisfied.
SignatureHashtypeThe signature hash type is invalid.
SignatureDerThe DER-encoded signature is invalid.
SignatureIllegalForkIdAn illegal fork ID was used in the signature.
SignatureMustUseForkIdA fork ID was required but not used in the signature.
MinimaldataA data push was not minimally encoded.
SignaturePushOnlyA signature push-only error occurred.
SignatureHighSThe S-value in the signature is too high.
SignatureNullDummyA null-dummy error occurred in the signature.
PubkeyTypeThe public key type is invalid.
CleanstackThe stack was not clean after script execution.
DiscourageUpgradableNopsAn upgradable NOP opcode was used, which is discouraged.
DiscourageUpgradableWitnessProgramAn upgradable witness program was used, which is discouraged.
WitnessProgramWrongLengthThe witness program has the wrong length.
WitnessProgramWitnessEmptyThe witness program’s witness is empty.
WitnessProgramMismatchThere is a mismatch in the witness program.
WitnessMalleatedThe witness was malleated.
WitnessMalleatedP2SHThe witness for a P2SH input was malleated.
WitnessUnexpectedAn unexpected witness was found.
WitnessPubKeyTypeThe witness public key type is invalid.

EthActivationV2Error

ErrorTypeDescription
InvalidPayloadThe payload for ETH activation is invalid.
InvalidSwapContractAddrThe swap contract address is invalid.
InvalidFallbackSwapContractThe fallback swap contract is invalid.
InvalidPathToAddressThe path to the address is invalid.
ChainIdNotSetThe chain ID is not set.
UnsupportedChainThe chain is not supported.
ActivationFailedThe ETH activation failed.
CouldNotFetchBalanceCould not retrieve the balance.
UnreachableNodesThe nodes are unreachable.
AtLeastOneNodeRequiredAt least one node is required.
ErrorDeserializingDerivationPathAn error occurred while deserializing the derivation path.
PrivKeyPolicyNotAllowedThe private key policy is not allowed for this operation.
FailedSpawningBalanceEventsFailed to spawn balance update events.
HDWalletStorageErrorAn HD wallet storage error occurred.
MetamaskErrorA MetaMask-related error occurred.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
TransportThe request was failed due to a network error
UnexpectedDerivationMethodThe derivation method used is unexpected.
CoinDoesntSupportTrezorThis coin does not support Trezor.
HwContextNotInitializedThe hardware wallet context has not been initialized.
TaskTimedOutThe task timed out.
HwErrorA hardware wallet error occurred.
InvalidHardwareWalletCallAn invalid hardware wallet call was made.
CustomTokenErrorAn error related to a custom token occurred.
WalletConnectErrorAn error related to WalletConnect occurred.

EthAssocTypesError

ErrorTypeDescription
InvalidHexStringThe provided string is not a valid hexadecimal string.
TxParseErrorAn error occurred while parsing the Ethereum transaction.
ParseSignatureErrorAn error occurred while parsing the Ethereum signature.

EthNftAssocTypesError

ErrorTypeDescription
Utf8ErrorA UTF-8 encoding or decoding error occurred.
ParseContractTypeErrorAn error occurred while parsing the NFT contract type.
ParseTokenContractErrorAn error occurred while parsing the NFT token contract.

EthTokenActivationError

ErrorTypeDescription
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
ClientConnectionFailedThe client connection failed.
CouldNotFetchBalanceCould not retrieve the balance.
InvalidPayloadThe payload for ETH token activation is invalid.
TransportThe request was failed due to a network error
UnexpectedDerivationMethodThe derivation method used is unexpected.
PrivKeyPolicyNotAllowedThe private key policy is not allowed for this operation.
CustomTokenErrorAn error related to a custom token occurred.

EthWalletConnectError

ErrorTypeDescription
UnsupportedChainIdThe chain ID is not supported by WalletConnect.
InvalidSignatureThe signature from WalletConnect is invalid.
AccountMisMatchThe account from WalletConnect does not match.
TxDecodingFailedFailed to decode the transaction from WalletConnect.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
InvalidTxDataThe transaction data from WalletConnect is invalid.
SessionErrorA session error occurred with WalletConnect.
WalletConnectErrorAn error related to WalletConnect occurred.

FeeStreamingRequestError

ErrorTypeDescription
EnableErrorThe config object is not used in non-EVM coins or other configuration errors
CoinNotFoundThe specified coin was not found or is not activated yet
CoinNotSupportedCurrently only EVM coins/tokens support fee estimation
InternalUnhandled internal error.

FileLockError

ErrorTypeDescription
ErrorReadingTimestampAn error occurred while reading the timestamp from a lock file.
ErrorWritingTimestampAn error occurred while writing the timestamp to a lock file.
ErrorCreatingLockFileAn error occurred while creating a lock file.

FindPaymentSpendError

ErrorTypeDescription
TimeoutTimeout error variant, indicating that the wait for taker payment spend has timed out.
InvalidInputTxInvalid input transaction error variant, containing additional information about the error.
InternalUnhandled internal error.
ABIErrorAn ABI-related error occurred.
InvalidDataThe data for finding the payment spend is invalid.
TransportThe request was failed due to a network error

FsJsonError

ErrorTypeDescription
IoReadingAn I/O error occurred while reading a JSON file.
IoWritingAn I/O error occurred while writing a JSON file.
SerializingAn error occurred while serializing data to JSON.
DeserializingAn error occurred while deserializing data from JSON.

GenTxError

ErrorTypeDescription
DecryptedOutputNotFoundA decrypted output was not found during transaction generation.
GetWitnessErrAn error occurred while getting the unspent witness.
FailedToGetMerklePathFailed to get the Merkle path for the transaction.
InsufficientBalanceThe balance is insufficient to generate the transaction.
NumConversionA number conversion error occurred during transaction generation.
RpcAn RPC error occurred during transaction generation.
PrevTxNotConfirmedThe previous transaction is not confirmed.
TxBuilderErrorAn error occurred in the transaction builder.
TxReadErrorAn error occurred while reading the transaction data.
BlockchainScanStoppedThe blockchain scan was stopped during transaction generation.
LightClientErrA light client error occurred during transaction generation.
FailedToCreateNoteFailed to create a note for the transaction.
SpendableNotesErrorAn error occurred with spendable notes.
InternalAn internal error occurred during transaction generation.
SaveLockedNotesErrorAn error occurred while saving locked notes.

GenerateInvoiceError

ErrorTypeDescription
UnsupportedCoinThis coin does not support generating invoices.
NoSuchCoinThe coin is not activated.
SignOrCreationErrorAn error occurred during the signing or creation of the invoice.
DbErrorA database error occurred.

GenerateSignedMessageError

ErrorTypeDescription
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
PrivKeyPolicyNotAllowedThe private key policy is not allowed for this operation.

GenerateTxError

ErrorTypeDescription
EmptyUtxoSetThe UTXO set is empty.
EmptyOutputsThe transaction has no outputs.
OutputValueLessThanDustThe output value is less than the dust threshold.
DeductFeeFromOutputFailedFailed to deduct the fee from the output.
NotEnoughUtxosNot enough UTXOs to create the transaction.
TransportThe request was failed due to a network error
InternalUnhandled internal error.

GetBlockHeaderError

ErrorTypeDescription
StorageErrorA storage error occurred while getting the block header.
RpcErrorAn RPC error occurred while getting the block header.
SerializationErrorA serialization error occurred while getting the block header.
InvalidResponseThe response for the block header was invalid.
SPVErrorAn SPV error occurred while getting the block header.
InternalUnhandled internal error.

GetChannelDetailsError

ErrorTypeDescription
UnsupportedCoinThis coin does not support getting channel details.
NoSuchCoinThe coin is not activated.
NoSuchChannelThe specified channel was not found.
DbErrorA database error occurred.

GetConfirmedTxError

ErrorTypeDescription
HeightNotFoundThe block height for the transaction was not found.
UnableToGetHeaderCould not retrieve the block header for the transaction.
RpcErrorAn RPC error occurred while getting the confirmed transaction.
SerializationErrorA serialization error occurred while getting the confirmed transaction.
SPVErrorAn SPV error occurred while getting the confirmed transaction.

GetCurrentMtpError

ErrorTypeDescription
NoSuchCoinThe coin is not activated.
NotSupportedCoinThis coin does not support getting the Median Time-Past (MTP).
RpcErrorAn RPC error occurred while getting the MTP.

GetEnabledCoinsError

ErrorTypeDescription
InternalUnhandled internal error.

GetEthAddressError

ErrorTypeDescription
UnexpectedDerivationMethodThe derivation method used is unexpected.
EthActivationV2ErrorAn ETH activation v2 error occurred.
InternalUnhandled internal error.

GetFeeEstimationRequestError

ErrorTypeDescription
CoinNotFoundThe specified coin was not found or is not activated yet
InternalUnhandled internal error.
CoinNotSupportedCurrently only EVM coins/tokens support fee estimation

GetInfoFromUriError

ErrorTypeDescription
InvalidRequestError parsing request or invalid configuration parameters
TransportA transport-level error occurred while making the request to the specified URI. This can include network errors, DNS failures, or other connectivity issues.
InvalidResponseThe response from the URI was invalid or could not be parsed. This may be due to a malformed JSON or an unexpected response structure.
InternalUnhandled internal error.

GetLockedAmountRpcError

ErrorTypeDescription
NoSuchCoinThe coin is not activated.

GetMyAddressError

ErrorTypeDescription
CoinsConfCheckErrorThe coin is not present in the local coins configuration file.
CoinIsNotSupportedThe specified coin does not support get_my_address (non-EVM coin).
InternalUnhandled internal error.
InvalidRequestError parsing request or invalid configuration parameters
GetEthAddressErrorFailed to derive Ethereum address from HD keys.

GetNewAddressRpcError

ErrorTypeDescription
HwContextNotInitializedThe hardware wallet context has not been initialized.
NoSuchCoinThe coin is not activated.
UnexpectedUserActionAn unexpected user action was provided.
CoinIsActivatedNotWithHDWalletCoin was enabled without HD-wallet derivation.
UnknownAccountThe specified account_id does not exist.
InvalidBip44ChainUnsupported chain value.
ErrorDerivingAddressAn error occurred while deriving a new address.
AddressLimitReachedAddress derivation exceeded wallet’s hard limit.
EmptyAddressesLimitReachedGap-limit reached (too many empty addresses); generate spend to some address.
RpcInvalidResponseThe RPC response for getting a new address was invalid.
WalletStorageErrorA wallet storage error occurred.
FailedScripthashSubscriptionFailed to subscribe to the scripthash.
TimeoutThe operation to get a new address timed out.
HwErrorA hardware wallet error occurred.
TransportThe request was failed due to a network error
InternalUnhandled internal error.

GetNftInfoError

ErrorTypeDescription
InvalidRequestError parsing request or invalid configuration parameters
TransportThe request was failed due to a network error
InvalidResponseThe response for the NFT information was invalid.
InternalUnhandled internal error.
GetEthAddressErrorFailed to derive Ethereum address from HD keys.
TokenNotFoundInWalletThe token was not found in the wallet.
DbErrorA database error occurred.
ParseRfc3339ErrAn error occurred while parsing an RFC 3339 timestamp.
ContractTypeIsNullThe contract type is null.
ProtectFromSpamErrorAn error occurred while protecting from spam.
TransferConfirmationsErrorAn error occurred while getting transfer confirmations.
NumConversErrorA number conversion error occurred.

GetPaymentDetailsError

ErrorTypeDescription
UnsupportedCoinThis coin does not support getting payment details.
NoSuchCoinThe coin is not activated.
NoSuchPaymentThe specified payment was not found.
DbErrorA database error occurred.

GetPublicKeyError

ErrorTypeDescription
InternalUnhandled internal error.

GetTxError

ErrorTypeDescription
RpcAn RPC error occurred while getting the transaction.
TxDeserializationAn error occurred while deserializing the transaction.

GetTxHeightError

ErrorTypeDescription
HeightNotFoundThe block height for the transaction was not found.
StorageErrorA storage error occurred while getting the transaction height.
ConversionErrorA conversion error occurred while getting the transaction height.

GetValidEthWithdrawAddError

ErrorTypeDescription
CoinDoesntSupportNftWithdrawThe specified coin does not support NFT withdrawal.
InvalidAddressThe provided address is invalid.

GitControllerError

ErrorTypeDescription
DeserializationErrorAn error occurred while deserializing data from the Git controller.
HttpErrorAn HTTP error occurred while communicating with the Git controller.

HDAccountBalanceRpcError

ErrorTypeDescription
NoSuchCoinThe coin is not activated.
TimeoutThe balance check for the HD account timed out.
CoinIsActivatedNotWithHDWalletCoin was enabled without HD-wallet derivation.
UnknownAccountThe specified account_id does not exist.
InvalidBip44ChainUnsupported chain value.
ErrorDerivingAddressAn error occurred while deriving an address for the HD account.
WalletStorageErrorA wallet storage error occurred.
RpcInvalidResponseThe RPC response for the balance check was invalid.
FailedScripthashSubscriptionFailed to subscribe to the scripthash.
TransportThe request was failed due to a network error
InternalUnhandled internal error.

HDConfirmAddressError

ErrorTypeDescription
HwContextNotInitializedThe hardware wallet context has not been initialized.
RpcTaskErrorAn RPC task error occurred.
HardwareWalletErrorA hardware wallet error occurred.
InvalidAddressThe specified address is invalid
NoAddressReceivedNo address was received from the hardware wallet.
InternalUnhandled internal error.

HDExtractPubkeyError

ErrorTypeDescription
HwContextNotInitializedThe Hardware Wallet context has not been initialized for public key extraction.
CoinDoesntSupportTrezorThe coin does not support Trezor for public key extraction.
RpcTaskErrorAn RPC task error occurred during public key extraction.
HardwareWalletErrorA hardware wallet error occurred during public key extraction.
InvalidXpubThe extracted extended public key (xpub) is invalid.
InternalAn internal error occurred during public key extraction.

HDWalletStorageError

ErrorTypeDescription
HDWalletUnavailableThe HD wallet is unavailable.
HDAccountNotFoundThe HD account was not found.
ErrorSavingAn error occurred while saving to the HD wallet storage.
ErrorLoadingAn error occurred while loading from the HD wallet storage.
ErrorDeserializingAn error occurred while deserializing from the HD wallet storage.
ErrorSerializingAn error occurred while serializing to the HD wallet storage.
InternalUnhandled internal error.

HDWithdrawError

ErrorTypeDescription
UnexpectedFromAddressThe ‘from’ address for the withdrawal is not the expected one.
UnknownAccountThe specified account for the withdrawal is unknown.
AddressDerivingErrorAn error occurred while deriving an address for the withdrawal.
InternalErrorAn internal error occurred during the HD withdrawal.

HealthcheckRpcError

ErrorTypeDescription
MessageGenerationFailedFailed to generate the healthcheck message.
MessageEncodingFailedFailed to encode the healthcheck message.
InternalUnhandled internal error.

HeartbeatRequestError

ErrorTypeDescription
EnableErrorThe config object is not used in non-EVM coins or other configuration errors

HidError

ErrorTypeDescription
DeviceNotInitializedYetPlease note it’s not the same as disconnected!
DeviceIsOpenAlreadyThe HID device is already open. This error prevents opening a device that is already in use.
InitializedAlreadyThe HID API has already been initialized. This error prevents re-initialization of the HID API.
ErrorInitializingAn error occurred while initializing the HID API. This is a low-level error from the hidapi library.
ErrorGettingDevicesAn error occurred while getting the list of connected HID devices from the system via hidapi.
ErrorOpeningDeviceAn error occurred while attempting to open a connection to a specific HID device via hidapi.
ErrorWritingChunkAn error occurred while writing a data chunk to the HID device. This is a low-level error from the hidapi library.
WritingInterruptedThe process of writing a data chunk to the HID device was interrupted. Not all bytes were sent.
ErrorReadingChunkAn error occurred while reading a data chunk from the HID device. This is a low-level error from the hidapi library.
ReceivedChunkTooLongThe data chunk received from the HID device was longer than expected.
NotEnoughInfoToConnectThere is not enough information (e.g., serial number) to connect to the specified HID device.
InternalUnhandled internal error.

HwError

ErrorTypeDescription
NoTrezorDeviceAvailableNo Trezor hardware wallet device was found. This can happen if the device is not connected, not powered on, or if the necessary drivers are not installed.
CannotChooseDeviceMultiple hardware wallet devices were detected. The system cannot determine which one to use. Please ensure only one device is connected.
ConnectionTimedOutThe connection to the hardware wallet device timed out. This may be due to a slow device, a busy USB port, or other connectivity issues.
FoundUnexpectedDeviceA connected device does not match the supplied device_pubkey.
DeviceDisconnectedThe hardware wallet device was disconnected during an operation.
TransportNotSupportedThe specified hardware wallet transport method (e.g., WebUSB, HID) is not supported in the current environment.
InvalidXpubThe extended public key (xpub) received from the hardware wallet device is invalid. This may indicate a problem with the device’s firmware or the derivation path.
UnderlyingErrorAn underlying error from the hardware wallet’s transport layer (e.g., Trezor’s transport library) occurred.
ProtocolErrorA hardware wallet protocol error occurred. This indicates a problem with the communication between the software and the device.
UnexpectedUserInteractionRequestThe hardware wallet device requested an unexpected user interaction. This should not happen during normal operation.
InternalUnhandled internal error.
InvalidPinThe provided PIN for the hardware wallet device is incorrect.
UnexpectedMessageAn unexpected message was received from the hardware wallet device.
ButtonExpectedThe hardware wallet device expected a button press, but none was detected.
DataErrorA data-related error occurred on the hardware wallet device.
PinExpectedThe hardware wallet device expected a PIN to be entered, but none was provided.
InvalidSignatureThe signature generated by the hardware wallet device is invalid.
ProcessErrorA general processing error occurred on the hardware wallet device.
NotEnoughFundsThe hardware wallet device reported insufficient funds for the requested operation.
NotInitializedThe hardware wallet device or its session has not been initialized.
WipeCodeMismatchThe provided wipe code for the hardware wallet device is incorrect.
InvalidSessionThe session with the hardware wallet device is invalid or has expired.
FirmwareErrorA firmware error occurred on the hardware wallet device.
FailureMessageNotFoundAn expected failure message from the hardware wallet device was not found.
UserCancelledThe user rejected the signature/request in MetaMask.
PongMessageMismatchA ‘pong’ message received from the hardware wallet device after a ping did not match the expected value, indicating a communication issue.

HwRpcError

ErrorTypeDescription
NoTrezorDeviceAvailableNo Trezor hardware wallet device was found. This can happen if the device is not connected, not powered on, or if the necessary drivers are not installed.
FoundMultipleDevicesMultiple hardware wallet devices were detected. The system cannot determine which one to use. Please ensure only one device is connected.
FoundUnexpectedDeviceA connected device does not match the supplied device_pubkey.
InvalidPinThe provided PIN for the hardware wallet device is incorrect.
UnexpectedMessageAn unexpected message was received from the hardware wallet device.
ButtonExpectedThe hardware wallet device expected a button press, but none was detected.
DataErrorA data-related error occurred on the hardware wallet device.
PinExpectedThe hardware wallet device expected a PIN to be entered, but none was provided.
InvalidSignatureThe signature generated by the hardware wallet device is invalid.
ProcessErrorA general processing error occurred on the hardware wallet device.
NotEnoughFundsThe hardware wallet device reported insufficient funds for the requested operation.
NotInitializedThe hardware wallet device or its session has not been initialized.
WipeCodeMismatchThe provided wipe code for the hardware wallet device is incorrect.
InvalidSessionThe session with the hardware wallet device is invalid or has expired.
FirmwareErrorA firmware error occurred on the hardware wallet device.
FailureMessageNotFoundAn expected failure message from the hardware wallet device was not found.
UserCancelledThe user cancelled the action on the hardware wallet device.
PongMessageMismatchA ‘pong’ message received from the hardware wallet device after a ping did not match the expected value, indicating a communication issue.

IBCError

ErrorTypeDescription
IBCChannelCouldNotBeFoundThe IBC channel could not be found.
IBCChannelNotHealthyThe IBC channel is not healthy.
IBCChannelMissingOnNodeThe IBC channel is missing on the node.
TransportThe request was failed due to a network error
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

InitDbError

ErrorTypeDescription
EmptyTableListThe list of tables to create is empty.
DbIsOpenAlreadyThe database is already open.
NotSupportedThe database operation is not supported.
InvalidVersionThe database version is invalid.
OpeningErrorAn error occurred while opening the database.
TypeMismatchA type mismatch occurred in the database.
UnexpectedStateThe database is in an unexpected state.
UpgradingErrorAn error occurred while upgrading the database.

InitErc20Error

ErrorTypeDescription
HwErrorA hardware wallet error occurred.
TaskTimedOutThe ERC20 token initialization task timed out.
TokenIsAlreadyActivatedThe ERC20 token is already activated.
TokenCreationErrorAn error occurred during the creation of the ERC20 token instance.
CouldNotFetchBalanceCould not retrieve the balance for the ERC20 token.
TransportThe request was failed due to a network error.
InternalUnhandled internal error.
CustomTokenErrorAn error related to a custom token occurred.

InitHwError

ErrorTypeDescription
HwContextInitializingAlreadyThe hardware wallet context is already initializing.
HwErrorA hardware wallet error occurred.
UnexpectedUserActionAn unexpected user action was provided for the hardware wallet initialization.
TimeoutThe hardware wallet initialization timed out.
InternalUnhandled internal error.

InitL2Error

ErrorTypeDescription
L2IsAlreadyActivatedThe Layer 2 solution is already activated.
L2ConfigIsNotFoundThe configuration for the Layer 2 solution was not found.
L2ProtocolParseErrorAn error occurred while parsing the Layer 2 protocol.
UnexpectedL2ProtocolThe Layer 2 protocol is not the expected one.
PlatformCoinIsNotActivatedThe platform coin for this Layer 2 solution is not activated.
UnsupportedPlatformCoinThe platform coin for this Layer 2 solution is not supported.
InvalidPlatformConfigurationThe platform coin configuration for the Layer 2 solution is invalid.
L2ConfigParseErrorAn error occurred while parsing the Layer 2 configuration.
TaskTimedOutThe Layer 2 initialization task timed out.
TransportThe request was failed due to a network error.
InternalUnhandled internal error.

InitMessageServiceError

ErrorTypeDescription
ErrorDeserializingConfigAn error occurred while deserializing the message service configuration.

InitMetamaskError

ErrorTypeDescription
MetamaskInitializingAlreadyA MetaMask initialisation task is already in progress.
MetamaskErrorA MetaMask-related error occurred.
TimeoutThe MetaMask initialization timed out.
InternalUnhandled internal error.

InitStandaloneCoinError

ErrorTypeDescription
NoSuchTaskThe specified task was not found or expired.
TaskTimedOutThe standalone coin initialization task timed out.
CoinIsAlreadyActivatedThe standalone coin is already activated.
CoinConfigIsNotFoundThe configuration for the standalone coin was not found.
CoinProtocolParseErrorParsing the protocol of the platform coin you are trying to activate failed.
UnexpectedCoinProtocolThe protocol of the standalone coin is not the expected one.
CoinCreationErrorAn error occurred during the creation of the standalone coin instance.
HwErrorA hardware wallet error occurred.
TransportThe request was failed due to a network error.
InternalUnhandled internal error.

InitTokenError

ErrorTypeDescription
NoSuchTaskThe specified task was not found or expired.
TaskTimedOutThe token initialization task timed out.
TokenIsAlreadyActivatedThe token is already activated.
TokenConfigIsNotFoundConfig of the token you are trying to activate is not found.
TokenProtocolParseErrorParsing the protocol of the token you are trying to activate failed.
UnexpectedTokenProtocolUnexpected protocol is found in the config of the token you are trying to activate.
TokenCreationErrorAn error occurred during the creation of the token instance.
CouldNotFetchBalanceCould not retrieve the balance for the token.
PlatformCoinIsNotActivatedThe platform coin for this token is not activated.
UnsupportedPlatformCoinThe platform coin for this token is not supported.
CustomTokenErrorAn error related to a custom token occurred.
HwErrorA hardware wallet error occurred.
TransportThe request was failed due to a network error.
InternalUnhandled internal error.

InitTokensAsMmCoinsError

ErrorTypeDescription
TokenConfigIsNotFoundConfig of the token you are trying to activate is not found.
CouldNotFetchBalanceCould not retrieve the balance for the token.
UnexpectedDerivationMethodThe derivation method used is unexpected.
InternalUnhandled internal error.
TokenProtocolParseErrorParsing the protocol of the token you are trying to activate failed.
UnexpectedTokenProtocolUnexpected protocol is found in the config of the token you are trying to activate.
TransportThe request was failed due to a network error.
InvalidPayloadThe payload for initializing the token is invalid.
CustomTokenErrorAn error related to a custom token occurred.

InitUtxoStandardError

ErrorTypeDescription
HwErrorA hardware wallet error occurred.
TaskTimedOutThe UTXO coin initialization task timed out.
CoinIsAlreadyActivatedThe UTXO coin is already activated.
CoinCreationErrorAn error occurred during the creation of the UTXO coin instance.
TransportThe request was failed due to a network error.
InternalUnhandled internal error.

InitWsError

ErrorTypeDescription
InvalidUrlThe provided WebSocket URL is invalid. It may be malformed or use an unsupported scheme (only ws and wss are allowed).
ConnectionFailedThe WebSocket connection could not be established. This may be due to network issues, a non-responsive server, or an underlying error in the WebSocket transport.
UnknownAn unknown or unspecified error occurred during WebSocket initialization.

IsSlpUtxoError

ErrorTypeDescription
RpcAn RPC error occurred.
TxDeserializationAn error occurred while deserializing the transaction.

KeyDerivationError

ErrorTypeDescription
PasswordHashingFailedAn error occurred during the password hashing phase, typically involving the Argon2 algorithm. This can be caused by invalid parameters, incorrect salt, or other issues within the hashing function.
HmacInitializationFailed to initialize the HMAC (Hash-based Message Authentication Code) function. This is often due to an invalid key length or other issues with the underlying hash function (SHA-512).
InvalidKeyLengthThe provided key material has an invalid length. This can occur during SLIP-21 key derivation if the master node is not 64 bytes, or if the final derived key is not 32 bytes.
NotSupportedThe specified key derivation method is not supported for the current operation. For example, using SLIP-21 for mnemonic-based keys is not supported.

LedgerError

ErrorTypeDescription
DeviceDisconnectedThe Ledger device was disconnected.
UnderlyingErrorThe error depends on transport implementation.
ErrorDeserializingApduAn error occurred while deserializing an APDU response from the Ledger device.
ProtocolErrorA protocol error occurred while communicating with the Ledger device.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

LegacyRequestProcessError

ErrorTypeDescription
NotAllowedThe legacy request is not allowed.
NoMatchNo match was found for the legacy request.
FailedThe legacy request failed.

LightningInitError

ErrorTypeDescription
CoinIsAlreadyActivatedThe Lightning network for this coin is already activated.
InvalidConfigurationThe Lightning network configuration is invalid.
InvalidPlatformConfigurationThe platform coin configuration for the Lightning network is invalid.
EnableLightningErrorAn error occurred while enabling the Lightning network.
LightningValidationErrA validation error occurred within the Lightning network.
MyBalanceErrorAn error occurred while retrieving the balance from the Lightning network.
MyAddressErrorAn error occurred while retrieving an address from the Lightning network.
InternalUnhandled internal error.

ListChannelsError

ErrorTypeDescription
UnsupportedCoinThis coin does not support listing channels.
NoSuchCoinThe coin is not activated.
DbErrorA database error occurred.

ListPaymentsError

ErrorTypeDescription
UnsupportedCoinThis coin does not support listing payments.
NoSuchCoinThe coin is not activated.
DbErrorA database error occurred.

LockDBError

ErrorTypeDescription
WasmNftCacheErrorErrors specific to the WebAssembly (WASM) environment’s NFT cache.
SqlErrorErrors related to SQL operations in non-WASM environments.

MakerOrderBuildError

ErrorTypeDescription
BaseEqualRelThe base and relative currencies cannot be the same.
MaxBaseVolTooLowMax base vol too low with threshold
MinBaseVolTooLowMin base vol too low with threshold
PriceTooLowPrice too low with threshold
RelVolTooLowRel vol too low with threshold
ConfSettingsNotSetThe confirmation settings are not set.
MaxBaseVolBelowMinBaseVolMax vol below min base vol

MaxMakerVolRpcError

ErrorTypeDescription
NotSufficientBalanceThe balance is not sufficient for this operation.
NotSufficientBaseCoinBalanceThe base coin balance is not sufficient for this operation.
VolumeTooLowThe volume is too low for this operation.
NoSuchCoinThe coin is not activated.
TransportThe request was failed due to a network error
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

MessageError

ErrorTypeDescription
TelegramErrorA Telegram-related error occurred.

MetamaskCtxInitError

ErrorTypeDescription
InitializingAlreadyA MetaMask context initialization is already in progress. This error prevents concurrent initialization attempts.
MetamaskErrorAn error originating from the MetaMask environment occurred. This could be due to a variety of issues, such as the user rejecting a request, a problem with the Ethereum provider, or an unexpected account being selected.

MetamaskError

ErrorTypeDescription
EthProviderNotFoundNo MetaMask provider detected in the browser / environment.
ExpectedOneEthAccountExpected exactly one Ethereum account to be selected in MetaMask.
UnexpectedAccountSelectedA different ETH account is currently selected in MetaMask.
ErrorSerializingArgumentsAn error occurred while serializing arguments for a MetaMask RPC call.
ErrorDeserializingMethodResultAn error occurred while deserializing the result of a MetaMask RPC call.
UserCancelledThe user rejected the signature/request in MetaMask.
RpcA MetaMask RPC error occurred.
TransportThe request was failed due to a network error
InternalUnhandled internal error.

MetamaskRpcError

ErrorTypeDescription
EthProviderNotFoundNo MetaMask provider detected in the browser / environment.
UserCancelledThe user rejected the signature/request in MetaMask.
UnexpectedAccountSelectedA different ETH account is currently selected in MetaMask.
MetamaskCtxNotInitializedThe MetaMask context was not yet created (call init first).

MmInitError

ErrorTypeDescription
CancelledThe initialization was cancelled.
TimeoutThe initialization timed out.
ErrorDeserializingConfigAn error occurred while deserializing the configuration.
FieldNotFoundInConfigA required field was not found in the configuration.
FieldWrongValueInConfigA field in the configuration has the wrong value.
P2PErrorReturned if there is a connection problem.
ErrorCreatingDbDirAn error occurred while creating the database directory.
DbDirectoryIsNotWritableThe database directory is not writable.
DbFileIsNotWritableThe database file is not writable.
ErrorSqliteInitializingAn error occurred while initializing the SQLite database.
ErrorDbMigratingAn error occurred while migrating the database.
SwapsKickStartErrorAn error occurred while kick-starting the swaps.
OrdersKickStartErrorAn error occurred while kick-starting the orders.
WalletInitErrorAn error occurred during wallet initialization.
EventStreamerInitFailedThe event streamer initialization failed.
HwErrorA hardware wallet error occurred.
InternalUnhandled internal error.

MmMetricsError

ErrorTypeDescription
InternalUnhandled internal error.
MetricsSystemUnavailableThe metrics system is unavailable.
PrometheusAuthorizationRequiredAuthorization is required for the Prometheus endpoint.
PrometheusInvalidCredentialsThe provided credentials for the Prometheus endpoint are invalid.
PrometheusServerErrorA server error occurred at the Prometheus endpoint.
UnexpectedUriAn unexpected URI was provided for the metrics endpoint.

MnemonicError

ErrorTypeDescription
BIP39ErrorAn error related to the BIP39 mnemonic standard occurred. This can include issues with mnemonic generation, validation, or parsing.
KeyDerivationErrorAn error occurred during the key derivation process from the mnemonic. This could be due to issues with the Argon2 algorithm or other aspects of the key derivation function.
DecodeErrorAn error occurred while decoding the mnemonic from its stored format, typically from UTF-8. This may indicate data corruption.
EncryptionErrorAn error occurred during the encryption of the mnemonic. This could be due to issues with the AES-256-CBC encryption algorithm or HMAC generation.
DecryptionErrorAn error occurred during the decryption of the mnemonic. This could be due to an incorrect password, data tampering (failed HMAC verification), or issues with the AES-256-CBC decryption algorithm.
InternalUnhandled internal error.

MnemonicRpcError

ErrorTypeDescription
InvalidRequestError parsing request or invalid configuration parameters
WalletsStorageErrorA storage-related error occurred while accessing wallet data.
InternalUnhandled internal error.
InvalidPasswordThe provided password is incorrect.
PasswordPolicyViolationThe provided password violates the password policy.

MyAddressError

ErrorTypeDescription
UnexpectedDerivationMethodThe derivation method used is unexpected.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

MyOrdersError

ErrorTypeDescription
NoSuchOrderThe specified order was not found.
ErrorSavingAn error occurred while saving the order.
ErrorLoadingAn error occurred while loading the order.
ErrorDeserializingAn error occurred while deserializing the order.
ErrorSerializingAn error occurred while serializing the order.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

MySwapsError

ErrorTypeDescription
ErrorSerializingItemAn error occurred while serializing a swap item.
ErrorDeserializingItemAn error occurred while deserializing a swap item.
InvalidTimestampRangeThe provided timestamp range is invalid.
ErrorSavingSwapAn error occurred while saving the swap.
FromUuidNotFoundThe ‘from_uuid’ was not found.
UuidParseAn error occurred while parsing a UUID.
UnknownSqlErrorAn unknown SQL error occurred.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

NetIdError

ErrorTypeDescription
LargerThanMaxThe network ID is larger than the maximum allowed value.
DeprecatedThe network ID is deprecated.

NetworkStreamingRequestError

ErrorTypeDescription
EnableErrorThe config object is not used in non-EVM coins or other configuration errors

NewAccountCreationError

ErrorTypeDescription
HwContextNotInitializedThe Hardware Wallet context has not been initialized for new account creation.
HDWalletUnavailableThe HD wallet is unavailable for new account creation.
CoinDoesntSupportTrezorThe coin does not support Trezor for new account creation.
RpcTaskErrorAn RPC task error occurred during new account creation.
HardwareWalletErrorA hardware wallet error occurred during new account creation.
AccountLimitReachedThe maximum number of accounts has been reached.
ErrorSavingAccountToStorageAn error occurred while saving the new account to storage.
InternalAn internal error occurred during new account creation.

NewAddressDeriveConfirmError

ErrorTypeDescription
DeriveErrorAn error occurred while deriving the new address.
ConfirmErrorAn error occurred while confirming the new address.

NewAddressDerivingError

ErrorTypeDescription
AddressLimitReachedThe maximum number of addresses for this account has been reached.
InvalidBip44ChainThe coin doesn’t support the given BIP44 chain for new address derivation.
Bip32ErrorA BIP32-related error occurred while deriving a new address.
WalletStorageErrorA storage error occurred while deriving a new address.
InternalAn internal error occurred during new address derivation.

NextBlockBitsError

ErrorTypeDescription
StorageErrorAn error occurred while accessing the block header storage.
NoSuchBlockHeaderThe requested block header was not found.
NoBlockHeaderWithNoMaxBitsNo block header with no max bits was found.

NodeVersionError

ErrorTypeDescription
InvalidRequestError parsing request or invalid configuration parameters
DatabaseErrorDatabase constraint error occurred.
InvalidAddressThe specified address is invalid
PeerIdParseErrorThe provided peer ID format is invalid.
UnsupportedModeThe requested mode is not supported.
AlreadyRunningThe version stat collection is already running.
CurrentlyStoppingThe version stat collection is currently stopping.
NotRunningVersion stat collection is not currently running

OnUpgradeError

ErrorTypeDescription
ErrorCreatingTableAn error occurred while creating a database table during an upgrade.
ErrorOpeningTableAn error occurred while opening a database table during an upgrade.
ErrorCreatingIndexAn error occurred while creating a database index during an upgrade.
UnsupportedVersionThe database version is not supported for an upgrade.
ErrorDeletingIndexAn error occurred while deleting a database index during an upgrade.

OpenChannelError

ErrorTypeDescription
UnsupportedCoinThis coin does not support opening channels.
BalanceErrorA balance error occurred.
InvalidPathThe provided path is invalid.
FailureToOpenChannelFailed to open the channel.
RpcErrorAn RPC error occurred.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
IOErrorAn I/O error occurred.
DbErrorA database error occurred.
ConnectToNodeErrorAn error occurred while connecting to the node.
NoSuchCoinThe coin is not activated.
GenerateTxErrAn error occurred while generating the transaction.

OrderCreationPreCheckError

ErrorTypeDescription
IsWalletOnlyThe coin is wallet-only and cannot be used for this order.
PreCheckFailedThe pre-check for order creation failed.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

OrderProcessingError

ErrorTypeDescription
ProviderUnknownThe order provider is unknown.
PriceIsZeroThe price cannot be zero.
LastUpdatedTimestampInvalidThe ‘last_updated’ timestamp is invalid.
PriceElapsedValidityExpiredThe validity of the elapsed price has expired.
PriceElapsedValidityUntreatableThe validity of the elapsed price is untreatable.
PriceBelowMinBasePriceThe price is below the minimum base price.
PriceBelowMinRelPriceThe price is below the minimum relative price.
PriceBelowPairPriceThe price is below the pair price.
AssetNotEnabledThe asset is not enabled.
InternalCoinFindErrorAn internal error occurred while finding the coin.
BalanceInternalErrorAn internal error occurred while retrieving the balance.
BalanceIsZeroThe balance is zero.
OrderCreationErrorAn error occurred during order creation.
OrderUpdateErrorAn error occurred during order update.
MyRecentSwapsErrorAn error occurred while retrieving recent swaps.
MinVolUsdAboveBalanceUsdThe minimum volume in USD is above the balance in USD.
LegacyErrorA legacy error occurred during order processing.

OrderStatusStreamingRequestError

ErrorTypeDescription
EnableErrorThe config object is not used in non-EVM coins or other configuration errors

OrderbookP2PHandlerError

ErrorTypeDescription
InvalidTopicThe orderbook P2P topic is invalid.
DecodeErrorAn error occurred while decoding an orderbook P2P message.
PubkeyNotAllowedThe public key is not allowed to publish to the orderbook.
P2PRequestErrorA P2P request error occurred in the orderbook handler.
OrderNotFoundThe requested order was not found in the orderbook.
InternalUnhandled internal error.

OrderbookRpcError

ErrorTypeDescription
BaseRelSameThe base and relative currencies cannot be the same.
BaseRelSameOrderbookTickersAndProtocolsThe base and relative currencies have the same tickers and protocols.
CoinConfigNotFoundThe coin configuration was not found.
CoinIsWalletOnlyReturned if the coin is wallet only and cannot be traded.
P2PSubscribeErrorAn error occurred while subscribing to the orderbook via P2P.
InternalUnhandled internal error.

OrderbookStreamingRequestError

ErrorTypeDescription
EnableErrorThe config object is not used in non-EVM coins or other configuration errors

OrdermatchInitError

ErrorTypeDescription
ErrorDeserializingConfigAn error occurred while deserializing the order matching configuration.
InternalUnhandled internal error.

OutgoingError

ErrorTypeDescription
IsNotConnectedAn attempt was made to send a message through a WebSocket that is not connected.
SerializingErrorAn error occurred while serializing an outgoing message.
UnderlyingErrorAn underlying error from the WebSocket transport occurred while sending a message.

P2PInitError

ErrorTypeDescription
InvalidWssCertThe WSS certificate is invalid.
ErrorDeserializingConfigAn error occurred while deserializing the P2P configuration.
FieldNotFoundInConfigA required field was not found in the P2P configuration.
ErrorReadingCertFileAn error occurred while reading the certificate file.
ErrorGettingMyIpAddrAn error occurred while getting the local IP address.
InvalidNetIdThe network ID is invalid.
InvalidRelayAddressThe relay address is invalid.
WasmNodeCannotBeSeedA WASM node cannot be a seed node.
PrecheckA pre-check for P2P initialization failed.
InternalUnhandled internal error.

P2PProcessError

ErrorTypeDescription
DecodeErrorThe message could not be decoded.
InvalidSignatureMessage signature is invalid.
UnexpectedSenderUnexpected message sender.
ValidationFailedMessage did not pass additional validation

P2PRequestError

ErrorTypeDescription
EncodeErrorAn error occurred while encoding a P2P request.
DecodeErrorAn error occurred while decoding a P2P response.
SendErrorAn error occurred while sending a P2P request.
ResponseErrorAn error was received in the P2P response.
ExpectedSingleResponseErrorExpected a single response, but received multiple.
ValidationFailedThe P2P response failed validation.

ParseAddressError

ErrorTypeDescription
CannotResolveIPv4The provided address could not be resolved to an IPv4 address. This may happen if the address resolves only to an IPv6 address, which is not supported.
UnresolvedAddressThe provided address could not be resolved to any IP address. This may be due to a DNS resolution failure or an invalid address format.

ParseChainTypeError

ErrorTypeDescription
UnsupportedChainTypeThe chain type is not supported.

ParseContractTypeError

ErrorTypeDescription
UnsupportedContractTypeIndicates that the contract type being parsed is not supported or recognized.

ParseSlpScriptError

ErrorTypeDescription
NotOpReturnThe script is not an OP_RETURN script.
UnexpectedLokadIdAn unexpected LOKAD ID was found in the SLP script.
UnexpectedTokenTypeAn unexpected token type was found in the SLP script.
DeserializeFailedFailed to deserialize the SLP script.

PasswordPolicyError

ErrorTypeDescription
ContainsTheWordPasswordThe password contains the word ‘password’.
PasswordLengthThe password does not meet the length requirements.
PasswordMissDigitThe password does not contain any digits.
PasswordMissLowercaseThe password does not contain any lowercase letters.
PasswordMissUppercaseThe password does not contain any uppercase letters.
PasswordMissSpecialCharacterThe password does not contain any special characters.
PasswordConsecutiveCharactersExceededThe password contains too many consecutive identical characters.

PaymentError

ErrorTypeDescription
CLTVExpiryThe CLTV expiry is invalid.
InvoiceAn error occurred with the payment invoice.
KeysendA keysend error occurred.
DbErrorA database error occurred.

PerformError

ErrorTypeDescription
TendermintRpcA Tendermint RPC error occurred.
SlurpA slurp-related error occurred.
InternalUnhandled internal error.
StatusCodeAn unexpected status code was received.

PriceServiceRequestError

ErrorTypeDescription
HttpProcessErrorAn HTTP processing error occurred in the price service.
ParsingAnswerErrorAn error occurred while parsing the answer from the price service.
InternalUnhandled internal error.

PrivKeyError

ErrorTypeDescription
WifPassphraseInvalidChecksumThe provided WIF (Wallet Import Format) passphrase has an invalid checksum, which indicates that the key is likely corrupted or has been transcribed incorrectly.
ErrorParsingPassphraseAn error occurred while parsing the passphrase. This can be due to an invalid format or unexpected characters.
InvalidPrivKeyThe private key itself is invalid and does not conform to the required cryptographic standards.
ExpectedCompressedKeysThe system requires a compressed private key, but an uncompressed key was provided.

ProtectFromSpamError

ErrorTypeDescription
RegexErrorError related to regular expression operations.
SerdeErrorError related to serialization or deserialization with serde_json.

Qrc20AbiError

ErrorTypeDescription
InvalidParamsThe ABI parameters for the QRC20 call are invalid.
ABIErrorAn ABI-related error occurred during the QRC20 call.

Qrc20AddressError

ErrorTypeDescription
UnexpectedDerivationMethodThe derivation method used is unexpected.
ScriptHashTypeNotSupportedThe script hash type is not supported for QRC20 addresses.

Qrc20GenTxError

ErrorTypeDescription
ErrorGeneratingUtxoTxAn error occurred while generating the UTXO transaction for the QRC20 token.
ErrorSigningTxAn error occurred while signing the transaction for the QRC20 token.
PrivKeyPolicyNotAllowedThe private key policy is not allowed for this operation.
UnexpectedDerivationMethodThe derivation method used is unexpected.
InvalidAddressThe specified address is invalid.

QtumStakingAbiError

ErrorTypeDescription
InvalidParamsThe ABI parameters for QTUM staking are invalid.
ABIErrorAn ABI-related error occurred during QTUM staking.
PodSigningErrorAn error occurred while signing the proof-of-delegation.
InternalUnhandled internal error.

RateLimitError

ErrorTypeDescription
NbAttemptsLeftThe number of remaining attempts has been exceeded.

RawHeaderError

ErrorTypeDescription
WrongLengthHeaderThe raw block header has an incorrect length.

RawTransactionError

ErrorTypeDescription
NoSuchCoinThe coin is not activated.
InvalidHashErrorThe specified hash is not valid
TransportThe request was failed due to a network error
HashNotExistThe specified hash does not exist
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
DecodeErrorAn error occurred while decoding the raw transaction.
InvalidParamInvalid parameter: Invalid input length
NonExistentPrevOutputErrorA previous output referred to in the transaction does not exist.
SigningErrorError when signing a raw transaction that belongs to a different key pair
NotImplementedThis raw transaction feature is not implemented for this coin.
TransactionErrorError occurred during transaction creation or signing

ReadPassphraseError

ErrorTypeDescription
WalletsStorageErrorA storage-related error occurred while accessing wallet data.
DecryptionErrorA decryption error occurred while reading the passphrase.
InternalUnhandled internal error.

RecreateSwapError

ErrorTypeDescription
SwapIsNotStartedThe swap has not been started yet.
SwapIsNotNegotiatedThe swap has not been negotiated yet.
UnexpectedEventAn unexpected event occurred in the swap recreation.
NoSuchCoinThe coin is not activated.
NoSecretHashThe secret hash is missing.
InternalUnhandled internal error.

RefundError

ErrorTypeDescription
DecodeErrAn error occurred while decoding the refund transaction.
DbErrorA database error occurred during the refund process.
TimeoutThe refund process timed out.
InternalUnhandled internal error.

RegisterCoinError

ErrorTypeDescription
CoinIsInitializedAlreadyThe coin is already initialized.
InternalUnhandled internal error.

RelayAddressError

ErrorTypeDescription
FromStrErrorAn error occurred while parsing a relay address from a string.
DistributedAddrOnMemoryNetworkA distributed address was used on a memory network.
MemoryAddrOnDistributedNetworkA memory address was used on a distributed network.

RpcTaskError

ErrorTypeDescription
TimeoutThe operation timed out.
NoSuchTaskThe specified task was not found or expired.
UnexpectedTaskStatusThe RPC task is in an unexpected status. This indicates a logic error where the task is not in the expected state for the attempted operation.
UnexpectedUserActionAn unexpected user action was provided for the RPC task. The task was awaiting a different type of user interaction.
CancelledThe RPC task was cancelled, either by the user or by the system.
InternalUnhandled internal error.

RpcTaskStatusError

ErrorTypeDescription
NoSuchTaskThe specified task was not found or expired.
InternalUnhandled internal error.

RpcTaskUserActionError

ErrorTypeDescription
NoSuchTaskThe specified task was not found or expired.
InternalUnhandled internal error.

SLIP21Error

ErrorTypeDescription
KeyDerivationErrorAn error occurred during the SLIP-21 key derivation process. This typically involves issues with deriving encryption and authentication keys from the master secret and derivation paths.
EncryptionFailedFailed to encrypt data using SLIP-21 derived keys. This could be due to issues with the AES-256-CBC encryption algorithm or HMAC generation.
DecryptionFailedFailed to decrypt data that was encrypted with SLIP-21 derived keys. This could be due to an incorrect master secret, data tampering (failed HMAC verification), or issues with the AES-256-CBC decryption algorithm.

SPVError

ErrorTypeDescription
InitialValidationErrorAn error occurred during the initial validation of an SPV proof.
ReadOverrunA read overrun occurred while processing an SPV proof.
BadCompactIntA bad compact integer was found in an SPV proof.
MalformattedOutputA malformatted output was found in an SPV proof.
UnableToGetHeaderCould not retrieve a block header for SPV validation.
WrongLengthHeaderThe block header has an incorrect length.
UnexpectedDifficultyChangeAn unexpected difficulty change was detected.
InsufficientWorkThe proof-of-work is insufficient.
DifficultyCalculationErrorAn error occurred while calculating the difficulty.
WrongDigestThe block digest is incorrect.
WrongMerkleRootThe Merkle root is incorrect.
WrongPrevHashThe previous block hash is incorrect.
InvalidVinAn invalid input was found in the transaction.
InvalidVoutAn invalid output was found in the transaction.
BadMerkleProofThe Merkle proof is invalid.
UnableToGetMerkleCould not retrieve a Merkle proof.
InvalidHeightThe block height is invalid.
TimeoutThe SPV validation process timed out.
HeaderStorageErrorAn error occurred while accessing the block header storage.
WrongRetargetHeightThe retarget height is incorrect.
InternalUnhandled internal error.
ParentHashMismatchThe parent block hash does not match.

SaveChannelClosingError

ErrorTypeDescription
DbErrorA database error occurred.
ChannelNotFoundThe channel was not found.
FundingTxNullThe funding transaction is null.
FundingTxParseErrorAn error occurred while parsing the funding transaction.
WaitForFundingTxSpendErrorAn error occurred while waiting for the funding transaction to be spent.
ConversionErrorA conversion error occurred.

SavedSwapError

ErrorTypeDescription
ErrorSavingAn error occurred while saving the swap.
ErrorLoadingAn error occurred while loading the swap.
ErrorDeserializingAn error occurred while deserializing the swap.
ErrorSerializingAn error occurred while serializing the swap.
CursorErrorA cursor error occurred while accessing saved swaps.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

SendAskedDataError

ErrorTypeDescription
NotFoundNo awaiting ask_for_data with the specified data_id.
InternalUnhandled internal error.

SendPaymentError

ErrorTypeDescription
UnsupportedCoinThis coin does not support sending payments.
NoSuchCoinThe coin is not activated.
NoRouteFoundNo route was found for the payment.
PaymentErrorA payment error occurred.
DbErrorA database error occurred.

SerializationError

ErrorTypeDescription
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

SessionError

ErrorTypeDescription
SymKeyGenerationAn error occurred during the generation of a symmetric key for the session.

SettingEnabledAddressError

ErrorTypeDescription
InternalAn internal error occurred while setting the enabled address.

SharedDbIdError

ErrorTypeDescription
EmptyPassphraseThe provided passphrase was empty. A non-empty passphrase is required to generate the shared database ID.

SiaCoinBuildError

ErrorTypeDescription
ConfErrorA configuration error occurred while building the Sia coin.
UnsupportedPrivKeyPolicyThe private key policy is not supported for Sia coin.
ClientErrorA client error occurred while building the Sia coin.
EllipticCurveErrorAn elliptic curve error occurred while building the Sia coin.

SiaCoinInitError

ErrorTypeDescription
CoinCreationErrorAn error occurred during the creation of the Sia coin instance.
CoinIsAlreadyActivatedThe Sia coin is already activated.
HardwareWalletsAreNotSupportedYetHardware wallets are not yet supported for Sia coin.
TaskTimedOutThe activation task for the Sia coin timed out.
CouldNotGetBalanceCould not retrieve the balance for the Sia coin.
CouldNotGetBlockCountCould not retrieve the block count for the Sia coin.
InternalUnhandled internal error.

SiaConfError

ErrorTypeDescription
FooPlaceholder for a Sia configuration error.
BarPlaceholder for a Sia configuration error.

SignFundingTransactionError

ErrorTypeDescription
InternalUnhandled internal error.
ConvertTxErrAn error occurred while converting the transaction.
TxSignFailedThe transaction signing failed.

SignatureError

ErrorTypeDescription
InvalidRequestError parsing request or invalid configuration parameters
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
CoinIsNotFoundSpecified coin is not found
PrefixNotFoundsign_message_prefix is not set in coin config file

SlurpError

ErrorTypeDescription
ErrorDeserializingAn error occurred while deserializing the response from a URI. This typically indicates a mismatch between the expected and actual response format.
InvalidRequestError parsing request or invalid configuration parameters
TimeoutThe request to the specified URI timed out.
TransportA transport-level error occurred while making the request to the specified URI. This can include network errors, DNS failures, or other connectivity issues.
InternalUnhandled internal error.

SpendHtlcError

ErrorTypeDescription
TxLackOfOutputsThe transaction lacks outputs.
DeserializationErrAn error occurred while deserializing the HTLC.
PubkeyParseErrAn error occurred while parsing a public key.
InvalidSlpDetailsThe SLP details are invalid.
NumConversionErrA number conversion error occurred.
RpcErrAn RPC error occurred.
SpendP2SHErrA P2SH spending error occurred.
OpReturnParseErrorAn error occurred while parsing the OP_RETURN data.
UnexpectedDerivationMethodThe derivation method used is unexpected.

SpendP2SHError

ErrorTypeDescription
GenerateTxErrAn error occurred while generating the transaction.
RpcAn RPC error occurred.
SignTxErrAn error occurred while signing the transaction.
PrivKeyPolicyNotAllowedThe private key policy is not allowed for this operation.
UnexpectedDerivationMethodThe derivation method used is unexpected.
StringA string-related error occurred.

SpendableNotesError

ErrorTypeDescription
DBClientErrorA database client error occurred with spendable notes.

StakingInfoError

ErrorTypeDescription
NoSuchCoinThe coin is not activated.
UnexpectedDerivationMethodThe derivation method used is unexpected.
InvalidPayloadThe payload for the staking information request is invalid.
TransportThe request was failed due to a network error
InternalUnhandled internal error.

StandardHDPathError

ErrorTypeDescription
InvalidDerivationPathLengthThe provided derivation path has an incorrect number of elements. It does not conform to the expected BIP-44 structure (m/purpose'/coin_type'/account'/change/address_index).
ChildIsNotHardenedA required segment of the derivation path was expected to be a hardened key, but it was not. Hardened keys provide an extra layer of security.
ChildIsHardenedA segment of the derivation path was expected to be a non-hardened key, but a hardened key was found. This is a violation of the expected path structure.
UnexpectedChildValueA specific value in the derivation path (e.g., the purpose or chain index) was not one of the expected or allowed values for that segment.
Bip32ErrorAn error occurred within the underlying BIP-32 library, which provides the core functionality for hierarchical deterministic key derivation.
InvalidCoinTypeThe coin_type specified in the derivation path does not match the expected coin type for the operation being performed.
InvalidPathToCoinThe derivation path provided does not correctly lead to the specified coin, indicating a structural mismatch in the path.

StartSimpleMakerBotError

ErrorTypeDescription
AlreadyStartedThe bot has already been started.
InvalidBotConfigurationThe bot configuration is invalid.
TransportThe request was failed due to a network error
CannotStartFromStoppingCannot start the bot while it is stopping.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

StopSimpleMakerBotError

ErrorTypeDescription
AlreadyStoppedThe bot is already stopped.
AlreadyStoppingThe bot is already stopping.
TransportThe request was failed due to a network error
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

StreamingManagerError

ErrorTypeDescription
StreamerNotFoundThere is no streamer with the given ID.
SendErrorCouldn’t send the data to the streamer.
NoDataInThe streamer doesn’t accept an input.
SpawnErrorCouldn’t spawn the streamer.
UnknownClientThe client is not known/registered.
ClientExistsA client with the same ID already exists.
ClientAlreadyListeningThe client is already listening to the streamer.

SwapLockError

ErrorTypeDescription
ErrorReadingTimestampAn error occurred while reading the timestamp from the swap lock.
ErrorWritingTimestampAn error occurred while writing the timestamp to the swap lock.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

SwapRecreateError

ErrorTypeDescription
ReprEventsEmptyDB representation has empty events
FailedToParseDataFailed to parse some data from DB representation (e.g. transactions, pubkeys, etc.)
SwapAbortedSwap has been aborted
SwapCompletedSwap has been completed
SwapFinishedWithRefundSwap has been finished with refund

SwapStateMachineError

ErrorTypeDescription
StorageErrorA storage error occurred in the swap state machine.
SerdeErrorA serialization or deserialization error occurred in the swap state machine.
SwapLockAlreadyAcquiredThe swap lock has already been acquired.
SwapLockAn error occurred with the swap lock.
NoSwapWithUuidNo swap was found with the specified UUID.

SwapStatusStreamingRequestError

ErrorTypeDescription
EnableErrorThe config object is not used in non-EVM coins or other configuration errors

SwapTxFeePolicyError

ErrorTypeDescription
NoSuchCoinThe coin is not activated.
NotSupportedThe swap transaction fee policy is not supported for this coin.

SwapUpdateNotificationError

ErrorTypeDescription
MyRecentSwapsErrorAn error occurred while retrieving recent swaps for the notification.
SwapInfoNotAvailableThe swap information for the notification is not available.

SwapV2DbError

ErrorTypeDescription
DbTransactionA database transaction error occurred in SwapV2.
InitDbAn error occurred during the initialization of the SwapV2 database.
SerdeA serialization or deserialization error occurred in SwapV2.
UnsupportedSwapTypeThe swap type is not supported in SwapV2.

TakerOrderBuildError

ErrorTypeDescription
BaseEqualRelThe base and relative currencies cannot be the same.
BaseAmountTooLowBase amount too low with threshold
RelAmountTooLowRel amount too low with threshold
MinVolumeTooLowMin volume too low with threshold
MaxBaseVolBelowMinBaseVolMax vol below min base vol
SenderPubkeyIsZeroThe sender’s public key is zero.
ConfsSettingsNotSetThe confirmation settings are not set.

TaskStatusError

ErrorTypeDescription
IdleThe task is currently idle and has not been started.
InProgressThe task is currently in progress.
AwaitingUserActionThe task is currently awaiting user action to proceed.
CancelledThe task has been cancelled.
FinishedThe task has finished successfully.

TelegramError

ErrorTypeDescription
RequestErrorA request to the Telegram API failed.

TendermintCoinRpcError

ErrorTypeDescription
ProstA Prost-related error occurred.
InvalidResponseThe response from the Tendermint RPC was invalid.
PerformErrorAn error occurred while performing the Tendermint RPC request.
RpcClientErrorA Tendermint RPC client error occurred.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
UnexpectedAccountTypeThe account type is not the expected one.
NotFoundNo awaiting ask_for_data with the specified data_id.

TendermintTokenInitError

ErrorTypeDescription
InternalUnhandled internal error.
MyAddressErrorAn error occurred while getting the local address.
CouldNotFetchBalanceCould not retrieve the balance.

TokenInfoError

ErrorTypeDescription
NoSuchCoinThe coin is not activated.
UnsupportedTokenProtocolThe token protocol is not supported.
InvalidRequestError parsing request or invalid configuration parameters
RetrieveInfoErrorAn error occurred while retrieving token information.

TradePreimageError

ErrorTypeDescription
NotSufficientBalanceThe balance is not sufficient for this trade.
AmountIsTooSmallThe trade amount is too small.
TransportThe request was failed due to a network error
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
NftProtocolNotSupportedThe NFT protocol is not supported for this trade.

TradePreimageRpcError

ErrorTypeDescription
NotSufficientBalanceThe balance is not sufficient for this operation.
NotSufficientBaseCoinBalanceThe base coin balance is not sufficient for this operation.
VolumeTooLowThe volume is too low for this operation.
NoSuchCoinThe coin is not activated.
CoinIsWalletOnlyReturned if the coin is wallet only and cannot be traded.
BaseEqualRelThe base and relative currencies cannot be the same.
InvalidParamInvalid parameter: Invalid input length
PriceTooLowThe price is too low.
TransportThe request was failed due to a network error
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

TransferConfirmationsError

ErrorTypeDescription
NoSuchCoinOccurs when the specified coin does not exist.
CoinDoesntSupportNftTriggered when the specified coin does not support NFT operations.
GetCurrentBlockErrRepresents errors encountered while retrieving the current block number.

TrezorCoinError

ErrorTypeDescription
InternalAn internal error related to Trezor coin configuration occurred.

TrezorConnectionError

ErrorTypeDescription
TrezorNotInitializedA Trezor device has not been initialized on this node.
FoundUnexpectedDeviceA connected device does not match the supplied device_pubkey.
InternalUnhandled internal error.

TrezorError

ErrorTypeDescription
TransportNotSupportedThe specified transport is not supported for Trezor devices.
ErrorRequestingAccessPermissionThis error may appear in a browser when the user didn’t allow the app to get the list of devices.
DeviceDisconnectedThe Trezor device was disconnected.
UnderlyingErrorThe error depends on transport implementation.
ProtocolErrorA protocol error occurred while communicating with the Trezor device.
UnexpectedMessageTypeAn unexpected message type was received from the Trezor device.
FailureAn operation on the Trezor device failed.
UnexpectedInteractionRequestAn unexpected interaction was requested by the Trezor device.
InternalUnhandled internal error.
PongMessageMismatchA ‘pong’ message received from the Trezor device did not match the expected value.
InternalNoProcessorNo processor was set for the Trezor response.

TrustedNodeError

ErrorTypeDescription
UnsupportedCoinThis coin does not support trusted nodes.
NoSuchCoinThe coin is not activated.
IOErrorAn I/O error occurred.

TxCacheError

ErrorTypeDescription
ErrorLoadingAn error occurred while loading from the transaction cache.
ErrorSavingAn error occurred while saving to the transaction cache.
ErrorDeserializingAn error occurred while deserializing from the transaction cache.
ErrorSerializingAn error occurred while serializing to the transaction cache.

TxGenError

ErrorTypeDescription
RpcRPC error
NumConversionError during conversion of BigDecimal amount to coin’s specific monetary units (satoshis, wei, etc.).
SigningProblem with tx preimage signing.
LegacyLegacy error produced by usage of try_s/try_fus and other similar macros.
LocktimeOverflowInput payment timelock overflows the type used by specific coin.
TxFeeTooHighTransaction fee is too high
PrevTxIsNotValidPrevious tx is not valid
PrevOutputTooLowPrevious tx output value too low
OtherOther errors, can be used to return an error that can happen only in specific coin protocol implementation

TxHistoryError

ErrorTypeDescription
ErrorSerializingAn error occurred while serializing the transaction history.
ErrorDeserializingAn error occurred while deserializing the transaction history.
ErrorSavingAn error occurred while saving the transaction history.
ErrorLoadingAn error occurred while loading the transaction history.
ErrorClearingAn error occurred while clearing the transaction history.
FromIdNotFoundThe ‘from_id’ was not found in the transaction history.
NotSupportedTransaction history is not supported for this coin.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

TxHistoryStreamingRequestError

ErrorTypeDescription
EnableErrorThe config object is not used in non-EVM coins or other configuration errors
CoinNotFoundThe specified coin was not found or is not activated yet
CoinNotSupportedCurrently only EVM coins/tokens support fee estimation
InternalUnhandled internal error.

TxProviderError

ErrorTypeDescription
TransportThe request was failed due to a network error
InvalidResponseThe response from the transaction provider was invalid.
InternalUnhandled internal error.

UpdateChannelError

ErrorTypeDescription
UnsupportedCoinThis coin does not support updating channels.
NoSuchCoinThe coin is not activated.
NoSuchChannelThe specified channel was not found.
FailureToUpdateChannelFailed to update the channel.

UpdateNftError

ErrorTypeDescription
DbErrorA database error occurred.
InternalUnhandled internal error.
GetNftInfoErrorAn error occurred while getting NFT information.
GetMyAddressErrorAn error occurred while getting the local address.
TokenNotFoundInWalletThe token was not found in the wallet.
InsufficientAmountInCacheThe amount in the cache is insufficient.
InvalidBlockOrderThe block order is invalid.
LastScannedBlockNotFoundThe last scanned block was not found.
AttemptToReceiveAlreadyOwnedErc721An attempt was made to receive an already owned ERC-721 token.
InvalidHexStringThe provided string is not a valid hexadecimal string.
UpdateSpamPhishingErrorAn error occurred while updating spam/phishing information.
GetInfoFromUriErrorAn error occurred while getting information from a URI.
SerdeErrorA serialization or deserialization error occurred.
ProtectFromSpamErrorAn error occurred while protecting from spam.
NoSuchCoinThe coin is not activated.
CoinDoesntSupportNftThis coin does not support NFTs.
PrivKeyPolicyNotAllowedThe private key policy is not allowed for this operation.
UnexpectedDerivationMethodThe derivation method used is unexpected.

UpdateSpamPhishingError

ErrorTypeDescription
InvalidRequestError parsing request or invalid configuration parameters
TransportThe request was failed due to a network error
InvalidResponseThe response for the spam/phishing update was invalid.
InternalUnhandled internal error.
DbErrorA database error occurred.
GetMyAddressErrorAn error occurred while getting the local address.

UrlIterError

ErrorTypeDescription
InvalidUriThe provided URI is invalid.
TlsConfigFailureThe TLS configuration failed.
ConnectionFailureThe connection failed.

UsbError

ErrorTypeDescription
DeviceDisconnectedThe USB device was disconnected during an operation.
ErrorInitializingSessionAn error occurred while initializing the USB session via rusb. This is a low-level USB communication error.
ErrorGettingDevicesAn error occurred while attempting to get a list of connected USB devices from the system via rusb.
ErrorOpeningDeviceAn error occurred while attempting to open a connection to a specific USB device via rusb.
ErrorWritingChunkAn error occurred while writing a data chunk to the USB device. This may be due to a disconnected device, a timeout, or other rusb errors.
ErrorReadingChunkAn error occurred while reading a data chunk from the USB device. This may be due to a disconnected device, a timeout, or other rusb errors.
TimeoutThe USB operation did not complete within the expected time-out window.
InternalUnhandled internal error.

UtxoCoinBuildError

ErrorTypeDescription
ConfErrorA configuration error occurred while building the UTXO coin.
NativeRpcNotSupportedInWasmNative RPC is not supported in WASM.
ErrorReadingNativeModeConfAn error occurred while reading the native mode configuration.
RpcPortIsNotSetThe RPC port is not set.
ErrorDetectingFeeMethodAn error occurred while detecting the fee method.
ErrorDetectingDecimalsAn error occurred while detecting the number of decimals.
InvalidBlockchainNetworkThe blockchain network is invalid.
CantDetectUserHomeCould not detect the user’s home directory.
PrivKeyPolicyNotAllowedThe private key policy is not allowed for this operation.
HwContextNotInitializedThe hardware wallet context has not been initialized.
HDWalletStorageErrorAn HD wallet storage error occurred.
CoinDoesntSupportTrezorThis coin does not support Trezor.
BlockHeaderStorageErrorA block header storage error occurred.
InternalUnhandled internal error.
SPVErrorAn SPV error occurred.
ErrorCalculatingStartingHeightAn error occurred while calculating the starting height.
FailedSpawningBalanceEventsFailed to spawn balance update events.
UnsupportedModeForBalanceEventsThe mode is not supported for balance events.
InvalidPathToAddressThe path to the address is invalid.

UtxoConfError

ErrorTypeDescription
CurrencyNameIsNotSetThe currency name is not set in the configuration.
DerivationPathIsNotSetThe derivation path is not set in the configuration.
TrezorCoinIsNotSetThe Trezor coin is not set in the configuration.
ErrorDeserializingDerivationPathAn error occurred while deserializing the derivation path.
ErrorDeserializingSPVConfAn error occurred while deserializing the SPV configuration.
InvalidConsensusBranchIdThe consensus branch ID is invalid.
InvalidVersionGroupIdThe version group ID is invalid.
InvalidAddressFormatThe address format is invalid.
InvalidDecimalsThe number of decimals is invalid.

UtxoMyAddressesHistoryError

ErrorTypeDescription
AddressDerivingErrorAn error occurred while deriving an address.
UnexpectedDerivationMethodThe derivation method used is unexpected.

UtxoRpcError

ErrorTypeDescription
TransportThe request was failed due to a network error
ResponseParseErrorAn error occurred while parsing the UTXO RPC response.
InvalidResponseThe UTXO RPC response was invalid.
InternalUnhandled internal error.

UtxoSignTxError

ErrorTypeDescription
CoinNotSupportedWithTrezorThis coin is not supported with Trezor.
TrezorDoesntSupportP2WPKHTrezor does not support P2WPKH for this coin.
TrezorErrorA Trezor-related error occurred.
InvalidSignParamAn invalid signing parameter was provided.
InvalidSignaturesNumberThe number of signatures is invalid.
ErrorSigningAn error occurred while signing the UTXO transaction.
MismatchScriptThe script does not match.
UnspendableUTXOThe UTXO is unspendable.
TransportThe request was failed due to a network error
InternalUnhandled internal error.

UtxoSignWithKeyPairError

ErrorTypeDescription
MismatchScriptThe script does not match.
InputIndexOutOfBoundThe input index is out of bounds.
UnspendableUTXOThe UTXO is unspendable.
ErrorSigningAn error occurred while signing.

UtxoTxDetailsError

ErrorTypeDescription
StorageErrorA storage error occurred while getting UTXO transaction details.
TxDeserializationErrorAn error occurred while deserializing the UTXO transaction.
InvalidTransactionThe UTXO transaction is invalid.
TxAddressDeserializationErrorAn error occurred while deserializing an address from the UTXO transaction.
NumConversionErrA number conversion error occurred.
RpcErrorAn RPC error occurred.
InternalUnhandled internal error.

ValidateBlocksError

ErrorTypeDescription
ChainInvalidThe block chain is invalid.
GetFromStorageErrorAn error occurred while getting blocks from storage.
IoErrorAn I/O error occurred during block validation.
DbErrorA database error occurred during block validation.
DecodingErrorA decoding error occurred during block validation.
TableNotEmptyThe block table is not empty.
InvalidNoteAn invalid note was found during block validation.
InvalidNoteIdAn invalid note ID was found during block validation.
IncorrectHrpExtFvkThe HRP for the extended full viewing key is incorrect.
CorruptedDataThe block data is corrupted.
InvalidMemoAn invalid memo was found during block validation.
BackendErrorA backend error occurred during block validation.
ZcoinStorageErrorA Zcoin storage error occurred during block validation.

ValidatePaymentError

ErrorTypeDescription
InternalErrorShould be used to indicate internal MM2 state problems (e.g., DB errors, etc.).
TxDeserializationErrorProblem with deserializing the transaction, or one of the transaction parts is invalid.
InvalidParameterOne of the input parameters is invalid.
InvalidRpcResponseCoin’s RPC returned unexpected/invalid response during payment validation.
ProtocolNotSupported
SPVErrorSPV client error.
TimelockOverflowInput payment timelock overflows the type used by specific coin.
TransportTransport (RPC) error.
TxDeserializationErrorProblem with deserializing the transaction, or one of the transaction parts is invalid.
TxDoesNotExistPayment transaction doesn’t exist on-chain.
UnexpectedPaymentStatePayment transaction is in unexpected state. E.g., Uninitialized instead of Sent for ETH payment.
WatcherRewardErrorIndicates error during watcher reward calculation.
WrongPaymentTxTransaction has wrong properties, for example, it has been sent to a wrong address.

ValidateSwapV2TxError

ErrorTypeDescription
InternalInternal error
InvalidData
InvalidDestinationOrAmountPayment sent to wrong address or has invalid amount.
NumConversionError during conversion of BigDecimal amount to coin’s specific monetary units (satoshis, wei, etc.).
OverflowIndicates that overflow occurred, either while calculating a total payment or converting the timelock.
ProtocolNotSupported
RpcRPC error.
TxBytesMismatchSerialized tx bytes don’t match ones received from coin’s RPC.
TxDoesNotExistPayment transaction doesn’t exist on-chain.
TxLacksOfOutputsProvided transaction doesn’t have output with specific index
UnexpectedPaymentStatePayment transaction is in unexpected state. E.g., Uninitialized instead of PaymentSent for ETH payment.
WrongPaymentTxTransaction has wrong properties, for example, it has been sent to a wrong address.

ValidateTakerFundingSpendPreimageError

ErrorTypeDescription
FundingTxNoOutputsFunding tx has no outputs
InvalidMakerSignatureError during signature deserialization.
InvalidPreimageError during preimage comparison to an expected one.
LocktimeOverflowInput payment timelock overflows the type used by specific coin.
RpcCoin’s RPC error
SignatureVerificationFailureError during taker’s signature check.
TxGenErrorError during generation of an expected preimage.
UnexpectedPreimageFeeActual preimage fee is either too high or too small

ValidateTakerPaymentSpendPreimageError

ErrorTypeDescription
InvalidPreimageError during preimage comparison to an expected one.
InvalidTakerSignatureError during signature deserialization.
LocktimeOverflowInput payment timelock overflows the type used by specific coin.
SignatureVerificationFailureError during taker’s signature check.
TxGenErrorError during generation of an expected preimage.

VerificationError

ErrorTypeDescription
InvalidRequestError parsing request or invalid configuration parameters
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
SignatureDecodingErrorGiven signature could not be decoded
AddressDecodingErrorGiven address could not be decoded
CoinIsNotFoundSpecified coin is not found
PrefixNotFoundsign_message_prefix is not set in coin config file

WalletConnectError

ErrorTypeDescription
PairingErrorAn error occurred during the WalletConnect pairing process.
PublishErrorAn error occurred while publishing a message via WalletConnect.
ClientErrorAn error occurred within the WalletConnect client.
SubscriptionErrorAn error occurred while subscribing to a WalletConnect topic.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
SerdeErrorA serialization or deserialization error occurred.
UnSuccessfulResponseThe response from the WalletConnect server was unsuccessful.
SessionErrorAn error occurred within the WalletConnect session.
InvalidRequestError parsing request or invalid configuration parameters
NotImplementedThe requested feature is not implemented for WalletConnect.
HexErrorA hexadecimal encoding or decoding error occurred.
PayloadErrorAn error occurred with the WalletConnect payload.
NoAccountFoundNo account was found for the WalletConnect session.
NoAccountFoundForIndexNo account was found for the specified index in the WalletConnect session.
EmptyAccountThe account is empty.
NotInitializedThe WalletConnect session has not been initialized.
StorageErrorA storage error occurred related to WalletConnect.
ChainIdMismatchThe chain ID does not match the expected value.
NoWalletFeedbackNo feedback was received from the wallet.
InvalidChainIdThe provided chain ID is invalid.
ChainIdNotSupportedThe provided chain ID is not supported.
TimeoutErrorThe WalletConnect operation timed out.

WalletConnectRpcError

ErrorTypeDescription
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
InitializationErrorAn error occurred during WalletConnect initialization.
SessionRequestErrorAn error occurred with a WalletConnect session request.

WalletInitError

ErrorTypeDescription
ErrorDeserializingConfigAn error occurred while deserializing the wallet configuration.
FieldNotFoundInConfigA required field was not found in the wallet configuration.
WalletsStorageErrorA storage-related error occurred while accessing wallet data.
PassphraseMismatchThe provided passphrase does not match.
MnemonicErrorA mnemonic-related error occurred.
CryptoInitErrorA cryptographic initialization error occurred.
PasswordPolicyViolationThe provided password violates the password policy.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

WalletsDBError

ErrorTypeDescription
DeserializationErrorAn error occurred while deserializing data from the wallets database.
SerializationErrorAn error occurred while serializing data to the wallets database.
InternalUnhandled internal error.

WalletsStorageError

ErrorTypeDescription
FsWriteErrorA filesystem write error occurred in the wallets storage.
FsReadErrorA filesystem read error occurred in the wallets storage.
InvalidWalletNameThe wallet name is invalid.
InternalUnhandled internal error.

WasmNftCacheError

ErrorTypeDescription
ErrorSerializingAn error occurred while serializing data to the WASM NFT cache.
ErrorDeserializingAn error occurred while deserializing data from the WASM NFT cache.
ErrorSavingAn error occurred while saving data to the WASM NFT cache.
ErrorLoadingAn error occurred while loading data from the WASM NFT cache.
ErrorClearingAn error occurred while clearing the WASM NFT cache.
NotSupportedThe operation is not supported by the WASM NFT cache.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
GetLastNftBlockErrorAn error occurred while getting the last NFT block from the cache.
GetItemErrorAn error occurred while getting an item from the cache.
CursorBuilderErrorAn error occurred while building a cursor for the cache.
OpenCursorErrorAn error occurred while opening a cursor for the cache.

WatcherRewardError

ErrorTypeDescription
RPCErrorAn RPC error occurred while processing the watcher reward.
InvalidCoinTypeThe coin type is invalid for the watcher reward.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error

WcIndexedDbError

ErrorTypeDescription
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
NotSupportedThe operation is not supported by the WalletConnect IndexedDB implementation.
DeletionErrorAn error occurred while deleting data from the WalletConnect IndexedDB.
AddToStorageErrAn error occurred while adding data to the WalletConnect IndexedDB.
GetFromStorageErrorAn error occurred while retrieving data from the WalletConnect IndexedDB.
DecodingErrorAn error occurred while decoding data from the WalletConnect IndexedDB.

Web3RpcError

ErrorTypeDescription
TransportThe request was failed due to a network error
InvalidResponseThe response from the Web3 RPC was invalid.
TimeoutThe Web3 RPC request timed out.
InternalUnhandled internal error.
InvalidGasApiConfigThe gas API configuration is invalid.
NftProtocolNotSupportedThe NFT protocol is not supported.
NumConversErrorA number conversion error occurred.

WebSocketError

ErrorTypeDescription
OutgoingErrorAn error occurred while trying to send an outgoing message through the WebSocket. This could be due to a disconnected socket or an issue with the underlying transport.
InvalidIncomingAn incoming message from the WebSocket was invalid or unexpected. This could be due to a malformed message or a message received in an incorrect state.

WebUsbError

ErrorTypeDescription
NotSupportedWebUSB is not available in the current browser or environment.
ErrorRequestingDeviceAn error occurred while requesting permission to access a WebUSB device.
ErrorGettingDevicesAn error occurred while getting the list of connected WebUSB devices.
ErrorSettingConfigurationAn error occurred while setting the configuration for a WebUSB device.
ErrorClaimingInterfaceAn error occurred while claiming an interface on a WebUSB device.
ErrorOpeningDeviceAn error occurred while opening a connection to a WebUSB device.
ErrorResettingDeviceAn error occurred while resetting a WebUSB device.
ErrorWritingChunkAn error occurred while writing a data chunk to a WebUSB device.
ErrorReadingChunkAn error occurred while reading a data chunk from a WebUSB device.
TypeMismatchA JavaScript type mismatch occurred during a WebUSB operation, indicating an internal inconsistency.
InternalUnhandled internal error.

WithdrawError

ErrorTypeDescription
CoinDoesntSupportInitWithdrawThis coin does not support initial withdrawal.
NotSufficientBalanceThe balance is not sufficient for this withdrawal.
NotSufficientPlatformBalanceForFeeThe platform coin balance is not sufficient for the withdrawal fee.
ZeroBalanceToWithdrawMaxCannot withdraw the maximum amount with a zero balance.
AmountTooLowThe withdrawal amount is too low.
InvalidAddressThe specified address is invalid
InvalidFeePolicyThe fee policy for this withdrawal is invalid.
InvalidMemoThe memo for this withdrawal is invalid.
NoSuchCoinThe coin is not activated.
TimeoutThe withdrawal operation timed out.
FromAddressNotFoundThe ‘from’ address was not found.
UnexpectedFromAddressThe ‘from’ address is not the expected one.
UnknownAccountThe specified account_id does not exist.
UnexpectedUserActionAn unexpected user action was provided for the withdrawal.
HwErrorA hardware wallet error occurred.
BroadcastExpectedA broadcast was expected for this withdrawal.
TransportThe request was failed due to a network error
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
UnsupportedErrorAn unsupported error occurred during the withdrawal.
CoinDoesntSupportNftWithdrawThis coin does not support NFT withdrawal.
ContractTypeDoesntSupportNftWithdrawingThe contract type does not support NFT withdrawal.
ActionNotAllowedThe requested action is not allowed.
GetNftInfoErrorAn error occurred while getting NFT information.
NotEnoughNftsAmountThe amount of NFTs is not sufficient.
DbErrorA database error occurred.
MyAddressNotNftOwnerThe local address is not the owner of the NFT.
NftProtocolNotSupportedThe NFT protocol is not supported.
NoChainIdSetThe chain ID is not set.
SigningErrorError when signing a raw transaction that belongs to a different key pair
TxTypeNotSupportedThe transaction type is not supported.
IBCErrorAn IBC-related error occurred.

XpubError

ErrorTypeDescription
UnknownPrefixThe provided key does not have the standard xpub prefix, indicating it might be a different type of key or improperly formatted.
Base58ErrorAn error occurred during the Base58 encoding or decoding process, which is the standard for representing xpub keys. This can be due to an invalid character, incorrect length, or a failed checksum verification.

ZCoinBalanceError

ErrorTypeDescription
BalanceErrorA balance error occurred with ZCoin.

ZCoinBuildError

ErrorTypeDescription
UtxoBuilderErrorA UTXO builder error occurred.
GetAddressErrorAn error occurred while getting an address.
ZcashDBErrorA Zcash database error occurred.
RpcAn RPC error occurred.
SaplingCacheDbDoesNotExistThe Sapling cache database does not exist.
IoAn I/O error occurred.
RpcClientInitErrAn RPC client initialization error occurred.
ZCashParamsNotFoundThe Zcash parameters were not found.
ZCashParamsErrorAn error occurred with the Zcash parameters.
ZDerivationPathNotSetThe Z-derivation path is not set.
SaplingParamsInvalidChecksumThe Sapling parameters have an invalid checksum.
FailedSpawningBalanceEventsFailed to spawn balance update events.

ZP2SHSpendError

ErrorTypeDescription
ZTxBuilderErrorAn error occurred in the Z-transaction builder.
GenTxErrorAn error occurred while generating the transaction.
PrivKeyPolicyNotAllowedThe private key policy is not allowed for this operation.
RpcAn RPC error occurred.
TxRecoverableThe transaction is recoverable.
IoAn I/O error occurred.

ZcoinClientInitError

ErrorTypeDescription
ZcoinStorageErrorA Zcoin storage error occurred during client initialization.
EmptyLightwalletdUrisThe list of lightwalletd URIs is empty.
UrlIterFailureFailed to initialize clients while iterating over lightwalletd URLs.
UpdateBlocksCacheErrAn error occurred while updating the blocks cache during client initialization.
UtxoCoinBuildErrorA UTXO coin build error occurred during client initialization.

ZcoinInitError

ErrorTypeDescription
CoinCreationErrorAn error occurred during the creation of the ZCoin instance.
CoinIsAlreadyActivatedThe ZCoin is already activated.
HardwareWalletsAreNotSupportedYetHardware wallets are not yet supported for ZCoin.
TaskTimedOutThe activation task for the ZCoin timed out.
CouldNotGetBalanceCould not retrieve the balance for the ZCoin.
CouldNotGetBlockCountCould not retrieve the block count for the ZCoin.
InternalUnhandled internal error.

ZcoinStorageError

ErrorTypeDescription
SqliteErrorAn SQLite error occurred.
ValidateBlocksErrorA block validation error occurred.
ChainInvalidThe chain is invalid.
IoErrorAn I/O error occurred.
DbErrorA database error occurred.
DecodingErrorAn error occurred while decoding data.
TableNotEmptyThe table is not empty.
InvalidNoteThe note is invalid.
InvalidNoteIdThe note ID is invalid.
IncorrectHrpExtFvkThe HRP for the extended full viewing key is incorrect.
CorruptedDataThe data is corrupted.
InvalidMemoThe memo is invalid.
BackendErrorA backend error occurred.
AddToStorageErrAn error occurred while adding to storage.
RemoveFromStorageErrAn error occurred while removing from storage.
GetFromStorageErrorAn error occurred while getting from storage.
BlockHeightNotFoundThe block height was not found.
InitDbErrorAn error occurred during database initialization.
ChainErrorA chain-related error occurred.
InternalErrorThe request was failed due to an Komodo DeFi Framework API internal error
NotSupportedThe operation is not supported.
ZcashParamsErrorAn error occurred with the Zcash parameters.