Subaccounts
public/get_wallet
Changed onReturns the wallet address that owns subaccount_id; the reverse of public/get_subaccounts. Returns a subaccount-not-found error if the subaccount does not exist. The result can be up to 60 seconds old. Public endpoint, no authentication required.
post/public/get_wallet
Request
- Base URLhttps://api.derive.xyz/v3
- Authnone declared
Request body
Public Get Wallet Request required
subaccount_id, integer required
Response
Success
Public Get Wallet Response required
subaccount_id, integer required
wallet, string required
Changes
- info
added the media type
application/jsonfor the response with the status
- info
- info
endpoint added
- info