Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.5 KB

File metadata and controls

40 lines (31 loc) · 1.5 KB

Asset

Properties

Name Type Description Notes
id str The ID of the asset
legacy_id str The Legacy ID of the asset
blockchain_id str The ID of the asset's blockchain [optional]
display_name str Asset's display name
display_symbol str Asset's display symbol
provider_id str The ID of the asset provider [optional]
pegged_asset_id str The ID of the pegged asset [optional]
assets List[str] List of asset IDs for virtual assets [optional]
asset_class AssetClass
decimals float Number of decimals for FIAT assets [optional]
onchain AssetDetailsOnchain [optional]
metadata AssetDetailsMetadata

Example

from fireblocks.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]