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
{
"main_account": "42trU9A5...",
"subaccount": "69trU9A5...",
"main_signature": "5j1Vy9Uq...",
"sub_signature": "4k2Wx8Zq...",
"timestamp": 1716200000000,
"expiry_window": 30000
}{
"success": true,
"data": null,
"error": null,
"code": null,
}{
"success": false,
"data": null,
"error": "Account already exists: CRTxBM...",
"code": 2
}