HomeDocumentationAPI Reference
Log In
API Reference

Create Subaccount Debug

Used for debugging only, do not use in production. Will return the incremental encoded and hashed data.

See guides in Documentation for more.

Body Params
string
required

Amount of the asset to deposit

string
required

Name of asset to deposit

string | null
Defaults to null

Base currency of the subaccount (only for PM)

string
enum
required

PM (Portfolio Margin), PM2 (Portfolio Margin 2), or SM` (Standard Margin))

Allowed:
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)

integer
required

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

string
required

Ethereum wallet address that is signing the deposit

string
required

Ethereum wallet address

Response

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json