Docs

FAQ

Short answers that match the code.

Why can I quote but not swap?

Quotes work before a wallet is connected. The swap transaction is built for KnitxRouter at 0x9D6E...6835 unless NEXT_PUBLIC_ROUTER_ADDRESS points at another 20-byte address. Connect a wallet on chain 99901 to send it.

Who can change the fee?

The owner, through setFeeBps. The new value cannot exceed 100 basis points. The quote server uses KNITX_FEE_BPS when that variable is set, otherwise 20.

Do I need WHYPE in my wallet?

No, for a native HYPE swap. The router wraps HYPE into WHYPE on the way in and unwraps on the way out. An ERC-20 input still needs an approval to the router.