Skip to main content
GET
Get trade settlement

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Scopes

settlements_read
bearer_auth
settlements_read
api_key

Headers

X-Workspace-Id
string<uuid>

The workspace the request acts in. An API key bound to a workspace implies it: omit the header, or send that same id (another id answers 403 WORKSPACE_SCOPE_MISMATCH). A member session must send it (400 MISSING_WORKSPACE without it).

Path Parameters

workspaceId
string
required

Workspace ID

tradeId
string
required

The trade's tradeId (its order id)

Query Parameters

perspective
enum<string>

taker (default): the order's settlement lifecycle; maker: the LP's settlement-pipeline state (an LP member session) Which side of the trade the workspace was on.

Available options:
taker,
maker
venueId
string

perspective=maker: the LP's own venue; omitted reads every owned venue

Response

taker: lifecycle stages, transactions and LP response; maker: the pipeline stage, age, retries and transactions

One trade's settlement as the taker: its lifecycle stages, transactions and LP response. The maker perspective is read by a signed-in member only.

lifecycle
object[]
required
lpResponse
object
required

LP/solver response metrics.

orderId
string
required
transactions
object
required

Transaction hashes for source, fill, and proof transactions.