private/transfer_positions_debug
Changed onTakes the same params as private/transfer_positions and rebuilds both the maker and taker Actions without executing anything, returning for each side the EIP-712 encoded_data, encoded_data_hashed, action_hash, typed_data_hash, domain_separator, action_typehash, module, owner and expected_signer, plus the decoded action data (the maker's priced legs, and the taker's order_hash committing to them). Byte-compare these against your local computation to find why a signature is rejected. Requires a logged-in session; no transfer scope needed.
Request
- Base URLhttps://api.derive.xyz/v3
- AuthAPI key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature
Request body
Params for private/transfer_positions.
Action info that needs to be signed by quoter or RFQ executor for a transfer. The quoter signs the legs hash + max fee; the executor signs the same legs hash + their own max fee.
Action info that needs to be signed by quoter or RFQ executor for a transfer. The quoter signs the legs hash + max fee; the executor signs the same legs hash + their own max fee.
20-byte Ethereum address as a 0x-prefixed lowercase hex string.
Response
Success
private/transfer_positions_debug result: the maker and taker actions the route rebuilds, exactly as private/transfer_positions verifies them.
Debug-route payload for one rebuilt action: the EIP-712 hashes plus the action input fields.
Debug-route payload for one rebuilt action: the EIP-712 hashes plus the action input fields.
Changes
- info
the endpoint scheme security
DeriveWallet AND DeriveTimestamp AND DeriveSignaturewas added to the API - info
added the media type
application/jsonfor the response with the status
- info