Get Parent Subaccount
Query for the parent subaccount, its child subaccounts, equity, collateral and margin. See more information on parent subaccounts here. e.g. parent subaccount 0 has child subaccounts 128, 256,...
Method Declaration
Python
async def get_parent_subaccount(
self,
address: str,
subaccount_number: int,
) -> AnyParameters
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
address | path | Address | true | The wallet address that owns the parent subaccount. |
number | path | SubaccountNumber | true | The identifier for the specific subaccount within the wallet address. |
Response
| Status | Meaning | Schema | Description |
|---|---|---|---|
200 | OK | ParentSubaccountResponseObject ⛁ | The parent subaccount data. |
400 | Bad Request | The request was malformed or invalid. | |
404 | Not Found | The parent subaccount was not found. |