Partner Fees are a pattern, not a separate product. The hooks are part of the standard SDK — you add fee fields, DZap respects them, and the fee accrues to the address you specify.
How it works
1
Quote with your fee
Pass
partnerFee in the quote request — basis points + recipient address.2
DZap returns net + gross
Quote response includes both the user-facing output (net of all fees) and the breakdown (DZap protocol fee, your partner fee, gas).
3
Execute as normal
Build + send via
trade() or zap(). Your fee accrues automatically — no separate transaction.4
Withdraw / track
Your address receives the partner fee in the destination token (or source, depending on flow). Track via on-chain analytics or a server-side ledger.
Fee fields
You can use either
bps or flat; not both.
Combining with gasless
Partner Fees + gasless: your fee is committed in the EIP-712 intent (inexecutorFeesHash). Solvers can’t strip it after signing.
When to ask for a partnership
If you’re routing meaningful volume (~$1M+/month) and want a custom fee tier, joint announcements, or a dedicated support channel — see Partnership Requests.See also
- Fees — DZap’s own fee schedule.
- Partnerships — request a custom tier.
- SDK Trade — the underlying trade methods.