Allbridge Classic
/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=300{
"status": 200,
"msg": "success",
"data": [
{
"chainName": "Ethereum",
"chainId": "1",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Binance Smart Chain",
"chainId": "56",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Fuse",
"chainId": "122",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Polygon",
"chainId": "137",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Fantom",
"chainId": "250",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Solana",
"chainId": "900",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Near",
"chainId": "1200",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Stellar",
"chainId": "1500",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "XRP Ledger",
"chainId": "1600",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Stacks",
"chainId": "1700",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "KOII",
"chainId": "7777",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Kaia",
"chainId": "8217",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Celo",
"chainId": "42220",
"srcChainSupported": false,
"dstChainSupported": true
},
{
"chainName": "Avalanche",
"chainId": "43114",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Harmony",
"chainId": "1666600000",
"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=300&chainId=1{
"status": 200,
"msg": "success",
"data": [
{
"tokenSymbol": "APYS",
"address": "0xf7413489c474ca4399eeE604716c72879Eea3615"
},
{
"tokenSymbol": "HAPI",
"address": "0xD9c2D319Cd7e6177336b0a9c93c21cb48d84Fb54"
},
{
"tokenSymbol": "ABR",
"address": "0xa11bD36801d8fa4448F0ac4ea7A62e3634cE8C7C"
},
{
"tokenSymbol": "ETH",
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
},
{
"tokenSymbol": "USDC",
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
},
{
"tokenSymbol": "USDT",
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
{
"tokenSymbol": "ARDN",
"address": "0xb1c9bc94aCd2fAE6aABf4ffae4429B93512a81D2"
},
{
"tokenSymbol": "DUCKIES",
"address": "0x90b7E285ab6cf4e3A2487669dba3E339dB8a3320"
},
{
"tokenSymbol": "WBTC",
"address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
},
{
"tokenSymbol": "PEN",
"address": "0x5Ee3188A3f8aDee1D736EdD4AE85000105C88f66"
},
{
"tokenSymbol": "KOII",
"address": "0xAC5C23Cc0bF378B2f2D53da71d407B6Deb94C294"
}
]
}/getprice
Get the swap quotation for the given token pairs.
GET https://api.expand.network/bridge/getprice
Query Parameter
/getsignature
Retrieves the signature details using the transaction hash of swap.
GET https://api.expand.network/bridge/getsignature
Query Parameter
rpc
String
Remote procedural call URL.
transactionHash*
String
Transaction hash.
/gettransaction
Retrieves the details of the transaction.
GET https://api.expand.network/bridge/gettransaction
Query Parameter
/swap
Initiates a transaction to swap assets accross multiple chains.
POST https://api.expand.network/bridge/swap
Request Body
rpc
String
Remote procedural call URL.
srcTokenSymbol*
String
Source 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.
With Gas Priority
/unlock
Initiate the transaction to unlock asset on the destination chain.
POST https://api.expand.network/bridge/unlock
Request Body
rpc
String
Remote procedural call URL.
dstTokenSymbol*
String
Destination token symbol.
amount*
String
Amount of token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
gas priority
String
Low, medium, or high.
receiver*
String
Address of the receiver.
primarySignature*
String
Signature required for EVM to EVM to unlock transaction.
secondarySignature
String
Signature required for Stellar to EVM or vice - versa to unlock transaction.
lockId*
String
Lock Id.
With Gas Priority
Last updated

