Integration in a minute
One API call gives you the best available execution across decentralized exchanges and blockchains. We handle routing, multi-step bridging, gas abstraction, and transaction execution. You focus on building.
const res = await fetch("https://api.roissingue.com/quote", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
fromToken: {
chainId: 10, // Optimism
address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85" // USDC
},
toToken: {
slug: "wrapped-ethereum" // Best route for WETH on any chain
},
feeToken: {
chainId: 10, // Optimism
address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85" // USDC
},
allowChains: [10, 8453],
amount: "100000", // 0.1 USDC
fromAddress: "0x6eBf2153f931334714984c7F5a8E574207927Cc7",
toAddress: "0x6eBf2153f931334714984c7F5a8E574207927Cc7"
})
});