Skip to main content
Release notes for the Derive v3 API, newest first. Subscribe to the RSS feed to be notified of new entries.
Migrating from v2? See Migrating from V2.

Block proposals

A maker can now propose a block trade without giving its signed side to the counterparty. The exchange keeps the maker’s signature, and no other user can see it.
  • private/send_block_proposal sends the maker’s signed maker side of a block trade as a block proposal. The side is signed as for private/execute_block_trade. With recipient_wallet, only that wallet can read and accept the proposal. With listed: true, the proposal is on the public list, and anyone can accept it. With neither, anyone who has the proposal_id can read and accept it, so give the id only to the intended counterparty. The total cost must be inside the currency’s RFQ price band.
  • private/accept_block_proposal accepts a proposal with the taker’s signed taker side. The block trade executes at once, at the prices of the proposal, with no broker fee. The first valid accept wins. A failed accept leaves the proposal open, unless the maker side can no longer execute.
  • private/cancel_block_proposal ends an open proposal, so that it can never execute. The maker’s call sets the status cancelled. The call of the recipient_wallet sets declined.
  • private/get_block_proposals returns the proposals that your wallet made or received as recipient_wallet. public/get_block_proposals returns the public list, and public/get_block_proposal returns one proposal by its proposal_id. The public methods never show a wallet, a subaccount or a signature.
  • New channels: {wallet}.block_proposals streams the proposals that you made or received, and block_proposals streams the listed proposals. Each sends a proposal when it is sent and when it ends. Use your EIP-55 checksummed address in {wallet}.block_proposals.
  • A proposal can be accepted until its expires_at_sec: 60 seconds before the signature_expiry_sec of the signed side, or 59 minutes after its nonce time, whichever is first. So the signed expiry sets how long a proposal stays open. A proposal must stay open for at least 60 seconds.
  • A wallet can have at most 3 open proposals. At the limit, private/send_block_proposal returns -32000 (Rate limit exceeded), with max_open_block_proposals in the data field.
  • private/send_block_proposal and private/accept_block_proposal each have their own limit of 1 request per second per wallet, and private/cancel_block_proposal has a limit of 2 (see rate limits).
  • The four private methods need the block_trade off-chain scope. A session key that signs a side also needs trade:rfq:<asset> for every leg.
  • New errors: block_proposal_not_found (11117) and block_proposal_not_open (11118).
See Block proposals. All changes are additive. The existing block trade methods do not change: in private/execute_block_trade, a side still executes only from 1 minute before to 5 minutes after its nonce time.

Block trade price band range

  • private/simulate_block_trade and private/verify_block_trade now return price_band_min_total_cost and price_band_max_total_cost: the lowest and highest total cost at which the side is inside the currency’s RFQ price band. Both are null if the currency has no RFQ price band. See Simulate a side.
The change is additive.

Unread concierge messages

  • private/get_concierge_messages now returns seen_until: the mark you set with private/mark_concierge_seen, or null if you have set none. The mark is the same on every device.
  • A message from the concierge is unread when its creation_timestamp is after seen_until. To check for unread messages, request one message (page_size: 1) and compare it with seen_until.
The change is additive.

Daily RFQ limit

  • Each wallet can now send 20 RFQs per UTC day with private/send_rfq. All subaccounts of a wallet share the limit.
  • Each of your RFQs that fills adds 5 RFQs to that day’s limit. An RFQ counts once, even if it fills in parts.
  • At the limit, private/send_rfq returns -32000 (Rate limit exceeded). The data field carries the limit, the RFQs sent today and the time of the next reset.
See Rate limits. Request and response shapes do not change.

