deBridge
  • Introduction
  • The deBridge Messaging Protocol
    • Protocol Overview
    • Fees and Supported Chains
    • 🟢Deployed Contracts
    • Development Guides
      • Building an EVM-based dApp
        • EVM smart contract interfaces
          • Interfaces
            • ICallProxy
            • IDeBridgeGate
            • IDeBridgeToken
            • IDeBridgeTokenDeployer
            • IOraclesManager
            • ISignatureVerifier
            • IWethGate
          • Libraries
            • Flags
          • Periphery
            • CallProxy
            • DeBridgeToken
            • DeBridgeTokenProxy
            • SimpleFeeProxy
          • Transfers
            • DeBridgeGate
            • DeBridgeTokenDeployer
            • OraclesManager
            • SignatureVerifier
            • WethGate
      • Sending cross-chain messages from Solana
        • On-Chain external call preparation for Solana
        • Off-chain external call preparation for Solana
      • Lifecycle of a cross-chain call
      • Gathering data for the claim
    • Development Tools
    • Security
    • Slashing and Delegated Staking
  • 🔁DLN: The deBridge Liquidity Network Protocol
    • Introduction
    • Protocol Overview
    • deBridge Hooks
    • Fees and Supported Chains
    • 🟢Deployed Contracts
    • Market and Limit Orders
    • Integration Guidelines
      • Interacting with the API
        • Authentication
        • Creating an Order
          • Quick Start
          • API Parameters
            • Estimation-Only
            • prependOperatingExpenses
          • API Response
            • JSON Example
          • Refreshing Estimates
        • Tracking Order Status
          • Order States
        • Integrating deBridge hooks
          • Creating Hook data for Solana
        • Submitting an Order Creation Transaction
        • Cancelling the Order
      • deBridge Widget
      • Interacting with smart contracts
        • Placing orders
        • Filling orders
      • Under the Hood
        • Reserve Assets
        • Bridging Reserve Assets
        • Bridging Non-Reserve Assets
        • Order Fulfillment
          • Detecting the Order
          • Fulfilling the Order
            • Pre-Fill-Swap
          • Claiming the Order
      • Affiliate fees
        • Withdrawing Affiliate Fees
      • Fees and operating expenses
    • Interacting with the deBridge App
      • Custom Linking
    • Protocol specs
      • Deterministic order ID
      • Hook data
        • Anatomy of a Hook for the EVM-based chains
        • Anatomy of a Hook for Solana
  • 💸dePort
    • Getting started
    • Transfers Flow
  • ⚡deBridge Points
    • Referrers Overview
    • Integrators Overview
  • 🌐deBridge IaaS
    • Getting started
  • 🌐Legal
    • SDK & API License Agreement
  • External Links
    • deBridge Use Cases
      • 💡Examples
    • Talks, Videos, and Articles
    • Website
    • Github
    • Twitter
    • Social channels
      • Discord
      • Facebook
      • LinkedIn
      • Medium
      • Telegram
      • YouTube
Powered by GitBook
On this page
  • Example
  • Chains and Tokens ID

Was this helpful?

  1. DLN: The deBridge Liquidity Network Protocol
  2. Interacting with the deBridge App

Custom Linking

PreviousInteracting with the deBridge AppNextProtocol specs

Last updated 11 months ago

Was this helpful?

The deBridge web application enables users to create custom links with a pre-defined set of parameters using URL query parameters. Users and developers can use their own prefilled settings for deSwap or dePort.​

Parameter
Description

inputChain

Id of the chain where deSwap is initiated.

inputCurrency

Token contract address of the input currency that will be swapped for output currency.

outputChain

Id of the destination chain

outputCurrency

Token contract address of the output currency that input currency will be swapped for.

r

Your generated referral code

address

Recipient address

amount

Token amount to swap

Example

https://app.debridge.finance/deswap?inputChain=&inputCurrency=&outputChain=&outputCurrency=&r=&address=&amount=

deSwap

BSC(USDC) - ETHEREUM (USDT)

​​

dePort

BSC(USDC) - deUsdc

​​

Chains and Tokens ID

ID
Chain
Token request

1

Ethereum

GET https://tokens.1inch.io/v1.1/1

56

Binance Smart Chain

GET https://tokens.1inch.io/v1.1/56

128

Heco

GET https://tokens.1inch.io/v1.1/128

137

Polygon

GET https://tokens.1inch.io/v1.1/137

42161

Arbitrum

GET https://tokens.1inch.io/v1.1/42161

43114

Avalanche

GET https://tokens.1inch.io/v1.1/43114

250

Fantom

GET https://tokens.1inch.io/v1.1/250

The Chain IDs of all chains can be found at or in the spreadsheet below

🔁
https://app.debridge.finance/deswap?inputChain=56&inputCurrency=0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d&outputChain=1&outputCurrency=0xdac17f958d2ee523a2206206994597c13d831ec7&r=111&address=0x0000000000000000000000000000000000000000
https://app.debridge.finance/deport?inputChain=56&inputCurrency=0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d&r=111
https://chainlist.org/