Squid Router
/gettransaction
Get details of a transaction.
GET
https://api.expand.network/bridge/gettransaction
Query Parameters
rpc
String
Remote procedural call URL.
transactionHash*
String
The transaction hash.
bridgeId*
String
https://api.expand.network/bridge/gettransaction?bridgeId=200&transactionHash=0x06477aa2bc628a40caeaae660c1ac0e3acb18b4131aae55525d591fafe0cbc7c
{
"status": 200,
"msg": "success",
"data": {
"srcTx": {
"transactionId": "0x06477aa2bc628a40caeaae660c1ac0e3acb18b4131aae55525d591fafe0cbc7c",
"blockNumber": 18268161,
"callEventStatus": "",
"callEventLog": [],
"chainData": {
"chainName": "Ethereum",
"chainType": "evm",
"rpc": "https://eth-rpc.gateway.pokt.network",
"networkName": "Ethereum",
"chainId": 1,
"nativeCurrency": {
"name": "Ethereum",
"symbol": "ETH",
"decimals": 18,
"icon": "https://raw.githubusercontent.com/0xsquid/assets/main/images/tokens/eth.svg"
},
"swapAmountForGas": "2000000",
"chainIconURI": "https://raw.githubusercontent.com/0xsquid/assets/main/images/tokens/eth.svg",
"blockExplorerUrls": [
"https://etherscan.io/"
],
"chainNativeContracts": {
"wrappedNativeToken": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"ensRegistry": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
"multicall": "0xcA11bde05977b3631167028862bE2a173976CA11",
"usdcToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
},
"axelarContracts": {
"gateway": "0x4F4495243837681061C4743b74B3eEdf548D56A5",
"forecallable": ""
},
"squidContracts": {
"squidRouter": "0xce16F69375520ab01377ce7B88f5BA8C48F8D666",
"defaultCrosschainToken": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"squidMulticall": "0x4fd39C9E151e50580779bd04B1f7eCc310079fd3",
"squidFeeCollector": "0x19cd4F3820E7BBed45762a30BFA37dFC6c9C145b"
},
"estimatedRouteDuration": 960,
"estimatedExpressRouteDuration": 20
},
"transactionUrl": "https://etherscan.io/tx/0x06477aa2bc628a40caeaae660c1ac0e3acb18b4131aae55525d591fafe0cbc7c"
},
"dstTx": {
"transactionId": "0x299de1b382b8b9636f6d5db1fb3b86ef1751405bc6f7f2c8bf80fe333e18e8e9",
"blockNumber": 48266930,
"callEventStatus": "CrossMulticallExecuted",
"callEventLog": [
{
"contractAddress": "0xce16F69375520ab01377ce7B88f5BA8C48F8D666",
"args": {
"eventFragment": {
"name": "CrossMulticallExecuted",
"anonymous": false,
"inputs": [
{
"name": "payloadHash",
"type": "bytes32",
"indexed": true,
"components": null,
"arrayLength": null,
"arrayChildren": null,
"baseType": "bytes32",
"_isParamType": true
}
],
"type": "event",
"_isFragment": true
},
"name": "CrossMulticallExecuted",
"signature": "CrossMulticallExecuted(bytes32)",
"topic": "0x7c3aa10c5d96985be6de7d2e6fa79bdef95a95a9cb272f4113b3fe1ca89fedae",
"args": [
"0xc7dfe38f4bb44d51e72b967887a89b438b8daf162529b917bcd7b75e7d469505"
]
}
}
],
"chainData": {
"chainName": "Polygon",
"chainType": "evm",
"rpc": "https://polygon-rpc.com",
"networkName": "Polygon",
"chainId": 137,
"nativeCurrency": {
"name": "Polygon",
"symbol": "MATIC",
"decimals": 18,
"icon": "https://raw.githubusercontent.com/axelarnetwork/axelar-docs/main/public/images/chains/polygon.svg"
},
"swapAmountForGas": "2000000",
"chainIconURI": "https://raw.githubusercontent.com/axelarnetwork/axelar-docs/main/public/images/chains/polygon.svg",
"blockExplorerUrls": [
"https://polygonscan.com/"
],
"chainNativeContracts": {
"wrappedNativeToken": "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
"ensRegistry": "",
"multicall": "0xcA11bde05977b3631167028862bE2a173976CA11",
"usdcToken": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"
},
"axelarContracts": {
"gateway": "0x6f015F16De9fC8791b234eF68D486d2bF203FBA8",
"forecallable": "0x2d5d7d31F671F86C782533cc367F14109a082712"
},
"squidContracts": {
"squidRouter": "0xce16F69375520ab01377ce7B88f5BA8C48F8D666",
"defaultCrosschainToken": "0x750e4C4984a9e0f12978eA6742Bc1c5D248f40ed",
"squidMulticall": "0x4fd39C9E151e50580779bd04B1f7eCc310079fd3",
"squidFeeCollector": "0x19cd4F3820E7BBed45762a30BFA37dFC6c9C145b"
},
"estimatedRouteDuration": 360,
"estimatedExpressRouteDuration": 20
},
"transactionUrl": "https://polygonscan.com/tx/0x299de1b382b8b9636f6d5db1fb3b86ef1751405bc6f7f2c8bf80fe333e18e8e9"
}
}
}
/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.
srcChainId
String
bridgeId*
String
dstChainId*
String
srcTokenSymbol*
String
Source token symbol.
dstTokenSymbol*
String
Destination token symbol.
amountIn*
String
Amount of token.
https://api.expand.network/bridge/getprice?bridgeId=200&srcTokenSymbol=WBTC&dstTokenSymbol=BNB&srcChainId=1&amountIn=100000&dstChainId=56
{
"status": 200,
"msg": "success",
"data": {
"srcChainId": "1",
"dstChainId": "56",
"srcTokenSymbol": "WBTC",
"dstTokenSymbol": "BNB",
"amountIn": "100000",
"amountOut": "137408267249377874"
}
}
/chains
Get the list of chains supported by Squid Router, on expand.network.
GET
https://api.expand.network/bridge/chains
Query Parameters
bridgeId*
String
rpc
String
Remote procedural call URL.
https://api.expand.network/bridge/chains?bridgeId=200
{
"status": 200,
"msg": "success",
"data": [
{
"chainName": "Ethereum",
"chainId": "1"
},
{
"chainName": "Arbitrum",
"chainId": "42161"
},
{
"chainName": "optimism",
"chainId": "10"
},
{
"chainName": "linea",
"chainId": "59144"
},
{
"chainName": "base",
"chainId": "8453"
},
{
"chainName": "Avalanche",
"chainId": "43114"
},
{
"chainName": "Polygon",
"chainId": "137"
},
{
"chainName": "binance",
"chainId": "56"
},
{
"chainName": "Fantom",
"chainId": "250"
},
{
"chainName": "Moonbeam",
"chainId": "1284"
},
{
"chainName": "mantle",
"chainId": "5000"
},
{
"chainName": "celo",
"chainId": "42220"
},
{
"chainName": "kava",
"chainId": "2222"
},
{
"chainName": "filecoin",
"chainId": "314"
},
{
"chainName": "osmosis",
"chainId": "osmosis-1"
},
{
"chainName": "cosmoshub",
"chainId": "cosmoshub-4"
},
{
"chainName": "kujira",
"chainId": "kaiyo-1"
},
{
"chainName": "neutron",
"chainId": "neutron-1"
},
{
"chainName": "stargaze",
"chainId": "stargaze-1"
},
{
"chainName": "axelarnet",
"chainId": "axelar-dojo-1"
},
{
"chainName": "umee",
"chainId": "umee-1"
},
{
"chainName": "persistence",
"chainId": "core-1"
},
{
"chainName": "sommelier",
"chainId": "sommelier-3"
},
{
"chainName": "stride",
"chainId": "stride-1"
},
{
"chainName": "crescent",
"chainId": "crescent-1"
},
{
"chainName": "juno",
"chainId": "juno-1"
},
{
"chainName": "carbon",
"chainId": "carbon-1"
},
{
"chainName": "regen",
"chainId": "regen-1"
},
{
"chainName": "agoric",
"chainId": "agoric-3"
},
{
"chainName": "chihuahua",
"chainId": "chihuahua-1"
},
{
"chainName": "akash",
"chainId": "akashnet-2"
},
{
"chainName": "comdex",
"chainId": "comdex-1"
},
{
"chainName": "archway",
"chainId": "archway-1"
},
{
"chainName": "quicksilver",
"chainId": "quicksilver-2"
},
{
"chainName": "omniflixhub",
"chainId": "omniflixhub-1"
},
{
"chainName": "migaloo",
"chainId": "migaloo-1"
},
{
"chainName": "mars",
"chainId": "mars-1"
},
{
"chainName": "terra",
"chainId": "columbus-5"
},
{
"chainName": "assetmantle",
"chainId": "mantle-1"
},
{
"chainName": "gravitybridge",
"chainId": "gravity-bridge-3"
},
{
"chainName": "bitcanna",
"chainId": "bitcanna-1"
},
{
"chainName": "bitsong",
"chainId": "bitsong-2b"
},
{
"chainName": "cheqd",
"chainId": "cheqd-mainnet-1"
},
{
"chainName": "decentr",
"chainId": "mainnet-3"
},
{
"chainName": "desmos",
"chainId": "desmos-mainnet"
},
{
"chainName": "irisnet",
"chainId": "irishub-1"
},
{
"chainName": "impacthub",
"chainId": "ixo-5"
},
{
"chainName": "jackal",
"chainId": "jackal-1"
},
{
"chainName": "likecoin",
"chainId": "likecoin-mainnet-2"
},
{
"chainName": "lumnetwork",
"chainId": "lum-network-1"
},
{
"chainName": "sentinel",
"chainId": "sentinelhub-2"
}
]
}
/tokens
Get the list of tokens supported by Squid Router, on the specified chain, on expand.network.
GET
https://api.expand.network/bridge/tokens
Query Parameters
bridgeId*
String
rpc
String
Remote procedural call URL.
chain*
String
https://api.expand.network/bridge/tokens?bridgeId=200&chain=1
{
"status": 200,
"msg": "success",
"data": [
{
"tokenSymbol": "USDC",
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
},
{
"tokenSymbol": "ETH",
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"
},
{
"tokenSymbol": "USDT",
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
{
"tokenSymbol": "WETH",
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
},
{
"tokenSymbol": "WBTC",
"address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
},
{
"tokenSymbol": "AXL",
"address": "0x467719aD09025FcC6cF6F8311755809d45a5E5f3"
},
{
"tokenSymbol": "DAI",
"address": "0x6B175474E89094C44Da98b954EedeAC495271d0F"
},
{
"tokenSymbol": "WMAI",
"address": "0x05770332D4410b6D7f07Fd497E4c00F8F7bFb74A"
},
{
"tokenSymbol": "FRAX",
"address": "0x853d955aCEf822Db058eb8505911ED77F175b99e"
},
{
"tokenSymbol": "CRV",
"address": "0xD533a949740bb3306d119CC777fa900bA034cd52"
},
{
"tokenSymbol": "UNI",
"address": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"
},
{
"tokenSymbol": "MKR",
"address": "0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2"
},
{
"tokenSymbol": "ARB",
"address": "0xB50721BCf8d664c30412Cfbc6cf7a15145234ad1"
},
{
"tokenSymbol": "LINK",
"address": "0x514910771AF9Ca656af840dff83E8264EcF986CA"
},
{
"tokenSymbol": "KNC",
"address": "0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202"
},
{
"tokenSymbol": "YFI",
"address": "0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e"
},
{
"tokenSymbol": "REN",
"address": "0x408e41876cCCDC0F92210600ef50372656052a38"
},
{
"tokenSymbol": "FIDU",
"address": "0x6a445E9F40e0b97c92d0b8a3366cEF1d67F700BF"
},
{
"tokenSymbol": "GRT",
"address": "0xc944E90C64B2c07662A292be6244BDf05Cda44a7"
},
{
"tokenSymbol": "SNX",
"address": "0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F"
},
{
"tokenSymbol": "MANA",
"address": "0x0F5D2fB29fb7d3CFeE444a200298f468908cC942"
},
{
"tokenSymbol": "ANT",
"address": "0xa117000000f279D81A1D3cc75430fAA017FA5A2e"
},
{
"tokenSymbol": "MLN",
"address": "0xec67005c4E498Ec7f55E092bd1d35cbC47C91892"
},
{
"tokenSymbol": "MATIC",
"address": "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0"
},
{
"tokenSymbol": "1INCH",
"address": "0x111111111117dC0aa78b770fA6A738034120C302"
},
{
"tokenSymbol": "BLZ",
"address": "0x5732046A883704404F284Ce41FfADd5b007FD668"
},
{
"tokenSymbol": "RAI",
"address": "0x03ab458634910AaD20eF5f1C8ee96F1D6ac54919"
},
{
"tokenSymbol": "ERN",
"address": "0xBBc2AE13b23d715c30720F079fcd9B4a74093505"
},
{
"tokenSymbol": "COTI",
"address": "0xDDB3422497E61e13543BeA06989C0789117555c5"
},
{
"tokenSymbol": "SUPER",
"address": "0xe53EC727dbDEB9E2d5456c3be40cFF031AB40A55"
},
{
"tokenSymbol": "DIA",
"address": "0x84cA8bc7997272c7CfB4D0Cd3D55cd942B3c9419"
},
{
"tokenSymbol": "RBC",
"address": "0xA4EED63db85311E22dF4473f87CcfC3DaDCFA3E3"
},
{
"tokenSymbol": "ENJ",
"address": "0xF629cBd94d3791C9250152BD8dfBDF380E2a3B9c"
},
{
"tokenSymbol": "TOKE",
"address": "0x2e9d63788249371f1DFC918a52f8d799F4a38C94"
},
{
"tokenSymbol": "GLM",
"address": "0x7DD9c5Cba05E151C895FDe1CF355C9A1D5DA6429"
},
{
"tokenSymbol": "HIGH",
"address": "0x71Ab77b7dbB4fa7e017BC15090b2163221420282"
},
{
"tokenSymbol": "INV",
"address": "0x41D5D79431A913C4aE7d69a668ecdfE5fF9DFB68"
},
{
"tokenSymbol": "QNT",
"address": "0x4a220E6096B25EADb88358cb44068A3248254675"
},
{
"tokenSymbol": "RLY",
"address": "0xf1f955016EcbCd7321c7266BccFB96c68ea5E49b"
},
{
"tokenSymbol": "REQ",
"address": "0x8f8221aFbB33998d8584A2B05749bA73c37a938a"
},
{
"tokenSymbol": "RBN",
"address": "0x6123B0049F904d730dB3C36a31167D9d4121fA6B"
},
{
"tokenSymbol": "FOX",
"address": "0xc770EEfAd204B5180dF6a14Ee197D99d808ee52d"
},
{
"tokenSymbol": "SHIB",
"address": "0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE"
},
{
"tokenSymbol": "SUSHI",
"address": "0x6B3595068778DD592e39A122f4f5a5cF09C90fE2"
},
{
"tokenSymbol": "FXS",
"address": "0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0"
},
{
"tokenSymbol": "OCEAN",
"address": "0x967da4048cD07aB37855c090aAF366e4ce1b9F48"
},
{
"tokenSymbol": "PAXG",
"address": "0x45804880De22913dAFE09f4980848ECE6EcbAf78"
},
{
"tokenSymbol": "SAND",
"address": "0x3845badAde8e6dFF049820680d1F14bD3903a5d0"
},
{
"tokenSymbol": "AUDIO",
"address": "0x18aAA7115705e8be94bfFEBDE57Af9BFc265B998"
},
{
"tokenSymbol": "ELON",
"address": "0x761D38e5ddf6ccf6Cf7c55759d5210750B5D60F3"
},
{
"tokenSymbol": "MC",
"address": "0x949D48EcA67b17269629c7194F4b727d4Ef9E5d6"
},
{
"tokenSymbol": "CUBE",
"address": "0xDf801468a808a32656D2eD2D2d80B72A129739f4"
},
{
"tokenSymbol": "ADX",
"address": "0xADE00C28244d5CE17D72E40330B1c318cD12B7c3"
},
{
"tokenSymbol": "DEXT",
"address": "0xfB7B4564402E5500dB5bB6d63Ae671302777C75a"
},
{
"tokenSymbol": "DPI",
"address": "0x1494CA1F11D487c2bBe4543E90080AeBa4BA3C2b"
},
{
"tokenSymbol": "METIS",
"address": "0x9E32b13ce7f2E80A01932B42553652E053D6ed8e"
},
{
"tokenSymbol": "MONA",
"address": "0x275f5Ad03be0Fa221B4C6649B8AeE09a42D9412A"
},
{
"tokenSymbol": "MUSE",
"address": "0xB6Ca7399B4F9CA56FC27cBfF44F4d2e4Eef1fc81"
},
{
"tokenSymbol": "ROOK",
"address": "0xfA5047c9c78B8877af97BDcb85Db743fD7313d4a"
},
{
"tokenSymbol": "SYLO",
"address": "0xf293d23BF2CDc05411Ca0edDD588eb1977e8dcd4"
},
{
"tokenSymbol": "TVK",
"address": "0xd084B83C305daFD76AE3E1b4E1F1fe2eCcCb3988"
},
{
"tokenSymbol": "WOO",
"address": "0x4691937a7508860F876c9c0a2a617E7d9E945D4B"
},
{
"tokenSymbol": "XCN",
"address": "0xA2cd3D43c775978A96BdBf12d733D5A1ED94fb18"
},
{
"tokenSymbol": "BUSD",
"address": "0x4Fabb145d64652a948d72533023f6E7A623C7C53"
},
{
"tokenSymbol": "AAVE",
"address": "0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9"
},
{
"tokenSymbol": "ALCX",
"address": "0xdBdb4d16EdA451D0503b854CF79D55697F90c8DF"
},
{
"tokenSymbol": "ALPHA",
"address": "0xa1faa113cbE53436Df28FF0aEe54275c13B40975"
},
{
"tokenSymbol": "AMP",
"address": "0xfF20817765cB7f73d4bde2e66e067E58D11095C2"
},
{
"tokenSymbol": "APW",
"address": "0x4104b135DBC9609Fc1A9490E61369036497660c8"
},
{
"tokenSymbol": "ASTRAFER",
"address": "0x97Bbbc5d96875fB78D2F14b7FF8d7a3a74106F17"
},
{
"tokenSymbol": "AUCTION",
"address": "0xA9B1Eb5908CfC3cdf91F9B8B3a74108598009096"
},
{
"tokenSymbol": "BAND",
"address": "0xBA11D00c5f74255f56a5E366F4F77f5A186d7f55"
},
{
"tokenSymbol": "BANK",
"address": "0x24A6A37576377F63f194Caa5F518a60f45b42921"
},
{
"tokenSymbol": "BAO",
"address": "0x374CB8C27130E2c9E04F44303f3c8351B9De61C1"
},
{
"tokenSymbol": "BDI",
"address": "0x0309c98B1bffA350bcb3F9fB9780970CA32a5060"
},
{
"tokenSymbol": "BICO",
"address": "0xF17e65822b568B3903685a7c9F496CF7656Cc6C2"
},
{
"tokenSymbol": "BIFI",
"address": "0x2791BfD60D232150Bff86b39B7146c0eaAA2BA81"
},
{
"tokenSymbol": "BIT",
"address": "0x1A4b46696b2bB4794Eb3D4c26f1c55F9170fa4C5"
},
{
"tokenSymbol": "BLOCKS",
"address": "0x8a6D4C8735371EBAF8874fBd518b56Edd66024eB"
},
{
"tokenSymbol": "BMI",
"address": "0x725C263e32c72dDC3A19bEa12C5a0479a81eE688"
},
{
"tokenSymbol": "BPT",
"address": "0x0eC9F76202a7061eB9b3a7D6B59D36215A7e37da"
},
{
"tokenSymbol": "C98",
"address": "0xAE12C5930881c53715B369ceC7606B70d8EB229f"
},
{
"tokenSymbol": "CIG",
"address": "0xCB56b52316041A62B6b5D0583DcE4A8AE7a3C629"
},
{
"tokenSymbol": "COMP",
"address": "0xc00e94Cb662C3520282E6f5717214004A7f26888"
},
{
"tokenSymbol": "CREAM",
"address": "0x2ba592F78dB6436527729929AAf6c908497cB200"
},
{
"tokenSymbol": "CVX",
"address": "0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B"
},
{
"tokenSymbol": "DAOX",
"address": "0xE00639A1f59B52773b7d39d9F9beF07F6248dbAe"
},
{
"tokenSymbol": "DELTA",
"address": "0x9EA3b5b4EC044b70375236A281986106457b20EF"
},
{
"tokenSymbol": "DOG",
"address": "0xBAac2B4491727D78D2b78815144570b9f2Fe8899"
},
{
"tokenSymbol": "DOUGH",
"address": "0xad32A8e6220741182940c5aBF610bDE99E737b2D"
},
{
"tokenSymbol": "DYDX",
"address": "0x92D6C1e31e14520e676a687F0a93788B716BEff5"
},
{
"tokenSymbol": "EDEN",
"address": "0x1559FA1b8F28238FD5D76D9f434ad86FD20D1559"
},
{
"tokenSymbol": "ENS",
"address": "0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72"
},
{
"tokenSymbol": "FLOAT",
"address": "0xb05097849BCA421A3f51B249BA6CCa4aF4b97cb9"
},
{
"tokenSymbol": "FNC",
"address": "0x7f280daC515121DcdA3EaC69eB4C13a52392CACE"
},
{
"tokenSymbol": "FODL",
"address": "0x4C2e59D098DF7b6cBaE0848d66DE2f8A4889b9C3"
},
{
"tokenSymbol": "FOLD",
"address": "0xd084944d3c05CD115C09d072B9F44bA3E0E45921"
},
{
"tokenSymbol": "FTM",
"address": "0x4E15361FD6b4BB609Fa63C81A2be19d873717870"
},
{
"tokenSymbol": "FTT",
"address": "0x50D1c9771902476076eCFc8B2A83Ad6b9355a4c9"
},
{
"tokenSymbol": "GET",
"address": "0x8a854288a5976036A725879164Ca3e91d30c6A1B"
},
{
"tokenSymbol": "GODS",
"address": "0xccC8cb5229B0ac8069C51fd58367Fd1e622aFD97"
},
{
"tokenSymbol": "GOG",
"address": "0x9AB7bb7FdC60f4357ECFef43986818A2A3569c62"
},
{
"tokenSymbol": "HOP",
"address": "0xc5102fE9359FD9a28f877a67E36B0F050d81a3CC"
},
{
"tokenSymbol": "ICE",
"address": "0xf16e81dce15B08F326220742020379B855B87DF9"
},
{
"tokenSymbol": "ICHI",
"address": "0x903bEF1736CDdf2A537176cf3C64579C3867A881"
},
{
"tokenSymbol": "ILSI",
"address": "0x0acC0FEE1D86D2cD5AF372615bf59b298D50cd69"
},
{
"tokenSymbol": "ILV",
"address": "0x767FE9EDC9E0dF98E07454847909b5E959D7ca0E"
},
{
"tokenSymbol": "IMX",
"address": "0xF57e7e7C23978C3cAEC3C3548E3D615c346e79fF"
},
{
"tokenSymbol": "INJ",
"address": "0xe28b3B32B6c345A34Ff64674606124Dd5Aceca30"
},
{
"tokenSymbol": "IQ",
"address": "0x579CEa1889991f68aCc35Ff5c3dd0621fF29b0C9"
},
{
"tokenSymbol": "JPEG",
"address": "0xE80C0cd204D654CEbe8dd64A4857cAb6Be8345a3"
},
{
"tokenSymbol": "KP3R",
"address": "0x1cEB5cB57C4D4E2b2433641b95Dd330A33185A44"
},
{
"tokenSymbol": "LDO",
"address": "0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32"
},
{
"tokenSymbol": "LYRA",
"address": "0x01BA67AAC7f75f647D94220Cc98FB30FCc5105Bf"
},
{
"tokenSymbol": "MAID",
"address": "0x4Af698B479D0098229DC715655c667Ceb6cd8433"
},
{
"tokenSymbol": "MARS4",
"address": "0x16CDA4028e9E872a38AcB903176719299beAed87"
},
{
"tokenSymbol": "MASQ",
"address": "0x06F3C323f0238c72BF35011071f2b5B7F43A054c"
},
{
"tokenSymbol": "MIM",
"address": "0x99D8a9C45b2ecA8864373A26D1459e3Dff1e17F3"
},
{
"tokenSymbol": "MULTI",
"address": "0x65Ef703f5594D2573eb71Aaf55BC0CB548492df4"
},
{
"tokenSymbol": "NFD",
"address": "0xDFDb7f72c1F195C5951a234e8DB9806EB0635346"
},
{
"tokenSymbol": "NFTL",
"address": "0x3c8D2FCE49906e11e71cB16Fa0fFeB2B16C29638"
},
{
"tokenSymbol": "OOKI",
"address": "0x0De05F6447ab4D22c8827449EE4bA2D5C288379B"
},
{
"tokenSymbol": "PENDLE",
"address": "0x808507121B80c02388fAd14726482e061B8da827"
},
{
"tokenSymbol": "PICKLE",
"address": "0x429881672B9AE42b8EbA0E26cD9C73711b891Ca5"
},
{
"tokenSymbol": "POND",
"address": "0x57B946008913B82E4dF85f501cbAeD910e58D26C"
},
{
"tokenSymbol": "PREMIA",
"address": "0x6399C842dD2bE3dE30BF99Bc7D1bBF6Fa3650E70"
},
{
"tokenSymbol": "RADAR",
"address": "0x44709a920fCcF795fbC57BAA433cc3dd53C44DbE"
},
{
"tokenSymbol": "RAIL",
"address": "0xe76C6c83af64e4C60245D8C7dE953DF673a7A33D"
},
{
"tokenSymbol": "RLC",
"address": "0x607F4C5BB672230e8672085532f7e901544a7375"
},
{
"tokenSymbol": "RUNE",
"address": "0x3155BA85D5F96b2d030a4966AF206230e46849cb"
},
{
"tokenSymbol": "SAK3",
"address": "0xe9F84dE264E91529aF07Fa2C746e934397810334"
},
{
"tokenSymbol": "SOS",
"address": "0x3b484b82567a09e2588A13D54D032153f0c0aEe0"
},
{
"tokenSymbol": "SPELL",
"address": "0x090185f2135308BaD17527004364eBcC2D37e5F6"
},
{
"tokenSymbol": "SPS",
"address": "0x00813E3421E1367353BfE7615c7f7f133C89df74"
},
{
"tokenSymbol": "SRM",
"address": "0x476c5E26a75bd202a9683ffD34359C0CC15be0fF"
},
{
"tokenSymbol": "SYN",
"address": "0x0f2D719407FdBeFF09D87557AbB7232601FD9F29"
},
{
"tokenSymbol": "TGT",
"address": "0x108a850856Db3f85d0269a2693D896B394C80325"
},
{
"tokenSymbol": "THOR",
"address": "0xa5f2211B9b8170F694421f2046281775E8468044"
},
{
"tokenSymbol": "TLOS",
"address": "0x7825e833D495F3d1c28872415a4aee339D26AC88"
},
{
"tokenSymbol": "TRU",
"address": "0x4C19596f5aAfF459fA38B0f7eD92F11AE6543784"
},
{
"tokenSymbol": "TUSD",
"address": "0x0000000000085d4780B73119b644AE5ecd22b376"
},
{
"tokenSymbol": "UMA",
"address": "0x04Fa0d235C4abf4BcF4787aF4CF447DE572eF828"
},
{
"tokenSymbol": "VEGA",
"address": "0xcB84d72e61e383767C4DFEb2d8ff7f4FB89abc6e"
},
{
"tokenSymbol": "WNCG",
"address": "0xf203Ca1769ca8e9e8FE1DA9D147DB68B6c919817"
},
{
"tokenSymbol": "XFT",
"address": "0xABe580E7ee158dA464b51ee1a83Ac0289622e6be"
},
{
"tokenSymbol": "XRUNE",
"address": "0x69fa0feE221AD11012BAb0FdB45d444D3D2Ce71c"
},
{
"tokenSymbol": "YAM",
"address": "0x0AaCfbeC6a24756c20D41914F2caba817C0d8521"
},
{
"tokenSymbol": "YEL",
"address": "0x7815bDa662050D84718B988735218CFfd32f75ea"
},
{
"tokenSymbol": "YGG",
"address": "0x25f8087EAD173b73D6e8B84329989A8eEA16CF73"
},
{
"tokenSymbol": "XEN",
"address": "0x06450dEe7FD2Fb8E39061434BAbCFC05599a6Fb8"
},
{
"tokenSymbol": "SILO",
"address": "0x6f80310ca7f2c654691d1383149fa1a57d8ab1f8"
},
{
"tokenSymbol": "WLD",
"address": "0x163f8c2467924be0ae7b5347228cabf260318753"
},
{
"tokenSymbol": "BABYDOGE",
"address": "0xAC57De9C1A09FeC648E93EB98875B212DB0d460B"
},
{
"tokenSymbol": "OATH",
"address": "0xd20523b39fAF1D6e9023a4D6085f87B7b0DE7926"
},
{
"tokenSymbol": "GDX",
"address": "0x89901994b5Ed81cbbcBC4E5A7e0cC4e7F58e5458"
},
{
"tokenSymbol": "SWAP",
"address": "0xcc4304a31d09258b0029ea7fe63d032f52e44efe"
},
{
"tokenSymbol": "POLS",
"address": "0x83e6f1E41cdd28eAcEB20Cb649155049Fac3D5Aa"
},
{
"tokenSymbol": "ORBS",
"address": "0xff56Cc6b1E6dEd347aA0B7676C85AB0B3D08B0FA"
},
{
"tokenSymbol": "LUSD",
"address": "0x5f98805A4E8be255a32880FDeC7F6728C6568bA0"
},
{
"tokenSymbol": "CBETH",
"address": "0xbe9895146f7af43049ca1c1ae358b0541ea49704"
},
{
"tokenSymbol": "RETH",
"address": "0xae78736Cd615f374D3085123A210448E74Fc6393"
},
{
"tokenSymbol": "REPV2",
"address": "0x221657776846890989a759BA2973e427DfF5C9bB"
},
{
"tokenSymbol": "KNC_E",
"address": "0x18fA72e0EE4C580a129b0CE5bD0694d716C7443E"
},
{
"tokenSymbol": "SUSD",
"address": "0x57Ab1ec28D129707052df4dF418D58a2D46d5f51"
},
{
"tokenSymbol": "PWING",
"address": "0xDb0f18081b505A7DE20B18ac41856BCB4Ba86A1a"
},
{
"tokenSymbol": "STKATOM",
"address": "0x44017598f2AF1bD733F9D87b5017b4E7c1B28DDE"
},
{
"tokenSymbol": "UWU",
"address": "0x55C08ca52497e2f1534B59E2917BF524D4765257"
},
{
"tokenSymbol": "XSUSHI",
"address": "0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272"
},
{
"tokenSymbol": "YVBOOST",
"address": "0x9d409a0A012CFbA9B15F6D4B36Ac57A46966Ab9a"
},
{
"tokenSymbol": "AXLFIL",
"address": "0x6A7b717aE5Ed65F85BA25403D5063D368239828e"
},
{
"tokenSymbol": "STERN",
"address": "0xeA0cFDC2667bE69ED724c8069d358502fF41cA18"
},
{
"tokenSymbol": "AXLDEUS",
"address": "0x69e557b926F4eEf6d9400e36DBBFEb9600Af2880"
},
{
"tokenSymbol": "AXLLQDR",
"address": "0x98504C8afa7c74c87a0641a7bb0F7968d4e8F471"
},
{
"tokenSymbol": "WSTETH",
"address": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0"
},
{
"tokenSymbol": "SFRXETH",
"address": "0xac3E018457B222d93114458476f3E3416Abbe38F"
}
]
}
/getroute
Get the route details as to how the tokens will be bridged, token amount, etc.
GET
https://api.expand.network/bridge/getroute
Query Parameters
rpc
String
Remote procedural call URL.
srcChainId
String
bridgeId*
String
dstChainId*
String
srcTokenSymbol*
String
Source token symbol.
dstTokenSymbol*
String
Destination token symbol.
amountIn*
String
Amount of token.
https://api.expand.network/bridge/getroute?bridgeId=200&dstChainId=137&srcTokenSymbol=ETH&dstTokenSymbol=USDC&amountIn=100000000000
{
"status": 200,
"msg": "success",
"data": {
"fromAmount": "100000000000",
"sendAmount": "235",
"toAmount": "234",
"toAmountMin": "232",
"fromAmountUSD": "0.0002",
"route": {
"fromChain": [
{
"type": "SWAP",
"dex": {
"chainName": "Ethereum",
"dexName": "UniswapV2",
"swapRouter": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
"factory": "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
"isCrypto": true
},
"target": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
"path": [
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
],
"swapType": "crypto",
"squidCallType": 2,
"fromToken": {
"chainId": 1,
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"name": "Ethereum",
"symbol": "ETH",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/0xsquid/assets/main/images/tokens/eth.svg",
"coingeckoId": "ethereum",
"commonKey": "weth-wei"
},
"toToken": {
"name": "USDCoin",
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"symbol": "USDC",
"decimals": 6,
"chainId": 1,
"logoURI": "https://raw.githubusercontent.com/0xsquid/assets/main/images/tokens/usdc.svg",
"coingeckoId": "usd-coin",
"commonKey": "uusdc"
},
"fromAmount": "100000000000",
"toAmount": "235",
"toAmountMin": "233",
"exchangeRate": "2350.0",
"priceImpact": "-2.1739130434782608",
"isFrom": true,
"dynamicSlippage": 0.8016032064128265
}
],
"toChain": [
{
"type": "SWAP",
"dex": {
"chainName": "Polygon",
"dexName": "Quickswap_v3",
"swapRouter": "0xf5b509bb0909a69b1c207e495f687a596c168e12",
"deployer": "0x2D98E2FA9da15aa6dC9581AB097Ced7af697CB92",
"quoter": "0xa15F0D7377B2A0C0c10db057f641beD21028FC89",
"isStable": true,
"isCrypto": true
},
"target": "0xf5b509bb0909a69b1c207e495f687a596c168e12",
"path": [
"0x750e4C4984a9e0f12978eA6742Bc1c5D248f40ed",
"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"
],
"poolFees": [
100
],
"swapType": "stable",
"squidCallType": 1,
"fromToken": {
"chainId": 137,
"address": "0x750e4C4984a9e0f12978eA6742Bc1c5D248f40ed",
"name": "axlUSDC",
"symbol": "axlUSDC",
"decimals": 6,
"logoURI": "https://raw.githubusercontent.com/0xsquid/assets/main/images/tokens/usdc.svg",
"coingeckoId": "axlusdc",
"commonKey": "uusdc"
},
"toToken": {
"name": "USD Coin (PoS)",
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"symbol": "USDC.e",
"decimals": 6,
"chainId": 137,
"logoURI": "https://raw.githubusercontent.com/0xsquid/assets/main/images/tokens/usdc.svg",
"coingeckoId": "usd-coin",
"commonKey": "polygon-uusdc"
},
"fromAmount": "235",
"toAmount": "234",
"toAmountMin": "232",
"exchangeRate": "0.995744680851063829",
"priceImpact": "-4.1005802707930367",
"isFrom": false,
"dynamicSlippage": 1
}
]
},
"feeCosts": [
{
"name": "Gas Receiver Fee",
"description": "Estimated Gas Receiver fee",
"percentage": "0",
"token": {
"chainId": 1,
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"name": "Ethereum",
"symbol": "ETH",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/0xsquid/assets/main/images/tokens/eth.svg",
"coingeckoId": "ethereum",
"commonKey": "weth-wei"
},
"amount": "1149399910508601",
"amountUSD": "2.7063"
},
{
"name": "Express Fee",
"description": "Estimated Express fee",
"percentage": "0",
"token": {
"chainId": 1,
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"name": "Ethereum",
"symbol": "ETH",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/0xsquid/assets/main/images/tokens/eth.svg",
"coingeckoId": "ethereum",
"commonKey": "weth-wei"
},
"amount": "242830575072000",
"amountUSD": "0.5717"
}
],
"gasCosts": [
{
"type": "executeCall",
"token": {
"chainId": 1,
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"name": "Ethereum",
"symbol": "ETH",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/0xsquid/assets/main/images/tokens/eth.svg",
"coingeckoId": "ethereum",
"commonKey": "weth-wei"
},
"amount": "16292229866142000",
"amountUSD": "38.3610",
"gasPrice": "35029663377",
"maxFeePerGas": "71482808284",
"maxPriorityFeePerGas": "1500000000",
"estimate": "446000",
"limit": "446000"
}
],
"estimatedRouteDuration": 20,
"isExpressSupported": true,
"exchangeRate": "2340.0",
"aggregatePriceImpact": "-6.36",
"toAmountUSD": "0.0002"
}
}
/swap
Swap assets across multiple chains.
POST
https://api.expand.network/bridge/swap
Request Body
rpc
String
Remote procedural call URL.
bridgeId
String
srcChainId
String
dstChainId*
String
Destination chain id.
srcTokenSymbol*
String
Source Token Symbol.
dstTokenSymbol*
String
Destination Token Symbol.
amountIn*
String
Amount of token.
from*
String
Address of the sender of the token.
gas*
String
Maximum gas limit provided by the sender, for the transaction.
to*
String
Address of the recipient of the token.
gasPriority
String
low, medium, or high.
slippage
String
Percentage of total swap value. By default, 1.
0 <= slippage value <= 10
{
"bridgeId": "200",
"srcChainId": "1",
"dstChainId": "137",
"srcTokenSymbol": "WETH",
"dstTokenSymbol": "USDC",
"amountIn": "100000000000000",
"from": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
"gas": "920000",
"to": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994"
}
{
"status": 200,
"msg": "success",
"data": {
"from": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
"to": "0xce16F69375520ab01377ce7B88f5BA8C48F8D666",
"value": "83660648338674",
"gas": "920000",
"data": "0x846a1bc6000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000005af3107a4000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000004a000000000000000000000000000000000000000000000000000000000000004e000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000580000000000000000000000000a67e9b68c41b0f26184d64c26e0b2b81466e599400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044095ea7b300000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc4500000000000000000000000000000000000000000000000000005af3107a4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000e404e45aaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000ce16f69375520ab01377ce7b88f5ba8c48f8d66600000000000000000000000000000000000000000000000000005af3107a400000000000000000000000000000000000000000000000000000000000000265460000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000455534443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007506f6c79676f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a3078636531364636393337353532306162303133373763653742383866354241384334384638443636360000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005800000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a67e9b68c41b0f26184d64c26e0b2b81466e599400000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000750e4c4984a9e0f12978ea6742bc1c5d248f40ed0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000750e4c4984a9e0f12978ea6742bc1c5d248f40ed000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044095ea7b3000000000000000000000000f9c2b5746c946ef883ab2660bbbb1f10a5bdeab40000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000750e4c4984a9e0f12978ea6742bc1c5d248f40ed00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000f9c2b5746c946ef883ab2660bbbb1f10a5bdeab4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000104a8c9ed67000000000000000000000000750e4c4984a9e0f12978ea6742bc1c5d248f40ed0000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa841740000000000000000000000000000000000000000000000000000000000000008000000000000000000000000a67e9b68c41b0f26184d64c26e0b2b81466e59940000000000000000000000000000000000000000000000000000018b4beef6870000000000000000000000000000000000000000000000000000000000026a3b00000000000000000000000000000000000000000000000000000000000264100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000750e4c4984a9e0f12978ea6742bc1c5d248f40ed0000000000000000000000000000000000000000000000000000000000000005"
}
}
With gasPriority:
{
"bridgeId": "200",
"srcChainId": "1",
"dstChainId": "137",
"srcTokenSymbol": "WETH",
"dstTokenSymbol": "USDC",
"amountIn": "1000000000000",
"from": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
"gas": "920000",
"gasPriority": "medium",
"to": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994"
}
With gasPriority:
{
"status": 200,
"msg": "success",
"data": {
"from": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
"to": "0xce16F69375520ab01377ce7B88f5BA8C48F8D666",
"value": "121475874191084",
"gas": "339229",
"data": "0x846a1bc6000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000005af3107a4000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000004a000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000005800000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044095ea7b300000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc4500000000000000000000000000000000000000000000000000005af3107a4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000000e404e45aaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000ce16f69375520ab01377ce7b88f5ba8c48f8d66600000000000000000000000000000000000000000000000000005af3107a40000000000000000000000000000000000000000000000000000000000000036e860000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000455534443000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007506f6c79676f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a30786365313646363933373535323061623031333737636537423838663542413843343846384436363600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000400000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000750e4c4984a9e0f12978ea6742bc1c5d248f40ed0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000750e4c4984a9e0f12978ea6742bc1c5d248f40ed000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044095ea7b30000000000000000000000002a426b3bb4fa87488387545f15d01d81352732f90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000750e4c4984a9e0f12978ea6742bc1c5d248f40ed000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000002a426b3bb4fa87488387545f15d01d81352732f9000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000003840651cb35000000000000000000000000750e4c4984a9e0f12978ea6742bc1c5d248f40ed000000000000000000000000fba3b7bb043415035220b1c44fb47564346393920000000000000000000000002791bca1f2de4661ed88a30c99a7a9449aa84174000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003759f0000000000000000000000000000000000000000000000000000000000036c2700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006fb447ae94f5180254d436a693907a1f57696900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000750e4c4984a9e0f12978ea6742bc1c5d248f40ed0000000000000000000000000000000000000000000000000000000000000015"
}
}
With slippage:
{
"bridgeId": "200",
"srcChainId": "1",
"dstChainId": "137",
"srcTokenSymbol": "WETH",
"dstTokenSymbol": "MATIC",
"amountIn": "1000000000000",
"from": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
"gas": "920000",
"to": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
"slippage": "3"
}
With slippage:
{
"status": 200,
"msg": "success",
"data": {
"from": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
"to": "0x4f193853Cc053e08405b6aBd003AEEEF3DD08cb8",
"value": "93218968720503",
"gas": "920000",
"data": "0x846a1bc6000000000000000000000000b4fbf271143f4fbf7b91a5ded31805e42b2208d6000000000000000000000000000000000000000000000000000000e8d4a51000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000004c00000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000054000000000000000000000000000000000000000000000000000000000000005a00000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4fbf271143f4fbf7b91a5ded31805e42b2208d6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044095ea7b30000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000e8d4a5100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000010438ed1739000000000000000000000000000000000000000000000000000000e8d4a5100000000000000000000000000000000000000000000000000000000000000008fe00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000004f193853cc053e08405b6abd003aeeef3dd08cb80000000000000000000000000000000000000000000000000000018d54f61af10000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b4fbf271143f4fbf7b91a5ded31805e42b2208d6000000000000000000000000254d06f33bdc5b8ee05b2ea472107e300226659a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000561555344430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007506f6c79676f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a30783466313933383533436330353365303834303562366142643030334145454546334444303863623800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000400000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000002c852e740b62308c46dd29b982fbb650d063bd0700000000000000000000000000000000000000000000000000000000000000010000000000000000000000002c852e740b62308c46dd29b982fbb650d063bd07000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000006fb447ae94f5180254d436a693907a1f5769690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000002c852e740b62308c46dd29b982fbb650d063bd070000000000000000000000000000000000000000000000000000000000000001"
}
}
Last updated