Block trades

  • private/execute_block_trade settles a multi-leg trade that two parties agree off the platform, directly or through a broker. Each party signs its own side: the maker side signs the same payload as a quote, and the taker side signs the same payload as an execution. Anyone who holds both signed sides can submit them. The submitter needs no access to either subaccount, but its key needs the block_trade scope.
  • New off-chain session-key scope block_trade. Every block-trade method needs it, and RFQ scopes do not cover block trades. A session key that signs a side also needs trade:rfq:<asset> for every leg. Add the scope with private/edit_session_key (offchain_scopes).
  • A session key’s IP whitelist applies to the block-trade sides it signs: the submitter’s IP must be on it, or the block fails with ip_not_whitelisted (14021). Whitelist your broker’s IPs to let only the broker submit.
  • private/set_session_key grants only the off-chain scopes the calling key holds. The owner and admin keys can grant any. A key without block_trade cannot give it to a new key.
  • A side executes from 1 minute before to 5 minutes after its nonce time. The nonce is a UTC timestamp in nanoseconds, so a party can date it for a planned submit time.
  • private/invalidate_block_trade_signature stops a signed side from executing. The caller needs access to the side’s subaccount and the block_trade scope.
  • private/simulate_block_trade returns the fee and margin of one side from the agreed terms, before it is signed. private/verify_block_trade checks a signed side as private/execute_block_trade would, and also returns the last second at which the side can execute. Both need access to the side’s subaccount and the block_trade scope. A side short of margin returns is_valid: false, not an error.
  • Each side pays the RFQ fees of a taker: the taker notional fee rate, with the multi-leg discounts, and the base fee. The submitter can add a broker fee to each side with extra_fee and referral_code, up to that side’s signed max_fee.
  • Vault subaccounts cannot take part, and the two sides must belong to different owners. New errors: block_trade_vault_not_allowed (11114) and block_trade_same_owner (11115).
  • The total cost must be inside the currency’s RFQ price band for both sides. private/simulate_block_trade and private/verify_block_trade return within_price_band. New errors: block_trade_outside_price_band (11123), and block_trades_not_available_for_currency (11124) for a currency with no band.
  • Each leg must be at least 100 times its instrument’s minimum_amount. A smaller leg fails with invalid_amount (11012).
  • Trades carry a new block_trade_id field: the block’s ID on a block trade, null on every other trade. It is in the trade channels, private/get_trade_history and public/get_trade_history. Block trades are not in public/get_tradingview_chart_data candles.
  • Public data does not show who traded a block. On the public trade channels and in public/get_trade_history, a block trade has the zero address as wallet, and 0 as subaccount_id and as its realized PnL fields. The subaccount_id filter of public/get_trade_history does not return block trades.
  • private/get_block_trades returns your block trades, a page of blocks at a time, and private/get_block_trade returns one block by its block_trade_id. A block holds your side only, with all of its trades. Filter by instrument, by direction (a block matches if any of your trades has that direction) or by time. They need the same access as private/get_trade_history. New error: block_trade_not_found (11116).
A signed side does not name its counterparty, so anyone who holds one side can take that trade. Keep signed sides private. A session key with the block_trade scope can sign a block-trade side at any price inside the currency’s price band, so do not give such a key to a third party.
See Block trades.
Parameters

Parameter updates for DRV, HYPE/kHYPE, LIT and other assets

These risk parameter changes take effect on October 29, 2026 at 07:00 ET.

DRV

  • Increased LTV for both SRM and PMRM in the PRIME, HYPE and RWA universes to 20% (doubled from 10%).
  • Lowered OI significantly in all universes (previously 100M DRV per universe).
  • DRV perps added to the ALT universe (3x max leverage, $30M notional cap). LTV in the ALT universe is also raised to 35%, to allow the basis trade in the SRM.

Collaterals

  • Increased HYPE LTV in the HYPE universe to 65% (60% for kHYPE), and raised the OI cap on kHYPE to 800,000 (up from 550,000).
  • Set borrow rates for HYPE, and for XAUT in the RWA universe.
  • Added LIT and cbXRP as collateral in the ALT universe.

Margin

  • Lowered the margin required in the SRM only for BTC and ETH, as well as HYPE, SOL, ZEC, XRP, LIT and XAUT options.

Interest rates

  • Lowered the kink to 90% for USDC in all universes.
See Risk universes, Asset parameters and Interest rate model.

Chat

