Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1.63 KB

File metadata and controls

49 lines (40 loc) · 1.63 KB

PublicPool

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
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
total_asset_value str
cross_asset_value str
pool_info PublicPoolInfo
account_share PublicPoolShare [optional]

Example

from lighter.models.public_pool import PublicPool

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

# convert the object into a dict
public_pool_dict = public_pool_instance.to_dict()
# create an instance of PublicPool from a dict
public_pool_from_dict = PublicPool.from_dict(public_pool_dict)

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