Method Name
private/create_subaccount
private/create_subaccountCreate a new subaccount under a given wallet, and deposit an asset into that subaccount.
See public/create_subaccount_debug for debugging invalid signature issues or go to guides in Documentation.
Required minimum session key permission level is admin
Parameters
amount
string required |
asset_name
string required |
margin_type
string required |
nonce
integer required |
signature
string required |
signature_expiry_sec
integer required |
signer
string required |
wallet
string required |
currency
string |
Response
id string or integer required |
result object required |
result.
status
string required |
result.
transaction_id
string required |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}