Logged-in wallets can now chat in two rooms under an anonymous username, and talk to the concierge in private.
  • private/get_chat_rooms returns your fee tier, whether you are banned from chat, the rooms you can join, whether you can message the concierge (concierge_unlocked) and your username. Your fee tier is your best fee tier across options, perps and spot, where 0 is the best. RFQ discount tiers do not count.
  • There are two rooms. general is open to every wallet that is not banned from chat, and fee_tier also needs a fee tier.
  • Rooms are anonymous. Other users see only your username, never your wallet address. Your username is a random name such as greenpanda123. You get it the first time you call private/get_chat_rooms or private/send_room_message, and it never changes.
  • private/send_room_message posts plain text (not blank, at most 500 characters, without control characters other than newlines or bidi override characters) to a room you can join. Profanity and slurs are masked with asterisks (for example s***), and the returned message carries the masked text. private/get_room_messages returns the history of a room, newest first.
  • private/send_concierge_message sends plain text, under the same rules, to the concierge. Each wallet has one private conversation with the concierge, and the concierge can also start it. The concierge is open to wallets with a fee tier, and to every wallet the concierge has messaged. private/get_concierge_messages returns your conversation, newest first. A message’s sender is user for your messages and concierge for the concierge’s.
  • private/mark_concierge_seen marks your conversation as seen up to a message, so the concierge can see how far you have read. While the conversation is on screen, call it with seen_until set to the creation_timestamp of the newest message shown, and call it again, debounced, as newer messages arrive. The mark never moves back. Reading the conversation marks nothing.
  • Without from_timestamp, private/get_room_messages and private/get_concierge_messages return the 30 days before to_timestamp (or before now). Pass from_timestamp to read further back.
  • Messages are deleted 90 days after they are sent, so history reaches back at most 90 days.
  • A banned wallet cannot join rooms, read room history or post to rooms. Rooms are also unavailable while your account is disabled. Neither closes the concierge.
  • New channels: chat.{room} streams a room you can join, and {wallet}.concierge streams your conversation with the concierge. Use your EIP-55 checksummed address in {wallet}.concierge. Each event is a new message, or deleted with the message_id of a message that a moderator removed.
  • private/send_room_message and private/send_concierge_message each have their own limit of 1 request per second per wallet (see rate limits). They and private/mark_concierge_seen need the account_info session-key scope.
  • New errors: chat_banned (15000), chat_room_not_allowed (15001) and concierge_locked (15002). While your account is disabled, private/send_room_message and private/get_room_messages fail with account_disabled (16001).
All changes are additive.

Orders leave the book before their signature expires

  • A resting order now stops filling and leaves the book 5 seconds before its signature_expiry_sec (or before its nonce turns 120 days old, if sooner). Its status then becomes expired. Before, it stayed in the book for those seconds but could not fill, so the orderbook channel could briefly show a crossed or locked book.
  • A cancel or replace that targets an order in that window returns order_does_not_exist (11006). The replace does not place the new order.
Request and response shapes do not change.

Public wallet lookup

  • public/get_wallet returns the wallet that owns a subaccount. It takes a subaccount_id and is the reverse of public/get_subaccounts. It needs no authentication. An unknown subaccount returns error 14001. The result can be up to 60 seconds old.

MMP freezes stop only MMP orders and quotes

  • A Market Maker Protection freeze now rejects only orders and quotes with mmp: true. Orders and quotes without the flag still trade in the frozen currency, as maker and as taker. Before, a freeze rejected every trade in that currency.
  • A freeze tripped by an orderbook fill now also cancels the subaccount’s open MMP quotes. Before, only a freeze tripped by an RFQ fill cancelled them.
To stop all trading in a currency when MMP trips, set mmp: true on every order and quote. Request and response shapes do not change.

Risk universe on instruments

  • public/get_all_instruments and public/get_instrument entries carry a new risk_universe_id field. Only subaccounts in that risk universe can trade the instrument.
All changes are additive.

Public subaccount lookup

  • public/get_subaccounts returns the subaccount IDs that a wallet owns. It takes the same wallet param and returns the same shape as private/get_subaccounts, but needs no authentication. A wallet with no account returns an empty list.

