Skip to main content

LIGHTER_ERROR_CODE_TX_RANGE

Constant LIGHTER_ERROR_CODE_TX_RANGE 

Source
pub const LIGHTER_ERROR_CODE_TX_RANGE: Range<u64>;
Expand description

Venue error-code range for L2 transaction failures.

Observed codes follow a domain split: 20xxx request validation, 21xxx transaction processing (21104 invalid nonce, 21149 integrator not approved), 30xxx WebSocket subscription state (30003 “Already Subscribed”). Bare error frames are attributed to in-flight sendTx requests only when the code falls in this range.