pub struct SimulateFeesResponse {Show 17 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_maker_rebate_bps_exact: Option<String>,
pub monaco_taker_fee: Option<String>,
pub monaco_taker_fee_bps: Option<i32>,
pub monaco_taker_fee_bps_exact: Option<String>,
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": {
"applicationName": {
"description": "Application display name",
"examples": [
"Monaco Trading Frontend"
],
"type": [
"string",
"null"
]
},
"applicationTakerFee": {
"description": "Application-specific taker fee in quote token",
"examples": [
"10.00"
],
"type": [
"string",
"null"
]
},
"applicationTakerFeeBps": {
"description": "Application taker fee rate in basis points",
"examples": [
5
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"buyOrderLockAmount": {
"description": "Amount locked for buy orders. For MARKET orders, includes slippage buffer.",
"examples": [
"20030.00"
],
"type": [
"string",
"null"
]
},
"makerTotalReceipt": {
"description": "Total amount received by maker (notional - rebate)",
"examples": [
"19995.00"
],
"type": [
"string",
"null"
]
},
"maxQuantity": {
"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"
]
},
"maxQuantityRaw": {
"description": "Maximum quantity in RAW (smallest unit) format",
"examples": [
"99950000000000000000"
],
"type": [
"string",
"null"
]
},
"monacoMakerRebate": {
"description": "Monaco maker rebate in quote token (negative)",
"examples": [
"-5.00"
],
"type": [
"string",
"null"
]
},
"monacoMakerRebateBps": {
"description": "DEPRECATED: whole-basis-points maker rebate. An integer cannot represent fractional tiered rebates (e.g. -1.15), so this echoes the flat trading_pairs column, NOT the tier-resolved rate. Kept for backward compatibility. Use monaco_maker_rebate_bps_exact (or GET /api/v1/fees/tier).",
"deprecated": true,
"examples": [
-2
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"monacoMakerRebateBpsExact": {
"description": "Tier-resolved Monaco maker rebate as a decimal basis-points string (negative is a rebate) — the exact rate the ledger credits this caller. Fractional and per-tier, e.g. \"-1\". Prefer this over the deprecated integer monaco_maker_rebate_bps.",
"examples": [
"-1"
],
"type": [
"string",
"null"
]
},
"monacoTakerFee": {
"description": "Monaco protocol taker fee in quote token",
"examples": [
"20.00"
],
"type": [
"string",
"null"
]
},
"monacoTakerFeeBps": {
"description": "DEPRECATED: whole-basis-points taker rate. An integer cannot represent fractional tiered rates (e.g. 6.5), so this echoes the flat trading_pairs column, NOT the tier-resolved rate the ledger charges. Kept for backward compatibility. Use monaco_taker_fee_bps_exact (or GET /api/v1/fees/tier).",
"deprecated": true,
"examples": [
10
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"monacoTakerFeeBpsExact": {
"description": "Tier-resolved Monaco taker fee rate as a decimal basis-points string — the exact rate the ledger charges this caller (equals monaco_taker_fee / notional). Fractional and per-tier, e.g. \"6.5\". Prefer this over the deprecated integer monaco_taker_fee_bps.",
"examples": [
"6.5"
],
"type": [
"string",
"null"
]
},
"notional": {
"description": "Notional value (price x quantity)",
"examples": [
"20000.00"
],
"type": [
"string",
"null"
]
},
"slippageToleranceBps": {
"description": "Slippage tolerance used in the calculation (echoed back)",
"examples": [
500
],
"type": [
"integer",
"null"
],
"format": "int32"
},
"takerTotalPayment": {
"description": "Total amount paid by taker (notional + fees)",
"examples": [
"20030.00"
],
"type": [
"string",
"null"
]
},
"totalTakerFees": {
"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>DEPRECATED: whole-basis-points maker rebate. An integer cannot represent fractional tiered rebates (e.g. -1.15), so this echoes the flat trading_pairs column, NOT the tier-resolved rate. Kept for backward compatibility. Use monaco_maker_rebate_bps_exact (or GET /api/v1/fees/tier).
monaco_maker_rebate_bps_exact: Option<String>Tier-resolved Monaco maker rebate as a decimal basis-points string (negative is a rebate) — the exact rate the ledger credits this caller. Fractional and per-tier, e.g. “-1”. Prefer this over the deprecated integer monaco_maker_rebate_bps.
monaco_taker_fee: Option<String>Monaco protocol taker fee in quote token
monaco_taker_fee_bps: Option<i32>DEPRECATED: whole-basis-points taker rate. An integer cannot represent fractional tiered rates (e.g. 6.5), so this echoes the flat trading_pairs column, NOT the tier-resolved rate the ledger charges. Kept for backward compatibility. Use monaco_taker_fee_bps_exact (or GET /api/v1/fees/tier).
monaco_taker_fee_bps_exact: Option<String>Tier-resolved Monaco taker fee rate as a decimal basis-points string — the exact rate the ledger charges this caller (equals monaco_taker_fee / notional). Fractional and per-tier, e.g. “6.5”. Prefer this over the deprecated integer monaco_taker_fee_bps.
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