| Name | Type | Description | Notes |
|---|---|---|---|
| code | int | ||
| message | str | [optional] | |
| account_type | int | ||
| index | int | ||
| l1_address | str | ||
| cancel_all_time | int | ||
| total_order_count | int | ||
| total_isolated_order_count | int | ||
| pending_order_count | int | ||
| available_balance | str | ||
| status | int | ||
| collateral | str | ||
| transaction_time | int | ||
| account_trading_mode | int | ||
| account_index | int | ||
| name | str | ||
| description | str | ||
| can_invite | bool | Remove After FE uses L1 meta endpoint | |
| referral_points_percentage | str | Remove After FE uses L1 meta endpoint | |
| created_at | int | ||
| positions | List[AccountPosition] | ||
| assets | List[AccountAsset] | ||
| total_asset_value | str | ||
| cross_asset_value | str | ||
| pool_info | PublicPoolInfo | ||
| shares | List[PublicPoolShare] | ||
| pending_unlocks | List[PendingUnlock] | ||
| approved_integrators | List[ApprovedIntegrator] |
from lighter.models.detailed_account import DetailedAccount
# TODO update the JSON string below
json = "{}"
# create an instance of DetailedAccount from a JSON string
detailed_account_instance = DetailedAccount.from_json(json)
# print the JSON string representation of the object
print(DetailedAccount.to_json())
# convert the object into a dict
detailed_account_dict = detailed_account_instance.to_dict()
# create an instance of DetailedAccount from a dict
detailed_account_from_dict = DetailedAccount.from_dict(detailed_account_dict)