Trade Deep Links
When retrieving quotes from the Router, you will also receive a trade link. You may use this link to refer users to the official Bebop interfaces, where they can complete a trade using the requested quote parameters.
Link
The link is constructed with query parameters as follows:
network
The network of the trade
ethereum, arbitrum, polygon, bsc
buy
The symbol or contract address of the token to buy. For least ambiguity use contract address. Can contain multiple, separated by comma
USDC, 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
sell
The symbol or contract address of the tokens to sell. For least ambiguity use contract address. Can contain multiple, separated by comma
USDC, 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
sellAmounts
The amounts of buy tokens to sell
1250.75
source
The origin of the trade
myDAO
Example
https://beta.bebop.xyz/trade?network=ethereum&buy=0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599&sell=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2&sellAmounts=1
Last updated