Stargate V2
/getsupportedchains
Get the list of chains supported by Squid Router, on expand.network.
GET https://api.expand.network/bridge/getsupportedchains
Query Parameters
rpc
String
Remote procedural call URL.
https://api.expand.network/bridge/getsupportedchains?bridgeId=500{
"status": 200,
"msg": "success",
"data": [
{
"chainName": "Ethereum",
"chainId": "1",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Optimism",
"chainId": "10",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Flare",
"chainId": "14",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Rootstock",
"chainId": "30",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Telos",
"chainId": "40",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "BNB Chain",
"chainId": "56",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Gnosis",
"chainId": "100",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Fuse",
"chainId": "122",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Polygon",
"chainId": "137",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Sonic",
"chainId": "146",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Flow",
"chainId": "747",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Metis",
"chainId": "1088",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Core",
"chainId": "1116",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Glue",
"chainId": "1300",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Sei",
"chainId": "1329",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Vana",
"chainId": "1480",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Story",
"chainId": "1514",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Gravity",
"chainId": "1625",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Soneium",
"chainId": "1868",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Lightlink",
"chainId": "1890",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Kava",
"chainId": "2222",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Goat",
"chainId": "2345",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Abstract",
"chainId": "2741",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Peaq",
"chainId": "3338",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Mantle",
"chainId": "5000",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Kaia",
"chainId": "8217",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Base",
"chainId": "8453",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "lota",
"chainId": "8822",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Apechain",
"chainId": "33139",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Arbitrum",
"chainId": "42161",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Hemi",
"chainId": "43111",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Avalanche",
"chainId": "43114",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Superposition",
"chainId": "55244",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Ink",
"chainId": "57073",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Linea",
"chainId": "59144",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Bera",
"chainId": "80094",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Codex",
"chainId": "81224",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Plume",
"chainId": "98866",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Taiko",
"chainId": "167000",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Scroll",
"chainId": "534352",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Degen",
"chainId": "666666666",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Aurora",
"chainId": "1313161554",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Rari Chain",
"chainId": "1380012617",
"srcChainSupported": false,
"dstChainSupported": true
}
]
}/getsupportedtokens
Get the list of tokens supported by Squid Router, on the specified chain, on expand.network.
GET https://api.expand.network/bridge/getsupportedtokens
Query Parameters
https://api.expand.network/bridge/getsupportedtokens?bridgeId=500&chainId=1{
"status": 200,
"msg": "success",
"data": [
{
"tokenSymbol": "USDC",
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
},
{
"tokenSymbol": "USDT",
"address": "0xdac17f958d2ee523a2206206994597c13d831ec7"
},
{
"tokenSymbol": "ETH",
"address": "0x0000000000000000000000000000000000000000"
},
{
"tokenSymbol": "METH",
"address": "0xd5f7838f5c461feff7fe49ea5ebaf7728bb0adfa"
}
]
}/getprice
Get the swap quotation for the given token pairs.
GET https://api.expand.network/bridge/getprice
Query Parameters
rpc
String
Remote procedural call URL.
amountIn*
String
Address of the pool.
address
String
Sender's public address.
dstChainId*
String
Destination Chain ID.
srcTokenSymbol*
String
Source token symbol
dstTokenSymbol*
String
Destination token symbol
/getliquidity
Get the balance of a particular token pair of an account.
GET https://api.expand.network/bridge/getliquidity
Query Parameters
/gettransaction
Get details of a transaction.
GET https://api.expand.network/bridge/gettransaction
Query Parameters
/swap
Swap assets across multiple chains.
POST https://api.expand.network/bridge/swap
Request Body
rpc
String
Remote procedural call URL.
srcTokenSymbol*
String
Symbol of token to swap.
amountIn*
String
Amount of token to be swapped.
from*
String
Address of the sender of the token.
amountOutMin*
String
Minimum amount accepted as the result of swap.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
to
String
Address of the recipient of the token.
dstTokenSymbol
String
Symbol of token to be received as a result of swap.
srcChainId
String
Source Chain Id. By default, Ethereum mainnet. Refer to the Chain ID page for details.
srcChainSymbol
String
Source Chain Symbol.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 100
gasPriority
String
low, medium, or high.
transferMode
String
Mode of transport-bus or taxi. By default, taxi
With gasPriority:
With gasPriority:
/addliquidity
Loan your assets to the specified bridge.
POST https://api.expand.network/bridge/addliquidity
Request Body
rpc
String
Remote procedural call URL.
srcChainId
String
Source Chain Id. By default, Ethereum mainnet. Refer to the Chain ID page for details.
srcTokenSymbol*
String
Symbol of token to add liquidity.
from*
String
Address of the sender of the token.
amountIn*
String
Amount of token to add liquidity.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
With gasPriority:
With gasPriority:
/removeliquidity
Remove user liquidity across multiple chains.
POST https://api.expand.network/bridge/removeliquidity
Request Body
rpc
String
Remote procedural call URL.
srcChainId
String
Source Chain Id. By default, Ethereum mainnet. Refer to the Chain ID page for details.
srcTokenSymbol*
String
Symbol of token to add liquidity.
from*
String
Address of the sender of the token.
to*
String
Address of the reciever of the token.
amountOut*
String
Amount of token to remove liquidity.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
gasPriority
String
low, medium, or high.
With gasPriority:
With gasPriority:
Last updated

