RFQ

public/get_block_proposal

Changed on

Returns one block proposal by its proposal_id, listed or not, in the public/get_block_proposals shape. It never shows a wallet, a subaccount or a signature. A proposal stays readable for some time after it ends, with its final status. A proposal with a recipient_wallet is not returned: its maker and its recipient read it with private/get_block_proposals. Fails with block_proposal_not_found (11117) if no proposal has that id, or if the proposal has a recipient_wallet.

post/public/get_block_proposal

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    none declared

Request body

PublicGetBlockProposalRequest required
proposal_id, string uuid required

UUID v4 string

Response

Success

BlockProposalResultPublic required

A block proposal as every other wallet sees it.

block_trade_id, string uuid nullable required

The block trade, once the proposal executes.

creation_timestamp, integer required
currency, string required
direction, 'buy' | 'sell' required

The maker's direction. The taker trades the opposite.

expires_at_sec, integer required

The last second (UTC) at which the proposal can be accepted.

last_update_timestamp, integer required
legs, PricedLegParamsAndResponse[] required
listed, boolean required

Whether the proposal is on the public list.

proposal_id, string uuid required

UUID v4 string

risk_universe_id, integer required
status, union required

Changes