BlockTrades
Create block trade
Create a parent block trade for multi-party execution.
Block trades coordinate execution across multiple parties. The initiator creates a parent block trade specifying trade details and required signers, who must submit offers before execution.
Requirements:
- Required signers must have active onboarding and block trade functionality
- Valid StarkNet signature with expiration timestamp
- Each trade specifies market, size, price, and order details
Workflow:
- Initiator creates parent block trade
- Required signers submit offers
- Initiator executes with selected offers
- All trades processed together
post/block-trades
Request body
Example request
{
"block_expiration": 1640995800000,
"nonce": "67890"
}Response
Created
Example response
{
"block_expiration": 1640995800000,
"block_id": "block_456",
"created_at": 1640995200000,
"initiator": "0x123...abc",
"last_updated_at": 1640995400000,
"nonce": "67890",
"parent_block_id": "block_123"
}