Margin reads use the manager’s params

  • private/get_subaccount, private/get_positions, private/get_collaterals, private/get_all_portfolios, private/get_margin and public/margin_watch now report margins under the subaccount’s manager’s params. Before, a subaccount with a delayed-liquidation override got margins under that override. For private/get_margin, is_valid_trade also uses the manager’s params.
  • open_orders_margin also uses the manager’s params, as in v2. Order checks use the delayed-liquidation override, so for a subaccount with one the two can differ. This is rare, because an override usually loosens maintenance margin only.
  • public/margin_watch and private/get_margin take an optional is_delayed_liquidation parameter, false by default. Set it to get margins under the subaccount’s delayed-liquidation override. For a subaccount without one, the call fails with margin_override_missing (19008). With it, private/get_margin’s is_valid_trade matches the order check. The public/margin_watch result’s is_delayed_liquidation field reports which params the margins use.
  • public/margin_watch returns two new fields. has_delayed_liquidation reports whether the subaccount has a delayed-liquidation override. regular_margin_flagged_sec gives the Unix second when a subaccount with an override was first seen below its manager’s maintenance margin. It is null otherwise.
Only subaccounts with a delayed-liquidation override see different values. The other changes are additive.

Maker RFQ history

  • private/get_maker_rfq_history lists filled, cancelled and expired RFQs that you were eligible to quote as a maker, including RFQs you did not quote. It takes the same filters as private/poll_rfqs, but from_timestamp and to_timestamp filter on RFQ creation time. Without from_timestamp, it returns the 30 days before to_timestamp (or before now). Results have the private/poll_rfqs RFQ shape, with fill_rate and recent_fill_rate set to null.
  • private/poll_rfqs returns only open RFQs, including partially filled ones. In v2 it also returned filled, cancelled and expired RFQs. Use private/get_maker_rfq_history for those.
All changes are additive.

Forwarded withdrawals to home chains

Withdrawals of bridged tokens can now go back to their home chain in one step. See Forwarded withdrawals.
  • private/register_withdraw_address returns a withdraw address for a (recipient, chain_id). Withdraw to it with private/withdraw, and Derive bridges the payout to the recipient. Derive pays the bridge fee.
  • private/get_withdrawal_history entries to a withdraw address carry a new forward object with the forward’s status, bridge message id and destination tx.
  • private/get_withdraw_addresses lists your withdraw addresses, where each forwards to, and whether it is on your whitelist.
  • New errors from private/register_withdraw_address: withdraw_destination_unsupported (11046) and invalid_withdraw_recipient (11047).
All changes are additive.
Breaking

public/get_all_instruments with expired: true lists only expired options

For instrument_type: "option", expired: true now returns only expired options. Previously it returned live and expired options together. expired: false is unchanged and returns live options.
  • risk_universe_id now filters expired options. It was ignored for them before.
  • pagination.count and num_pages count only expired options.
  • An empty listing returns instrument_not_found (12001), as every other empty listing does.
  • Perps and spot ignore expired, as before.
An option enters the expired: true listing up to a minute before it expires, so it does not drop out of both listings at expiry. For a few minutes after settlement, its option_details.settlement_price in this listing can be null. public/get_instrument returns the settlement price at once.To list live and expired options in a way that works before and after this change, call expired: false, then expired: true. Merge the results by instrument_name, and treat instrument_not_found (12001) as an empty result.

History endpoints report asset as the currency name

private/get_deposit_history, private/get_withdrawal_history and private/get_erc20_transfer_history now return asset as the currency name (e.g. "USDC"), matching v2 and the asset_name these operations are submitted with. Previously the field carried the protocol spot-asset contract address. private/get_withdrawal_history still reports the on-chain token under erc20_address.
Breaking

public/get_assets is removed

The route reported every asset of one asset_type for a currency, but only ever from the fallback risk universe, so its perp and lending figures did not describe any tradeable market. Nothing consumed it.Read assets from the endpoints that are keyed by risk universe instead:
  • public/get_currency and public/get_all_currencies — the option, perp and spot assets registered to a currency, with per-universe OI, discounts and lending.
  • public/get_all_instruments and public/get_instrument — tradeable instruments and their type-specific details.

Perp margin rates and max leverage are public again

srm_perp_margin_requirements returns, carrying the v2 field set — im_perp_req, mm_perp_req and max_leverage — as decimal strings. max_leverage is 1 / im_perp_req rounded to 2 decimals.It is reported in two places, both keyed by risk universe:
  • public/get_currency and public/get_all_currencies — on each entry of perp.universes[].
  • public/get_instrument and public/get_all_instruments — inside perp_details, for the instrument’s own risk universe.
