Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 2.27 KB

File metadata and controls

46 lines (37 loc) · 2.27 KB

QuoteOffer

Properties

Name Type Description Notes
via AccessType
id str The unique identifier of the quote.
quote_asset_id str The target asset identifier.
quote_asset_rail TransferRail [optional]
base_asset_id str The source asset identifier.
base_asset_rail TransferRail [optional]
base_amount str The amount of the base asset.
quote_amount str The amount of the quote asset.
price_impact float The estimated price impact as a decimal fraction. [optional]
quote_min_amount str The minimum guaranteed amount of the quote asset. [optional]
is_slippage_applied bool Indicates if slippage was applied to the quote. [optional] [default to False]
execution_steps List[QuoteExecutionStep] Ordered list of execution steps for the quote. [optional]
general_fees List[Fee] General fees associated with the quote. [optional]
side Side
expires_at str The expiration time of the quote in ISO 8601 format.
order_creation_requirements str A JSON Schema Draft-7 document in string format describing the fields required when creating an order so clients can validate their order payload before sending. [optional]
type str The type of the quote.
offer_type str The type of offer — QUOTE for executable committed quotes.

Example

from fireblocks.models.quote_offer import QuoteOffer

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

# convert the object into a dict
quote_offer_dict = quote_offer_instance.to_dict()
# create an instance of QuoteOffer from a dict
quote_offer_from_dict = QuoteOffer.from_dict(quote_offer_dict)

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