Skip to content

Error codes ​

bkc codespace ​

Returned in a transaction result's code with codespace: "bkc".

CodeMeaningTypical cause
1101unsupported public-key typea signer (or a validator's consensus key) that is not mldsa65
1102unsupported sign modeAmino JSON, textual or direct-aux signing — only SIGN_MODE_DIRECT is allowed
1103malformed policy transactionthe transaction could not be checked against the key/sign-mode policy
1104raw Ethereum transaction disableda MsgEthereumTx was submitted (e.g. via eth_sendRawTransaction)
1105wrapped EVM call mixed with another messageMsgExecuteEvmCall must be alone in its transaction
1106wrapped-call nonce mismatchcall_nonce ≠ the account's sequence before the transaction — usually two writes in flight
1107invalid wrapped EVM callbad to address, non-decimal amounts, tip above fee cap, gas_limit 0 or above the Cosmos gas limit
1108wrapped EVM executor unavailablethe node was started without the EVM

JSON-RPC ​

CodeMessageMeaning
-32050raw secp256k1 transactions are not supported on this chain; use MsgExecuteEvmCall …eth_sendRawTransaction — use the SDK or Hardhat plugin
-32000execution reverted…the call reverted; the revert data is in error.data

Common Cosmos SDK errors ​

Codespace · codeMeaningFix
sdk 5insufficient fundsfund the account
sdk 11out of gasraise the Cosmos --gas / gas budget
sdk 13insufficient feegas price below 5000000bkc
sdk 19tx already in mempoolresubmitted the same signed bytes
sdk 32incorrect account sequencestale sequence — refetch it and re-sign

Hardhat plugin and SDK ​

Errors from @bkc-network-lib/hardhat and the SDK carry a sentence saying what to do. ethers wraps them: read error.error.message, not error.shortMessage ("could not coalesce error").

BKC testnet is unaudited. Do not hold value on it.