The object is absent (or null) where no Standard Risk Manager in that universe prices the currency, and on option assets. A currency whose perp market has been scaled out reports im_perp_req of "0" and max_leverage of "0" — v2’s behaviour, retained.The v2 path is not restored: the object no longer sits at the top level of the currency response. See Migrating from V2.

Deposits that arrive over a bridge carry their origin

public/get_pending_deposits and private/get_deposit_history now report where a deposit came from when it reached your escrow over a bridge. No method was added, and nothing about crediting is different: a bridge delivers an ordinary ERC-20 transfer into the escrow, which is swept and credited exactly as a transfer from your own wallet would be.
  • public/get_pending_deposits lists every bridge into your escrows in pending_deposits[], one entry per deposit throughout. While the funds are in transit, before any L1 transaction exists, the entry has status: "bridging"; once the L1 deposit is recorded it is that deposit’s entry, with its own status. Key a bridging entry on bridge_to_l1.bridge_id: it gains tx_hash and log_index when the deposit lands.
  • Now optional on pending_deposits[] entries, absent while bridging: action_id, tx_hash, log_index and block_number. amount is also absent until the bridge delivers, then what arrived. They remain present on every L1 entry.
  • Entries carry an optional bridge_to_l1 object: rail, bridge_id, source_chain_id, source_tx_hash, source_address (your wallet on the source chain), bridge_status, substatus, deposit_address, token, expected_amount (source-chain units, an upper bound before fees), receiving_tx_hash, receiving_token, receiving_amount, delivered_at_ms and expires_at_ms. bridge_status moves submitted → delivered → matched, or ends failed (refunded on the source chain), expired (unresolved past expires_at_ms) or unmatched (delivered but not credited within 24 hours; contact support).
  • private/get_deposit_history entries gain an optional bridge_origin object with rail, source_chain_id, source_tx_hash and source_address, so provenance survives after the deposit is applied.
  • private/get_deposit_history entries also gain optional l1_tx_hash and l1_sender: the L1 transaction that moved the funds into your deposit address, and who sent it (your wallet, an exchange, or a bridge’s relayer). tx_hash remains the settlement batch’s commit, null until the batch settles. Both are absent when no tracked L1 transfer backs the deposit, or when one action credited several transfers at once.
rail is lifi today; the field exists so a second bridge protocol can be added without a breaking change. A bridge sent outside Derive’s own quotes is not tracked and appears as a plain deposit, exactly as before.See Programmatic Onboarding.
Breaking

Testnet settlement contracts redeployed

The Derive v3 testnet (Ethereum Sepolia, chain ID 11155111) settlement contracts were redeployed. The sequencer only watches the new deployment: a deposit sent to a previous OnchainActionManager is not credited, and earlier withdrawal outboxes receive no new payouts.The mock ERC-20 tokens are unchanged, but the protocol spot-asset addresses (the asset argument to deposit and depositToNewSubaccount) are new. Read them from public/get_risk_universes or public/get_all_currencies rather than hardcoding them.If you hardcoded a testnet ACTION_MANAGER, update it — see Contracts and Programmatic Onboarding. Signing constants (module addresses, ACTION_TYPEHASH, the EIP-712 domain separator) are unaffected.
Breaking

Proven operations share one per-wallet rate-limit budget

Every method that submits a proven operation outside order matching now carries the proven rate-limit class and decrements a single per-wallet budget of 1 TPS by default (5 points per 5s window on mainnet). Previously most of these methods drew from the far larger non_matching budget, and a few had their own per-method budget.Affected methods: private/transfer_spot, private/transfer_spot_external, private/transfer_positions, private/withdraw, private/liquidate, private/set_session_key, private/delete_subaccount, private/update_whitelisted_recipients, private/create_vault, private/mint_vault_shares, private/burn_vault_shares, private/request_vault_deposit, private/request_vault_withdraw, private/cancel_all_vault_requests, private/force_burn.
  • public/getRateLimits reports the budget under remaining_per_endpoint.proven.
  • Rejections use the usual -32000 code with message Rate limit exceeded: {wallet}-proven.
  • Order, quote, and RFQ execution methods are unaffected.
