private/transfer_spot_external
Changed onSubmits a signed transfer of a single spot asset to a subaccount belonging to a different owner. Alongside the standard transfer fields (asset, sub_id, amount, nonce, signer, signature, expiry, max USD fee) you give the recipient's wallet address and either an existing destination subaccount or 0 to create a new one under new_subaccount_manager; the max fee must cover both the transfer and any subaccount-creation cost. Requires a session key permitted to transfer to a different owner and returns the operation id and uuid.
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
Transfer amount in units of the asset, as a decimal string (e.g. "1.5") or JSON number.
Maximum sequencer fee the signer authorises, in USD, as a decimal string (e.g. "1.5") or a JSON number. Must cover both the transfer fee and any subaccount-creation fee.
Manager id for the new subaccount when to_subaccount_id == 0.
Owner of the destination account/subaccount. Must not be the sender's own wallet; use private/transfer_spot for that.
Recipient's existing destination subaccount. 0 → create a new subaccount for recipient_address under new_subaccount_manager.
Response
Success
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