expand.network
  • Overview
  • Getting Started
  • 🔑How do I get my API Key?
  • 📑List of All Endpoints
  • ⚙️SDK
    • Overview
    • Getting Started
  • ⛓️INTEGRATIONS
    • ⚡Blockchains
      • EVM based blockchains
        • Ethereum
        • Binance Smart Chain
        • Avalanche - C
        • Avalanche - P
        • Avalanche - X
        • Polygon
        • Cronos
        • Arbitrum
        • Fantom
        • Optimism
        • Base
        • zkSync Era
        • Mantle
      • Non-EVM based chains
        • Tron
        • Solana
        • Near
        • Algorand
        • Aptos
        • Sui
        • Starknet
        • TON
        • Cosmos Hub
        • Osmosis
        • Stacks
        • Bitcoin
        • Stellar
          • Stellar RWA
        • XRP Ledger
          • XRP Ledger RWA
    • ⚡Bridges
      • Stargate
      • Stargate V2
      • Squid Router
      • Squid Router V2
      • Allbridge Classic
      • Allbridge Core
    • ⚡DEX & DEX Aggregators
      • Uniswap V2
      • Uniswap V3
      • Uniswap X
      • Sushiswap V2
      • PancakeSwap V2
      • PancakeSwap V3
      • Aerodrome
      • Camelot V3
      • Curve V2
      • Balancer V2
      • STON.fi
      • Trader Joe
      • Orca
      • Raydium
      • SDEX
      • Cetus
      • REF Finance
      • Liquidswap
      • Sologenic
      • Alex
      • 0x (Aggregator)
      • 1inch (Aggregator)
      • Kyberswap (Aggregator)
        • Kyberswap ( Limit Order Endpoints )
      • Jupiter (Aggregator)
    • ⚡Derivatives
      • dYdX V4
    • ⚡Fungible Tokens
      • ERC20
      • WETH
    • ⚡Lending Protocols
      • Aave V2
      • Aave V3
      • Compound V2
      • Compound V3
      • Morpho
    • ⚡Yield Aggregators
      • Yearn Finance V2
      • Harvest Finance
      • Pendle
    • ⚡Liquid Staking
      • Chorus One
      • Lido V2
      • Stader
      • Benqi
      • Jito
      • EigenLayer
    • ⚡Non Fungible Tokens
      • ERC721
      • ERC1155
      • Metaplex
    • ⚡Oracles
      • ChainLink
      • WinkLink
      • Pyth Network
      • RedStone
    • ⚡Stablecoins
      • EVM
    • ⚡Synthetics
      • Synthetix
    • ⚡Supported Wallets
      • MPC Wallets
        • DFNS
        • FORDEFI
        • FIREBLOCKS
        • CIRCLE
      • HD Wallets
        • PHANTOM
        • COINBASE
        • TON Wallet
      • Wallet Connect v2
  • How To
    • Execute a Local Swap
    • Execute a Cross Chain Swap
    • Use Limit Orders
    • Lend and Borrow
    • Provision Liquidity
      • Adding Liquidity
      • Removing liquidity
    • Yield Farm
    • Use Our Transaction Decoder
    • Submit an RFQ
    • Subscribe to Events
    • Stream Data (WebSocket)
      • Stream Transaction
      • Stream Trade
      • Stream Gas
      • Stream Ticker Price
    • Source Pricing
    • Track Memecoins
    • Manage Token Approvals
  • Use Cases
    • Trade Reconciliation
    • Portfolio Management
    • Trading Features
    • On-Chain Data: DEX Liquidity Pool Forensics
    • Transaction and Pool Analysis
  • Account Abstraction
    • Overview
      • User Endpoints
      • Paymaster Endpoint
      • Bundler Endpoint
    • ⚙️SDK - Overview
  • Additional Info
    • Error Messages
    • Client-Side Security Essentials
    • Compute Unit Costs
    • API Metadata
    • Audit Certificate
    • Brand Assets
    • FAQs
    • Quicknode Marketplace
      • DEX
      • Lending Protocols
  • ID's
    • Chain IDs
    • Bridge IDs
      • Internal Chain IDs for Bridges
    • DEX IDs
    • Lending Protocol IDs
    • Yield Aggregator ID
    • Liquid Staking IDs
    • Oracle IDs
    • Stablecoin IDs
    • Derivatives IDs
    • Synthetics IDs
  • Mapping
    • Blockchains
    • DEXs
      • Uniswap V2
      • Uniswap V3
      • Sushiswap
      • PancakeSwap
      • Curve
      • Balancer
    • Lending Protocols
      • Aave
      • Compound
  • Protocol Spender
    • Spender list
