Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.23 KB

File metadata and controls

34 lines (25 loc) · 1.23 KB

Rate

Properties

Name Type Description Notes
via AccessType
base_asset_id str The source asset identifier
base_asset_rail TransferRail [optional]
quote_asset_id str The target asset identifier
quote_asset_rail TransferRail [optional]
rate str The indicative exchange rate — the number of units of the quote asset that equal 1 unit of the base asset. For example, if base is BTC and quote is USD, a rate of 75000 means 1 BTC = 75,000 USD.

Example

from fireblocks.models.rate import Rate

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

# convert the object into a dict
rate_dict = rate_instance.to_dict()
# create an instance of Rate from a dict
rate_from_dict = Rate.from_dict(rate_dict)

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