Looking at the direct swap example https://github.com/0xProject/0x-api-starter-guide-code/blob/master/src/direct-swap.js#L105-L113

Seems like the transaction is send to the chain's RPC URL which is different from any 0x endpoint. Then how is this transaction fullfilled by 0x ?

1 Answer 1


The transaction object has a to field pointing to one of 0x's contracts. The node RPC that handles the request simply broadcasts the transaction to the Ethereum network for miners to mine.

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.