Skip to content

JobDispatch

type: "job.dispatch"


jobId: string


kind: "fill" | "sponsor" | "match"


optional requestId?: string


optional fillId?: string


optional offer?: string

fill: the user's offer (swapoffer1…).


optional offers?: string[]

match: every offer to merge, the user's first when there is one.


optional tx?: string

sponsor: the user's balanced, fee-less transaction (hex).


expectedLegs: Record<string, string>

Solver-side deltas of the offer(s): positive = solver receives.


feeOutputs: SwapFeeOutput[]

Shielded outputs the completed transaction must carry, with openings in the result.


optional requireOutputs?: object[]

Unshielded outputs the transaction must carry (sponsor jobs).

owner: string

type: string

value: string


optional maxDust?: string


deadline: number


relaySig: Signature