Powered by GitBook
On this page
  • Supported Chains
  • Available Endpoints:
  • Bridge ID
  • Endpoint Details
  • /getprice
  • /getsupportedchains
  • /getsupportedtokens
  • /gettransaction
  • /swap
  1. INTEGRATIONS
  2. Bridges

Allbridge Core

PreviousAllbridge ClassicNextDEX & DEX Aggregators

Last updated 7 days ago

Supported Chains

Available on Ethereum, Arbitrum, Avalanche, Base, Optimism, Binance Smart Chain, Tron, Polygon, Solana, Sui and Stellar

Available Endpoints:

Click on the endpoint to jump to the section with full details

  • GET - Returns the swap quotation for a given token pair.

  • - Retrieves the list of chains supported by Allbridge Core , on expand.network.

  • - Retrieves the list of tokens supported by Allbridge Core, on expand.network.

  • GET - Retrieves the details of the transaction.

  • POST - Initiates a transaction to swap assets accross multiple chains.

Bridge ID

Many endpoints have a parameter where you can provide a Bridge ID.

Below is a list of Bridge ID related to Allbridge Core. Please see the for a complete Bridge ID list and more information.

Bridge Name
Bridge ID

Allbridge Core

400

Endpoint Details

/getprice

Get the swap quotation for the given token pairs.

GET https://api.expand.network/bridge/getprice

Query Parameter

Name
Type
Description

rpc

String

Remote procedural call URL.

bridgeId*

String

srcChainId

String

dstChainId*

String

srcTokenSymbol*

String

Source token symbol.

dstTokenSymbol*

String

Destination token symbol.

amountIn*

String

Amount of token.

https://api.expand.network/bridge/getprice?amountIn=1000000&srcChainId=900&dstChainId=900&srcTokenSymbol=usdc&dstTokenSymbol=usdt&bridgeId=400
{
    "status": 200,
    "msg": "success",
    "data": {
        "srcChainId": "900",
        "dstChainId": "900",
        "srcTokenSymbol": "usdc",
        "dstTokenSymbol": "usdt",
        "amountIn": "1000000",
        "amountsOut": [
            "1000000",
            "994506"
        ]
    }
}

/getsupportedchains

Retrieves the list of chains supported by Allbridge Core , on expand.network.

GET https://api.expand.network/bridge/getsupportedchains

Query Parameter

Name
Type
Description

rpc

String

Remote procedural call URL.

bridgeId*

String

https://api.expand.network/bridge/getsupportedchains?bridgeId=400
{
    "status": 200,
    "msg": "success",
    "data": [
        {
            "chainName": "Ethereum",
            "chainId": "1"
        },
        {
            "chainName": "Optimism",
            "chainId": "10"
        },
        {
            "chainName": "Binance Smart Chain",
            "chainId": "56"
        },
        {
            "chainName": "Sui",
            "chainId": "101"
        },
        {
            "chainName": "Polygon",
            "chainId": "137"
        },
        {
            "chainName": "Solana",
            "chainId": "900"
        },
        {
            "chainName": "Tron",
            "chainId": "1000"
        },
        {
            "chainName": "Stellar",
            "chainId": "1500"
        },
        {
            "chainName": "Base",
            "chainId": "8453"
        },
        {
            "chainName": "Arbitrum One",
            "chainId": "42161"
        },
        {
            "chainName": "Celo",
            "chainId": "42220"
        },
        {
            "chainName": "Avalanche C-Chain",
            "chainId": "43114"
        }
    ]
}

