Skip to main content
POST
private/get_block_trade

Authorizations

X-DeriveWallet
string
header
required

The wallet the request acts for.

X-DeriveTimestamp
string
header
required

The current time in milliseconds, as a decimal string.

X-DeriveSignature
string
header
required

EIP-191 signature of the timestamp, by the wallet or one of its session keys.

Body

application/json
block_trade_id
string<uuid>
required

The block_trade_id of the block's trades.

subaccount_id
integer<int64> | null
wallet
string | null

Response

Success

A block trade as returned by private/get_block_trades and private/get_block_trade. It holds the caller's side only: the two sides of a block belong to different wallets.

block_trade_id
string<uuid>
required

UUID v4 string

liquidity_role
enum<string>
required
Available options:
maker,
taker
timestamp
integer<int64>
required
trades
object[]
required

One trade per leg.