RFQ

private/get_block_proposals

Changed on

Returns the block proposals that the wallet made or received as recipient_wallet: the open ones and those that ended recently, most recently updated first. Each proposal shows maker_wallet, recipient_wallet, the maker's direction and the priced legs. The taker trades the opposite direction. status is open, executing (an accept is in progress), executed (block_trade_id identifies the block trade), cancelled (by the maker), declined (by the recipient) or expired. A proposal can be accepted until expires_at_sec (UTC seconds). Requires the block_trade off-chain scope.

post/private/get_block_proposals

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    API key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature

Request body

GetBlockProposalsRequest required
wallet, string required

The session's wallet.

Response

Success

BlockProposalGetResponse required

Result for private/get_block_proposals.

proposals, BlockProposalPrivateResponse[] required

Changes