/getsupportedtokens

Retrieves the list of tokens supported by Allbridge Core, on expand.network.

GET https://api.expand.network/bridge/getsupportedtokens

Query Parameter

Name
Type
Description

rpc

String

Remote procedural call URL.

bridgeId*

String

chainId*

String

https://api.expand.network/bridge/getsupportedtokens?chainId=1&bridgeId=400
{
    "status": 200,
    "msg": "success",
    "data": [
        {
            "tokenSymbol": "USDC",
            "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
        },
        {
            "tokenSymbol": "USDT",
            "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
        }
    ]
}

/gettransaction

Retrieves the details of the transaction.

GET https://api.expand.network/bridge/gettransaction

Query Parameter

Name
Type
Description

rpc

String

Remote procedural call URL.

bridgeId*

String

transactionHash*

String

Transaction hash.

srcChainId

String

https://api.expand.network/bridge/gettransaction?bridgeId=400&srcChainId=900&transactionHash=3uTxUbsYbXYL6xNjdxZZaqt7R69ZzgEPDZzVF5JG8pnM8AxJhVJAUEfE5eysEJvfJsGpbfuzoYE6z286KWZ2wTaf
{
    "status": 200,
    "msg": "success",
    "data": {
        "txId": "3uTxUbsYbXYL6xNjdxZZaqt7R69ZzgEPDZzVF5JG8pnM8AxJhVJAUEfE5eysEJvfJsGpbfuzoYE6z286KWZ2wTaf",
        "sourceChainSymbol": "SOL",
        "destinationChainSymbol": "POL",
        "sendAmount": "11506239",
        "sendAmountFormatted": 11.506239,
        "stableFee": "169234",
        "stableFeeFormatted": 0.169234,
        "sourceTokenAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
        "destinationTokenAddress": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
        "senderAddress": "GAnBH3Cnyz5eT34P6VdNZY3tHESSWK7Kwa4zMxCprdda",
        "recipientAddress": "0x6b14f5ccb78fbb80e6d931d66bd42e71b2537308",
        "send": {
            "txId": "3uTxUbsYbXYL6xNjdxZZaqt7R69ZzgEPDZzVF5JG8pnM8AxJhVJAUEfE5eysEJvfJsGpbfuzoYE6z286KWZ2wTaf",
            "sourceChainId": 4,
            "fee": "17005",
            "feeFormatted": 0.017005,
            "stableFee": "169234",
            "stableFeeFormatted": 0.169234,
            "amount": "11506239",
            "amountFormatted": 11.506239,
            "virtualAmount": "11296",
            "bridgeContract": "BrdgN2RPzEMWF96ZbnnJaUtQDQx7VRXYaHHbYCBvceWB",
            "sender": "GAnBH3Cnyz5eT34P6VdNZY3tHESSWK7Kwa4zMxCprdda",
            "recipient": "0x6b14f5ccb78fbb80e6d931d66bd42e71b2537308",
            "destinationChainId": 5,
            "sourceTokenAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
            "destinationTokenAddress": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
            "messenger": 1,
            "blockTime": 1735562150000,
            "blockId": "310769741",
            "hash": "0x04054c0a8d76b15e6dbab8949fe5c253ab235e91e9274f0c6485a330100b7d8e",
            "confirmations": 32,
            "confirmationsNeeded": 32,
            "isSuspended": false
        },
        "signaturesCount": 2,
        "signaturesNeeded": 2,
        "receive": {
            "txId": "0xad479da4569fbba967f3f297c5a35ea3d8816a3c8af0a90e9b26f400d816316f",
            "sourceChainId": 4,
            "fee": "16960",
            "feeFormatted": 0.01696,
            "stableFee": "169234",
            "stableFeeFormatted": 0.169234,
            "amount": "11290040",
            "amountFormatted": 11.29004,
            "virtualAmount": "11296",
            "bridgeContract": "0x7775d63836987f444E2F14AA0fA2602204D7D3E0",
            "sender": "GAnBH3Cnyz5eT34P6VdNZY3tHESSWK7Kwa4zMxCprdda",
            "recipient": "0x6b14f5ccb78fbb80e6d931d66bd42e71b2537308",
            "destinationChainId": 5,
            "sourceTokenAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
            "destinationTokenAddress": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
            "messenger": 1,
            "blockTime": 1735562244000,
            "blockId": "66101722",
            "hash": "0x04054c0a8d76b15e6dbab8949fe5c253ab235e91e9274f0c6485a330100b7d8e",
            "confirmations": 160,
            "confirmationsNeeded": 160,
            "isSuspended": false
        },
        "isSuspended": false,
        "responseTime": 1736008447495
    }
}

