I am building a middleware contract to interact with 0x protocol. so for swapping tokens should I approve(erc20 function) directly 0x address for transferring asset or the address from the function 'getTransformerDeployer'. In other words should i transfer assets from user address to 0x contract address or the address from 'getTransformerDeployer' or 'getTransformWallet'

1 Answer 1


You approve the 0x exchange proxy address, 0xdef1c0ded9bec7f1a1670819833240f027b25eff. This is returned in 0xAPI responses as allowanceTarget.

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.