Skip to content
docs

relayClearOrder

relayClearOrder(id, stage, nowMs?): void

Defined in: protocol-swap2-relay/src/cleared.ts:19

Record that id is being used at stage (“build” on the client of a remote provider, “sign” right before a signature); throws order-reused when it already was. Fail-closed when the record is full of live entries.

string

"build" | "sign"

number = ...

void