Transfers & Withdrawals

private/transfer_positions

Atomically transfers one or more derivative positions between a maker and a taker subaccount using matched, signed transfer quotes. Each side supplies its subaccount, signer, nonce, signature, expiry, max fee, direction, and priced legs (instrument, amount, price); the two quotes must mirror each other. Requires a session key with transfer permission and returns the resulting operation details.

post/private/transfer_positions

Request

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

Request body

walletstring required

20-byte Ethereum address as a 0x-prefixed lowercase hex string.

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.