Trade

The trade api allows users to retrieve quotes and execute orders on the chain.

It is available on the following chains:

Chain
Chain ID

Arbitrum

42161

Base

8453

Ethereum

1

Optimism

10

Polygon

137

Taiko

167000

You can find the API reference here

Trading with the Bebop API can be done in 4 steps:

  1. Retrieve a quote The quote will indicate a price given the trade parameters that you have specified.

  2. Make approvals In order for Bebop to facilitate the trade, it needs to have access to your tokens. Approvals can be made with standard ERC20 Approvals or Permit2

  3. (Gasless) Sign the order and retrieve signatures from the user wallet

Last updated