We are building a decentralized wallet. There are some questions about the integration with 0x.
- Is there any direct way to add fee
- If there is any API parameters to add fee.
Please share your contact email where we can contact with you.
We are building a decentralized wallet. There are some questions about the integration with 0x.
Please share your contact email where we can contact with you.
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