pub struct FirmQuoteOkResponse {Show 20 fields
pub tx: TransactionInfo,
pub tx_origin: Option<String>,
pub msg_sender: String,
pub method_abi: Abi,
pub order: HashMap<String, String>,
pub r: String,
pub vs: String,
pub gasless_approval_tx: Option<GaslessApprovalTxInfo>,
pub allowance_target: Option<String>,
pub last_valid_block_timestamp: String,
pub send_qty: String,
pub receive_qty: String,
pub min_fill_qty: String,
pub platform_fee: Option<PlatformFee>,
pub dbbo_time: u64,
pub dbbo_data: Value,
pub send_notional: Option<f64>,
pub receive_notional: Option<f64>,
pub fill_notional: Option<f64>,
pub request_id: SignatoryRequestId,
}
Fields§
§tx: TransactionInfo
The transaction. The client is responsible for populating the transaction’s nonce and gas parameters.
tx_origin: Option<String>
Address of the EOA allowed to send the transaction. If null, any EOA may send the transaction.
msg_sender: String
Address of the account allowed to call the DFlowSwap contract to fill the order
method_abi: Abi
The ABI of the DFlowSwap contract method to use to fill the order
order: HashMap<String, String>
order
to use when calling the DFlowSwap contract fill method specified by methodAbi
r: String
r
value to use when calling the DFlowSwap contract fill method specified by methodAbi
vs: String
vs
value to use when calling the DFlowSwap contract fill method specified by methodAbi
gasless_approval_tx: Option<GaslessApprovalTxInfo>
Gasless approval transaction fields. Not specified if the retail trader is sending native ETH.
allowance_target: Option<String>
The contract address for which the retail trader needs to have an allowance for the send token for the transaction to be processed. If null, then the transaction does not require an allowance from the retail trader.
last_valid_block_timestamp: String
The last block timestamp at which the transaction can be processed.
send_qty: String
Send quantity specified as a scaled integer
receive_qty: String
Receive quantity specified as a scaled integer
min_fill_qty: String
Minimum allowed fill quantity before platform fee. Specified as a scaled integer.
platform_fee: Option<PlatformFee>
Platform fee info. Only included if a platform fee was applied to the transaction.
dbbo_time: u64
Time at which the DBBO was calculated
dbbo_data: Value
(Unstable) Response body returned by the DBBO query that was used to determine the
minFillQty
send_notional: Option<f64>
Notional value in USD of the send quantity
receive_notional: Option<f64>
Notional value in USD of the receive quantity
fill_notional: Option<f64>
Notional value in USD of the fill quantity and platform fee
request_id: SignatoryRequestId
(Unstable) Signatory server request identifier
Trait Implementations§
Source§impl Clone for FirmQuoteOkResponse
impl Clone for FirmQuoteOkResponse
Source§fn clone(&self) -> FirmQuoteOkResponse
fn clone(&self) -> FirmQuoteOkResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more