public/register_deposit_address
Changed onA pre-requisite before using the standard deposit method as opposed to direct contract calls. Returns the deterministic on-chain deposit address for a wallet and records it so incoming deposits are watched and credited. Pass the wallet and optionally an existing subaccount id; when creating a new subaccount (subaccount omitted or 0) a non-zero manager_id is required. Repeated calls return the same cached address and keep it alive, while new registrations are rate limited per rolling window; unused addresses are dropped after 7 days.
Request
- Base URLhttps://api.derive.xyz/v3
- Authnone declared
Request body
Manager the deposit routes under. Required (non-zero) when creating a new subaccount (subaccount_id omitted or 0); must be 0 or omitted for an existing subaccount — it salts the deposit address, so a nonzero value would mint a distinct escrow for the same destination.
Wallet address to watch for deposits.
Response
Success
Changes
- info
added the media type
application/jsonfor the response with the status
- info