Fees

Order-Router Protocol

Haystack Order Router app, by default, charges a 10 basis points (0.10%) fee on the output, in addition to any fees charged by underlying protocols that are leveraged in the swap route. The fee can be customized by protocol users by using the feeBps argument of the fetchQuote api. Additionally, the Order Router app captures any positive slippage from the expected output as fees.

The fee is shared between two parties (75% to the protocol, 25% to referrer):

  • Protocol: The Order Router protocol

  • Referrer: User-facing app or service that leverages the protocol

Additionally, the swapper is responsible for paying all network and contract call fees.

Last updated