Execute block trade
Changed onExecute a block trade with selected offers.
Executes a parent block trade by selecting specific offers from required signers.
Requirements:
- Called by block trade initiator
- All selected offers must have valid, unexpired signatures
- Required signers must have submitted offers for all markets
- Block trade must be in CREATED or OFFER_COLLECTION state
Execution Process:
- All trades processed together
- Creates fills and updates balances upon success
- Participants receive fill notifications
Returns: Executed block trade with status (COMPLETED/FAILED), fill details, timestamps, and settlement info.
Request
- Base URLhttps://api.prod.paradex.trade/v1
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Block Trade ID
Request body
Example request
{
"execution_nonce": "execution_001"
}Response
OK
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
SUBACCOUNT_HAS_FUNDSenum value to the////response property for the response status - warning
added the new
SUBACCOUNT_HAS_FUNDSenum value to the////response property for the response status
- warning
- warning
added the new
ADDRESS_BOOK_INVALID_ADDRESSenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_INVALID_ADDRESSenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_INVALID_CHAINenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_INVALID_CHAINenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_PARADEX_ACCOUNTenum value to the////response property for the response status - warning
added the new
ADDRESS_BOOK_PARADEX_ACCOUNTenum value to the////response property for the response status - warning
added the new
CONTRACT_WALLET_NOT_SUPPORTEDenum value to the////response property for the response status - warning
added the new
CONTRACT_WALLET_NOT_SUPPORTEDenum value to the////response property for the response status
- warning