BlockTrades
Create block trade
Changed onCreate 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
- Required signers cannot be isolated margin accounts
- 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
- Base URLhttps://api.prod.paradex.trade/v1
- URLhttps://api.prod.paradex.trade/v1/block-trades
- AuthAPI key in header Authorization
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"
}Changes
- warning
added the new
ADDRESS_BOOK_NOT_PARADEX_ACCOUNTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_REPEATED_IN_IMPORTenum value to the////response property for the response status - warning
added the new
STARKNET_PARENT_ONBOARDING_DISABLEDenum value to the////response property for the response status
- warning
- info
removed the
READY_TO_EXECUTEenum value from the////response property for the response status
- info