Backend

Signed Order Intake

How the Backend verifies deterministic messages, wallet signatures, Market state, and collateral.

Deterministic message

The Backend verifies lime.signed-limit-order.v1 signatures against the exact deterministic JSON message produced by the frontend serializer.

Verification

1

Reconstruct

Rebuild the canonical message with ordered fields and compare it to the submitted message.

2

Verify signature

Use the wallet signature to confirm the owner authorized this exact order scope.

3

Check Market

Read on-chain Market state and accept only Active Markets.

4

Check collateral

Read on-chain collateral and subtract Backend Reserved Collateral before accepting the order.

Acceptance

A valid order becomes an Open Order with Reserved Collateral. It has not become exposure until it matches and Trade Execution records it.