Skip to content

BookOffer

A resting offer in the relay's book (matcher only).

offerId: string


offer: string


source: "relay" | "namespace"


optional appId?: string


legs: Record<string, string>

Maker-side imbalances: positive = the offer gives, negative = it wants. Keyed by token kind and raw type, "shielded:<raw>" or "unshielded:<raw>" (a shielded and an unshielded token can share a raw type).


ttl: number | null


postedAt: number


optional version?: number

Bumped by every change of the offer's status: a matcher keeps only the newest.