Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.38 KB

File metadata and controls

35 lines (26 loc) · 1.38 KB

RateOffer

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.
offer_type str The type of offer — RATE for indicative pricing.

Example

from fireblocks.models.rate_offer import RateOffer

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

# convert the object into a dict
rate_offer_dict = rate_offer_instance.to_dict()
# create an instance of RateOffer from a dict
rate_offer_from_dict = RateOffer.from_dict(rate_offer_dict)

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