HomeDocumentationAPI Reference
Log In
API Reference

Withdraw

Method Name

private/withdraw

Withdraw an asset to wallet.

See public/withdraw_debug for debugging invalid signature issues or go to guides in Documentation.
Required minimum session key permission level is admin

Parameters

amount  string required
Amount of the asset to withdraw

asset_name  string required
Name of asset to withdraw

nonce  integer required
Unique nonce defined as (UTC_timestamp in ms)(random_number_up_to_6_digits) (e.g. 1695836058725001, where 001 is the random number)

signature  string required
Ethereum signature of the withdraw

signature_expiry_sec  integer required
Unix timestamp in seconds. Expiry MUST be >5min from now

signer  string required
Ethereum wallet address that is signing the withdraw

subaccount_id  integer required
Subaccount_id

is_atomic_signing  boolean
Used by vaults to determine whether the signature is an EIP-1271 signature

Response

id  string or integer required

result  object required

result. status  string required
requested

result. transaction_id  string required
Transaction id of the withdrawal

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}