Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.21 KB

File metadata and controls

42 lines (33 loc) · 1.21 KB

Account

Properties

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

Example

from lighter.models.account import Account

# TODO update the JSON string below
json = "{}"
# create an instance of Account from a JSON string
account_instance = Account.from_json(json)
# print the JSON string representation of the object
print(Account.to_json())

# convert the object into a dict
account_dict = account_instance.to_dict()
# create an instance of Account from a dict
account_from_dict = Account.from_dict(account_dict)

[Back to Model list] [Back to API list] [Back to README]