/swap

Initiates a transaction to swap assets accross multiple chains.

POST https://api.expand.network/bridge/swap

Request Body

Name
Type
Description

rpc

String

Remote procedural call URL.

bridgeId*

String

srcChainId*

String

dstChainId*

String

srcTokenSymbol*

String

Source token symbol.

dstTokenSymbol*

String

Destination token symbol.

amountIn*

String

Amount of token.

gas*

String

Maximum gas limit provided by the sender, for the transaction.

gas priority

String

Low, medium, or high.

from*

String

Address of the sender of the token.

to*

String

Address of the recipient of the token.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
    "to": "0x0CDA40b49c94502cdb58d4Ec507Fc4c842D8AF47",
    "from": "53unSgGWqEWANcPYRF35B2Bgf8BkszUtcccKiXwGGLyr",
    "srcChainId": "900",
    "dstChainId": "1",
    "srcTokenSymbol": "USDt",
    "dstTokenSymbol": "USDC",
    "bridgeId": "400",
    "amountIn": "10000000",
    "gas": "30000"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "900",
        "from": "53unSgGWqEWANcPYRF35B2Bgf8BkszUtcccKiXwGGLyr",
        "data": "AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACkiVq4ARfMLdm5S8RbD25uG2SDbygb8qFUQUfzuhPMkr3Q7c2Wup8vMQCTTuNwCSCDb4bmQ4ydES/zhXCIh0YNgAIABQw8LZeA9qBvRbVQG5heYfyIuwarnP0Gu9tInqEHyOcglWbZK0ObGjN9q0xuRL0TUp872ZtuqzYYwm02RZXc48A+d2Gw7xpFthANVe3z0H+3p4X63midbZ0clwJz/UoaiCm5vh9YFiRrv4KzgxptVtUhoKpS+UTfyeoGgye1cN2ZtB0V2Rb9ZE0XVXPsit1LZw9urS8OZ3hmHBEVzT7XwPO8VBJRjgXCFp1PQJxqv1nDL57Hzqu6pEmojfmqT93QYzAx1DzF2wqb2QsGAV6qtX/Co/01QmyoV/2QWBlHV/r8gAMGRm/lIRcy/+ytunLDm+e8jOW7xfcSayxDmzpAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAChS802Aur3zrKUdfAJQH3aEEEs3IW1yCrPU1c5i+1xGM4BDmCv7bInF71jGS9UFFo/llozu4LSxwKess4eIIJkDgpYmkGlX71mxSpHXy2SptPcm0dHEUy5r4JamLVF085ITWCGCO8HhORNHkyfBbuHH/7aV9ZpK5q6ThKNcyBGcwQHAAUCP0IPAAgCAAwMAgAAAGQAAAAAAAAACRkAAAIKDQ4DBBESEwUUFQ8LEAEGDBYXGBkIcSlbybSWdZpB9s+SKRv0w3w5oe6HdsaDJ9uB5YE1dBj7zlOfqK3ODHUAAAAAAAAAAAAAAAAM2kC0nJRQLNtY1OxQf8TIQtivRwEAAAAAAAAAAAAAAACguGmRxiGLNsHRnUounrDONgbrSOEmAAAAAAAABwAJAw0AAAAAAAAAARNeVVcDfq5Iw8yNHuzl4KtuQqQCxlZJPgFeCVKg3hG2BSEBFh8gCRgJGQseJyMkDA==",
        "referenceId": "ca464066b53746868f9c04df914a789c"
    }
}

