pub struct SimulateFeesResponse {Show 15 fields
pub application_name: Option<String>,
pub application_taker_fee: Option<String>,
pub application_taker_fee_bps: Option<i32>,
pub buy_order_lock_amount: Option<String>,
pub maker_total_receipt: Option<String>,
pub max_quantity: Option<String>,
pub max_quantity_raw: Option<String>,
pub monaco_maker_rebate: Option<String>,
pub monaco_maker_rebate_bps: Option<i32>,
pub monaco_taker_fee: Option<String>,
pub monaco_taker_fee_bps: Option<i32>,
pub notional: Option<String>,
pub slippage_tolerance_bps: Option<i32>,
pub taker_total_payment: Option<String>,
pub total_taker_fees: Option<String>,
}Expand description
SimulateFeesResponse
JSON schema
{
"type": "object",
"properties": {
"application_name": {
"description": "Application display name",
"examples": [
"Monaco Trading Frontend"
],
"type": [
"string",
"null"
]
},
"application_taker_fee": {
"description": "Application-specific taker fee in quote token",
"examples": [
"10.00"
],
"type": [
"string",
"null"
]
},
"application_taker_fee_bps": {
"description": "Application taker fee rate in basis points",
"examples": [
5
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"buy_order_lock_amount": {
"description": "Amount locked for buy orders. For MARKET orders, includes slippage buffer.",
"examples": [
"20030.00"
],
"type": [
"string",
"null"
]
},
"maker_total_receipt": {
"description": "Total amount received by maker (notional - rebate)",
"examples": [
"19995.00"
],
"type": [
"string",
"null"
]
},
"max_quantity": {
"description": "Maximum quantity affordable at the given price, accounting for fees and slippage. Powers the 100% range input on the FE.",
"examples": [
"99.95"
],
"type": [
"string",
"null"
]
},
"max_quantity_raw": {
"description": "Maximum quantity in RAW (smallest unit) format",
"examples": [
"99950000000000000000"
],
"type": [
"string",
"null"
]
},
"monaco_maker_rebate": {
"description": "Monaco maker rebate in quote token (negative)",
"examples": [
"-5.00"
],
"type": [
"string",
"null"
]
},
"monaco_maker_rebate_bps": {
"description": "Monaco maker rebate rate in bps (negative)",
"examples": [
-2
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"monaco_taker_fee": {
"description": "Monaco protocol taker fee in quote token",
"examples": [
"20.00"
],
"type": [
"string",
"null"
]
},
"monaco_taker_fee_bps": {
"description": "Monaco taker fee rate in basis points",
"examples": [
10
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"notional": {
"description": "Notional value (price x quantity)",
"examples": [
"20000.00"
],
"type": [
"string",
"null"
]
},
"slippage_tolerance_bps": {
"description": "Slippage tolerance used in the calculation (echoed back)",
"examples": [
500
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"taker_total_payment": {
"description": "Total amount paid by taker (notional + fees)",
"examples": [
"20030.00"
],
"type": [
"string",
"null"
]
},
"total_taker_fees": {
"description": "Total taker fees (monaco + application)",
"examples": [
"30.00"
],
"type": [
"string",
"null"
]
}
}
}Fields§
§application_name: Option<String>Application display name
application_taker_fee: Option<String>Application-specific taker fee in quote token
application_taker_fee_bps: Option<i32>Application taker fee rate in basis points
buy_order_lock_amount: Option<String>Amount locked for buy orders. For MARKET orders, includes slippage buffer.
maker_total_receipt: Option<String>Total amount received by maker (notional - rebate)
max_quantity: Option<String>Maximum quantity affordable at the given price, accounting for fees and slippage. Powers the 100% range input on the FE.
max_quantity_raw: Option<String>Maximum quantity in RAW (smallest unit) format
monaco_maker_rebate: Option<String>Monaco maker rebate in quote token (negative)
monaco_maker_rebate_bps: Option<i32>Monaco maker rebate rate in bps (negative)
monaco_taker_fee: Option<String>Monaco protocol taker fee in quote token
monaco_taker_fee_bps: Option<i32>Monaco taker fee rate in basis points
notional: Option<String>Notional value (price x quantity)
slippage_tolerance_bps: Option<i32>Slippage tolerance used in the calculation (echoed back)
taker_total_payment: Option<String>Total amount paid by taker (notional + fees)
total_taker_fees: Option<String>Total taker fees (monaco + application)
Trait Implementations§
Source§impl Clone for SimulateFeesResponse
impl Clone for SimulateFeesResponse
Source§fn clone(&self) -> SimulateFeesResponse
fn clone(&self) -> SimulateFeesResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more