Create subaccount
This endpoint allows regular accounts to create subaccounts with a secure authentication scheme. Both the main account and subaccount must sign to establish the relationship.
Last updated
This endpoint allows regular accounts to create subaccounts with a secure authentication scheme. Both the main account and subaccount must sign to establish the relationship.
Last updated
The subaccount creation process follows the below steps.
The main account must authorize the creation of a subaccount under its control
The subaccount must consent to being controlled by the main account
The API server must verify both signatures to prevent unauthorized subaccount creation
Please refer to our for a comprehensive guide on subaccount creation via API
"main_account"
string
required
Main account wallet address
42trU9A5...
"subaccount"
string
required
Subaccount wallet address
69trU9A5...
"timestamp"
integer
required
Current timestamp in milliseconds
1716200000000
"main_signature"
string
required
Main account signature
5j1Vy9Uq...
"sub_signature"
string
required
Subaccount signature
4k2Wx8Zq...
"expiry_window"
integer
optional
Signature expiry in milliseconds
30000
Status 200: Subaccount created successfully
Status 400: Bad request
Status 500: Internal server error
Please refer to our for a comprehensive guide on subaccount creation via API