---
title: "private/cancel_block_proposal"
method: POST
path: "/private/cancel_block_proposal"
tags: ["RFQ"]
---

# private/cancel_block_proposal

`POST /private/cancel_block_proposal`

## Request

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

Ends an open block proposal and returns it. When the maker calls it, the status becomes cancelled. When the recipient_wallet of the proposal calls it, the status becomes declined. Only an open proposal can be cancelled or declined. After a successful call, the proposal can never execute. Fails with block_proposal_not_found (11117) if no proposal has that id, or if the caller is neither its maker nor its recipient. Fails with block_proposal_not_open (11118) if the proposal is not open, for example because it has executed or an accept is in progress. Requires the block_trade off-chain scope.

## Request body

- CancelBlockProposalRequest
  - `proposal_id` string, uuid, required: UUID v4 string
  - `wallet` string, required: The session's wallet: the maker or the recipient of the proposal.

## Response `200`

Success

- BlockProposalPrivateResponse: A block proposal as its maker and its recipient see 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
    - `amount` string, decimal, required: Non-negative decimal string of the human value (e.g. `"1.5"`), up to 12 fractional digits; a string or JSON number is accepted
    - `direction` 'buy' | 'sell', required
    - `instrument_name` string, required
    - `price` string, decimal, required: Non-negative decimal string of the human value (e.g. `"1.5"`), up to 12 fractional digits; a string or JSON number is accepted
  - `listed` boolean, required: Whether the proposal is on the public list.
  - `maker_wallet` string, required: 20-byte Ethereum address as a 0x-prefixed lowercase hex string.
  - `proposal_id` string, uuid, required: UUID v4 string
  - `recipient_wallet` string, nullable: 20-byte Ethereum address as a 0x-prefixed lowercase hex string.
  - `risk_universe_id` integer, required
  - `status` union, required
    - 'open' | 'executing' | 'executed' | 'expired'
    - 'cancelled': By the maker.
    - 'declined': By the recipient.

## Other responses

- `default`: JSON-RPC error (see Error Codes)

## Changes

- **2026-11-13** `8fbe4a1539cb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lyra/apis/derive-v3-api/changes/private/cancel_block_proposal/post.md)

---

[API](https://skmtc.dev/lyra/apis/derive-v3-api.md) - [All operations](https://skmtc.dev/lyra/apis/derive-v3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lyra/apis/derive-v3-api/revisions/415f8a73b10c?raw)
