Skip to main content

Import

Usage

Parameters

The submit function accepts a SubmitInstructionInput:

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

Bilateral Flow

The bilateral settlement flow works in two steps:
  1. First party submits - Gets status: "pending_match" and a trade reference
  2. Second party submits with same trade reference - Gets status: "matched" and a settlement ID