Method Name
private/deposit
private/depositDeposit an asset to a subaccount.
See public/deposit_debug' for debugging invalid signature issues or go to guides in Documentation.<br />Required minimum session key permission level is admin`
Parameters
| amountstringrequired Amount of the asset to deposit |
| asset_namestringrequired Name of asset to deposit |
| nonceintegerrequired Unique nonce defined as (UTC_timestamp in ms)(random_number_up_to_6_digits) (e.g. 1695836058725001, where 001 is the random number) |
| signaturestringrequired Ethereum signature of the deposit |
| signature_expiry_secintegerrequired Unix timestamp in seconds. Expiry MUST be >5min from now |
| signerstringrequired Ethereum wallet address that is signing the deposit |
| subaccount_idintegerrequired Subaccount_id |
| is_atomic_signingboolean Used by vaults to determine whether the signature is an EIP-1271 signature |
Response
| idstring or integerrequired |
| resultobjectrequired |
result.statusstringrequiredrequested |
| result.transaction_idstringrequired Transaction id of the deposit |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}