coin_info
Coin Info
This module contains the CoinInfo
type hint which is a TypedDict
that represents the structure of the coin information
Classes
CoinInfo
: ATypedDict
that represents the structure of the coin information
CoinInfo
Bases: TypedDict
Coin Information.
Attributes:
Name | Type | Description |
---|---|---|
id |
int
|
ID. |
symbol |
str
|
Symbol. |
name |
str
|
Name. |
fa_name |
str
|
Fa name. |
web_icon |
str
|
Web icon. |
app_icon |
str
|
App icon. |
Examples:
>>> CoinInfo(
... id=1,
... symbol="symbol",
... name="name",
... fa_name="fa_name",
... web_icon="web_icon",
... app_icon="app_icon",
... )
{'id': 1, 'symbol': 'symbol', 'name': 'name', 'fa_name': 'fa_name', 'web_icon': 'web_icon', 'app_icon': 'app_icon'}