Trades happen in 2 steps with Totle: 1) Getting a Payload and 2) Signing and Submitting the Payload to the Ethereum blockchain.

Totle only requires it’s users to specify which tokens they want to exchange, how much, and where you want the tokens to be routed to. Our system will generate a payload with a collection of trades that satisfy your request. All you need to do is generate a transaction object and sign it with the private key associated with the public address used in the API request. The signed transaction object is sent to our Primary Contract, which will handle all of the trades for you.

For more information on how this works, checkout this diagram in our documentation.

Did this answer your question?