feeBps, basis points applied to the input amount, and the quoted output is always net: what you see is what the destination wallet receives. There are no separate gas charges to account for anywhere; execution costs are covered and recovered from the input as part of the quoted price.
What costs what
feeBps can be fractional, as the withdrawal fee is. A withdrawal’s fee is taken from the input stable like everything else: send 100 USDC and the recipient receives the quoted net amount, with no gas token needed on either side.
$GEO holder discounts
Wallets holding $GEO earn a tiered discount on app fees. When the origin wallet qualifies, the quote carries afeeDiscount object alongside the already-discounted feeBps:
tieris the $GEO holding tier the wallet earned:tier1,tier2, ortier3.discountPercentis the percentage taken off the undiscounted fee.baseFeeBpsis the fee before the discount, so integrators can display both.
feeBps on the quote is already the effective fee, and output is already net of it. The feeDiscount object exists so your UI can show users what holding $GEO is saving them.