Import
Usage
Parameters
Thesubmit function accepts a SubmitInstructionInput:
Fee allocation is not set per instruction. Who bears the settlement fee is set by
fee_mode on the platform environment - see Fees. A fee mode sent with an instruction is accepted and ignored.InstructionPartyInput
InstructionLegInput
Each DvP instruction should include two legs:asset_delivery and payment. The direction is derived from your role - sellers deliver assets and receive payment, buyers deliver payment and receive assets.
Return Type
InstructionResult
Paired flow
The settlement flow works in two steps:- First party submits - Gets
status: "pending_match"and a trade reference - Second party submits with same trade reference - Gets
status: "matched"and a settlement ID
The
pending_match / matched statuses describe reference correlation of a pre-agreed trade, not order matching - see what “matched” means.