See Rate Limits.
Breaking

private/create_session_key renamed to private/set_session_key

The route now matches what the action does (register, refresh, or retire a key by writing a nearer expiry) and its L1 counterpart, the SetSessionKey onchain action. Everything about the rename is mechanical:
  • Route: private/create_session_key → private/set_session_key (and the debug variant private/create_session_key_debug → private/set_session_key_debug). The old route names are gone.
  • Protocol scope: create_session_key → set_session_key in protocol_scopes on registration requests and in private/session_keys responses.
  • TypeScript SDK: client.sessionKeys.create(...) → client.sessionKeys.set(...); ProtocolScopeCode.CreateSessionKey → ProtocolScopeCode.SetSessionKey.

Signed action payloads now use canonical Solidity ABI encoding

Every signed action’s data bytes are now exactly what Solidity abi.encode produces — if you sign with a standard ABI coder (ethers AbiCoder, viem encodeAbiParameters, abi.encode in a contract), nothing changes for you. Hand-rolled encoders must drop the previous non-standard layouts, which are no longer accepted:private/set_session_key and the L1 SetSessionKey action (type 51)The payload is canonical abi.encode(address sessionKey, uint256 expirySec, uint256[] scopes, uint256[] subaccountIds) — dynamic arrays sit behind standard offset words, each prefixed by its length word. The old hand-packed layout ([key][expiry][scopeCount][subaccountCount][scopes…] [subaccounts…], no offsets) is rejected. In Solidity, build the L1 payload with a plain abi.encode call instead of packing words manually.private/update_whitelisted_recipientsThe payload is canonical abi.encode(address[] add, address[] remove). The old hand-packed layout ([addCount][removeCount][adds…][removes…], no offsets) is rejected.Orders (private/order) and liquidations (private/liquidate)Negative int256 values (limit_price, amount, price_limit) are now full 32-byte two’s-complement words, sign-extended through the high 16 bytes — standard ABI coder output. Previously the server produced and expected a non-standard form with the value packed into the low 16 bytes only, which broke standard-signing clients on negative liquidation price limits. Non-negative values encode identically, so most existing signatures are unaffected.Decoding is also strict across these payloads: offset words must point at their canonical positions, lengths must match the byte count, and value words must fit their field’s range — dirty high bytes are rejected instead of silently truncated, matching Solidity abi.decode.See Action signing for the per-module payload layouts.
Breaking

Settlement status unified under batch_status

The tx_status field and the TxStatus type are removed. Every route and channel that reported settlement status now uses batch_status, typed as the shared BatchStatus enum — Batching, Executing, Proving, Settling, Settled and their …Error counterparts — and null until the operation is picked up into a batch.This replaces the old granular transaction states (applied, in_batch, proving, submitted) and the lowercase matching-engine values (requested, pending, settled, reverted, ignored, timed_out), which are all gone across the entire API. There is now one status field, one set of values.REST methods
  • public/get_trade_history — optional batch_status request filter (unset returns trades in every batch state) and on each trade
  • private/get_trade_history — batch_status on each trade
  • private/order, private/replace — batch_status on each trades[] entry (always null at placement)
  • private/send_quote, private/cancel_quote, private/replace_quote, private/get_quotes, private/transfer_positions — batch_status on each quote (present only for executed quotes)
  • private/get_deposit_history, private/get_withdrawal_history, private/get_erc20_transfer_history, private/get_funding_history — batch_status on each row
  • public/get_transaction — status uses the same BatchStatus values
WebSocket channels
  • trades.{instrument_type}.{currency}.{tx_status} and {subaccount_id}.trades.{tx_status} — removed; settlement is no longer streamed. Poll public/get_trade_history for batch_status / tx_hash instead
  • trades.{instrument_name}, trades.{instrument_type}.{currency} — each event now carries the full trade detail (wallet, subaccount_id, liquidity_role, fees, realized PnL)
  • {subaccount_id}.trades, {subaccount_id}.quotes — batch_status on each payload item

instrument_type is now a typed enum

On the trade-history schemas, instrument_type is typed as the AssetType enum (erc20 / option / perp) instead of a free-form string.See Breaking changes → Settlement status for the full route table and value reference.