Bridging solutions that
move as fast as DeFi
Integrations in action
We are incredibly thankful for the support from our partners at @deBridgeFinance as we share the same values.
More than 12,000 happy users bridged more than 25M using @deBridgeFinance in the past few months
We have really appreciate working with @deBridgeFinance so far, and we're just getting started.
Looking ahead, we're excited to continue this partnership, bringing even more non-native tokens to the Solana ecosystem. The future of DeFi on Solana looks brighter than ever! If you’re interested in helping us expand Solana DeFi, please consider joining our Discord: discord.gg/BXAeVWdmmD
Connect your chain to deBridge
Integrate deBridge API
const { formatEther } = require("ethers/lib/utils"); async function quote(params) { const response = await fetch('https://dln.debridge.finance/v1.0/dln/quote?' + new URLSearchParams(params)); const data = await response.json(); if (data.errorCode) throw new Error(data.errorId) return data } async function main() { console.log("Trading 1 ETH from Ethereum to BNB...") const { estimation } = await quote({ srcChainId: 1, srcChainTokenIn: '0x0000000000000000000000000000000000000000', srcChainTokenInAmount: '1000000000000000000', dstChainTokenOutAmount: 'auto', dstChainId: 56, dstChainTokenOut: '0x0000000000000000000000000000000000000000', prependOperatingExpenses: true }); const minOutcome = estimation.dstChainTokenOut.amount; const minOutcomeWithoutDecimals = formatEther(minOutcome) console.log(`Expected outcome: ${minOutcomeWithoutDecimals} BNB`) } main().catch(err => console.error(err))
#!/bin/bash
curl -s "https://dln.debridge.finance/v1.0/dln/quote?srcChainId=1&srcChainTokenIn=0x0000000000000000000000000000000000000000&srcChainTokenInAmount=1000000000000000000&dstChainTokenOutAmount=auto&dstChainId=56&dstChainTokenOut=0x0000000000000000000000000000000000000000&prependOperatingExpenses=true" | jq
1 admin@debridge: ~ node dln.js
2 Trading 1 ETH from Ethereum to BNB...
3 Expected outcome: BNB
admin@debridge: bash dln.sh