mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
1.1 KiB
1.1 KiB
AccountMetadata
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| 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 |
Example
from lighter.models.account_metadata import AccountMetadata
# TODO update the JSON string below
json = "{}"
# create an instance of AccountMetadata from a JSON string
account_metadata_instance = AccountMetadata.from_json(json)
# print the JSON string representation of the object
print(AccountMetadata.to_json())
# convert the object into a dict
account_metadata_dict = account_metadata_instance.to_dict()
# create an instance of AccountMetadata from a dict
account_metadata_from_dict = AccountMetadata.from_dict(account_metadata_dict)