@lelantos-org/sdk / protocol / SubmitSwapPayload
Interface: SubmitSwapPayload
Defined in: @lelantos-org/sdk/dist/protocol/transact.d.ts:39
Atomic shielded-swap payload: the leg-1 transact SNARK (same shape as a withdraw whose recipient is the SwapWrapper) plus the leg-2 escrow blob the wrapper forwards to submitDepositAuthorized in the same tx. The relayer adds the matching tree_update_batch proof and submits to SwapWrapper.swap.
Properties
aux
aux: OutputAux[];Defined in: @lelantos-org/sdk/dist/protocol/transact.d.ts:44
chainId
chainId: bigint;Defined in: @lelantos-org/sdk/dist/protocol/transact.d.ts:40
proof
proof: object;Defined in: @lelantos-org/sdk/dist/protocol/transact.d.ts:42
Same layout as SubmitTransactPayload; the relayer applies the same shape validators.
curve?
optional curve?: string;piA
piA: string[];piB
piB: string[][];piC
piC: string[];protocol?
optional protocol?: string;pubInputs
pubInputs: TransactPubInputs;Defined in: @lelantos-org/sdk/dist/protocol/transact.d.ts:43
swap
swap: SwapBlob;Defined in: @lelantos-org/sdk/dist/protocol/transact.d.ts:45