With Gas Priority

{
    "to": "TT2T17KZhoDu47i2E4FWxfG79zdkEWkU9N",
    "from": "0xB409cB0b5DB9f148d0bc491E140D9E0FDd789C11",
    "srcChainId": "1",
    "dstChainId": "1000",
    "srcTokenSymbol": "usdc",
    "dstTokenSymbol": "usdt",
    "bridgeId": "400",
    "amountIn": "1000000",
    "gas": "30000",
    "gasPriority":"high"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "gas": "30000",
        "from": "0xB409cB0b5DB9f148d0bc491E140D9E0FDd789C11",
        "to": "0x609c690e8F7D68a59885c9132e812eEbDaAf0c9e",
        "value": "3365697621963008",
        "data": "0x4cd480bd000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000bb1712d44d09feee51d071219b4c5d9792b76b290000000000000000000000000000000000000000000000000000000000000003000000000000000000000000a614f803b6fd780986a42c78ec9c7f77e6ded13c2b9dda041cc773e74cbf5f5571fc7a788943b5f36c697133cb905448300ad72700000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000",
        "gasPrice": "15182277713",
        "estimationCheck": true,
        "referenceId": "29e3be4965c74071b126b8dcb6fb9ac0"
    }
}

With ofacCheck

{
    "to": "TT2T17KZhoDu47i2E4FWxfG79zdkEWkU9N",
    "from": "0xB409cB0b5DB9f148d0bc491E140D9E0FDd789C11",
    "srcChainId": "1",
    "dstChainId": "1000",
    "srcTokenSymbol": "usdc",
    "dstTokenSymbol": "usdt",
    "bridgeId": "400",
    "amountIn": "1000000",
    "gas": "30000",
    "gasPriority":"high",
    "ofacCheck": true
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "gas": "30000",
        "from": "0xB409cB0b5DB9f148d0bc491E140D9E0FDd789C11",
        "to": "0x609c690e8F7D68a59885c9132e812eEbDaAf0c9e",
        "value": "5487173256234188",
        "data": "0x4cd480bd000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000bb1712d44d09feee51d071219b4c5d9792b76b290000000000000000000000000000000000000000000000000000000000000003000000000000000000000000a614f803b6fd780986a42c78ec9c7f77e6ded13c1a85228431ff596a451ba5917e25f7028b7819a41c3e70b267bc1b218dc017da00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000",
        "gasPrice": "608125842",
        "estimationCheck": true,
        "insights": {
            "issues": [],
            "verdict": {
                "code": 0,
                "label": "NO_ISSUES"
            }
        },
        "referenceId": "f6fe542effd341d6ab73e0d7dfc7f0bb"
    }
}

Refer to the page for details.

of the source chain. By default, Ethereum chain

of the destination chain.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

of the source chain. If txn involve Stellar, use Stellar chainId as srcChainId

Refer to the page for details.

of the source chain.

of the destination chain.

⛓️
⚡
Bridge ID Page
/getprice
/
getsupportedchainsGET
/
getsupportedtokensGET
/
gettransaction
/swap
Bridge ID
Chain Id
Chain Id
Bridge ID
Bridge ID
Chain ID
Bridge ID
Chain Id
Bridge ID
Chain Id
Chain Id