Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.28 KB

File metadata and controls

45 lines (36 loc) · 1.28 KB

Asset

Properties

Name Type Description Notes
asset_id int
symbol str
l1_decimals int
decimals int
min_transfer_amount str
min_withdrawal_amount str
margin_mode str
index_price str
l1_address str
global_supply_cap str
liquidation_fee str
liquidation_threshold str
loan_to_value str
price_decimals int
total_supplied str
user_supply_cap str
liquidation_factor str

Example

from lighter.models.asset import Asset

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

# convert the object into a dict
asset_dict = asset_instance.to_dict()
# create an instance of Asset from a dict
asset_from_dict = Asset.from_dict(asset_dict)

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