We are building a decentralized wallet. There are some questions about the integration with 0x.

  1. Is there any direct way to add fee
  2. If there is any API parameters to add fee.

Please share your contact email where we can contact with you.

  • It might just be me failing to understand the question. But is there a wallet named 0x??
    – Sky
    Commented Jan 6, 2023 at 8:38
  • We wants to integrate our wallet with 0x which will act as aggregator here to provide Swap services
    – vishnu
    Commented Jan 6, 2023 at 10:51

2 Answers 2


Fees can be added to an order using the takerFee and makerFee fields of the Order struct. These fields are specified in units of the order's "fee asset"


When using 0x API you can set buyTokenPercentageFee and feeRecipient parameters to receive fees on each swap made by your users. You can check here all documentation related to 0x API quote api: https://docs.0x.org/0x-api-swap/api-references/get-swap-v1-quote

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.