Aptos Bridge
Supported Chains
Available on Ethereum, Optimism, Binance Smart Chain, Polygon, Aptos, Arbitrum, Avalanche
Available Endpoints:
Click on the endpoint to jump to the section with full details
/getprice
GET- Returns the swap quotation for a given token pair./getsupportedchains
GET- Retrieves the list of chains supported by Allbridge Core , on expand.network./getsupportedtokens
GET- Retrieves the list of tokens supported by Allbridge Core, on expand.network./gettransaction
GET- Retrieves the details of the transaction./swap
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 Bridge ID Page for a complete Bridge ID list and more information.
Allbridge Core
400
Endpoint Details
/getsupportedchains
Get the list of chains supported by Squid Router, on expand.network.
GET https://api.expand.network/bridge/getsupportedchains
Query Parameters
https://api.expand.network/bridge/getsupportedchains?bridgeId=700{
"status": 200,
"msg": "success",
"data": [
{
"chainName": "Ethereum",
"chainId": "1",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Optimism",
"chainId": "10",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Binance Smart Chain",
"chainId": "56",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Polygon",
"chainId": "137",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Aptos",
"chainId": "1400",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Arbitrum",
"chainId": "42161",
"srcChainSupported": true,
"dstChainSupported": true
},
{
"chainName": "Avalanche",
"chainId": "43114",
"srcChainSupported": true,
"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=700{
"status": 200,
"msg": "success",
"data": [
{
"tokenSymbol": "ETH",
"tokenLogo": "https://images.ctfassets.net/hwqnbx905qdp/2V6xdLR6kRWA2CZw69FFFD/44d048754ba5d88972c7730428814e18/eip155_59144-0x0000000000000000000000000000000000000000.webp",
"chains": [
{
"chainName": "Ethereum",
"chainId": "1",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/1uwuF76WP6poLF5am22HFZ/bcece6e735a0d8505d23de16fdd7b89f/Protocol_Ethereum.svg",
"address": "0x0000000000000000000000000000000000000000",
"decimals": "18"
},
{
"chainName": "Optimism",
"chainId": "10",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/3gTN1NWH1VElNEBJUzAmrp/59eea2cbd4a14435efea0b3b00d2b65d/eip155_10-0x4200000000000000000000000000000000000042.webp",
"address": "0x0000000000000000000000000000000000000000",
"decimals": "18"
},
{
"chainName": "Arbitrum",
"chainId": "42161",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/wdG5xcaZud3vJeNeeRHJN/c024fc6a9e986979bd6ceee302a4d019/eip155_42170-0xf823c3cd3cebe0a1fa952ba88dc9eef8e0bf46ad.webp",
"address": "0x0000000000000000000000000000000000000000",
"decimals": "18"
}
]
},
{
"tokenSymbol": "WETH",
"tokenLogo": "https://images.ctfassets.net/hwqnbx905qdp/3CYK0uSFEP6QIljwqebBMe/f4a25b02e6c4e74c92e4a442dfa3246d/eip155_8453-0x4200000000000000000000000000000000000006.webp",
"chains": [
{
"chainName": "Ethereum",
"chainId": "1",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/1uwuF76WP6poLF5am22HFZ/bcece6e735a0d8505d23de16fdd7b89f/Protocol_Ethereum.svg",
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"decimals": "18"
},
{
"chainName": "Optimism",
"chainId": "10",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/3gTN1NWH1VElNEBJUzAmrp/59eea2cbd4a14435efea0b3b00d2b65d/eip155_10-0x4200000000000000000000000000000000000042.webp",
"address": "0x4200000000000000000000000000000000000006",
"decimals": "18"
},
{
"chainName": "Aptos",
"chainId": "1400",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/5EgKZrdoIMKG6zfJM1MOCv/4473b2e29db42374a909d934f51fc7a6/aptos_1-0x0000000000000000000000000000000000000000.webp",
"address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::WETH",
"decimals": "6"
},
{
"chainName": "Arbitrum",
"chainId": "42161",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/wdG5xcaZud3vJeNeeRHJN/c024fc6a9e986979bd6ceee302a4d019/eip155_42170-0xf823c3cd3cebe0a1fa952ba88dc9eef8e0bf46ad.webp",
"address": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
"decimals": "18"
}
]
},
{
"tokenSymbol": "USDC",
"tokenLogo": "https://images.ctfassets.net/hwqnbx905qdp/6893oiNfpI3av9Hns9C9Pr/4737a606c9622327353ac12ba58819d8/eip155_8453-0x833589fcd6edb6e08f4c7c32d4f71b54bda02913.webp",
"chains": [
{
"chainName": "Ethereum",
"chainId": "1",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/1uwuF76WP6poLF5am22HFZ/bcece6e735a0d8505d23de16fdd7b89f/Protocol_Ethereum.svg",
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"decimals": "6"
},
{
"chainName": "Optimism",
"chainId": "10",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/3gTN1NWH1VElNEBJUzAmrp/59eea2cbd4a14435efea0b3b00d2b65d/eip155_10-0x4200000000000000000000000000000000000042.webp",
"address": "0x7F5c764cBc14f9669B88837ca1490cCa17c31607",
"decimals": "6"
},
{
"chainName": "Binance Smart Chain",
"chainId": "56",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/4lToZjRQXkpr9xb34e5PEZ/0591c40dbafe060739489d232bc87950/eip155_1284-0xc9baa8cfdde8e328787e29b4b078abf2dadc2055.webp",
"address": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
"decimals": "18"
},
{
"chainName": "Polygon",
"chainId": "137",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/Gk0M0TjvKl5OMLor03LpV/448163986bfe9319a5128b7ab734b68c/eip155_56-0xcc42724c6683b7e57334c4e856f4c9965ed682bd.webp",
"address": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"decimals": "6"
},
{
"chainName": "Aptos",
"chainId": "1400",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/5EgKZrdoIMKG6zfJM1MOCv/4473b2e29db42374a909d934f51fc7a6/aptos_1-0x0000000000000000000000000000000000000000.webp",
"address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC",
"decimals": "6"
},
{
"chainName": "Arbitrum",
"chainId": "42161",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/wdG5xcaZud3vJeNeeRHJN/c024fc6a9e986979bd6ceee302a4d019/eip155_42170-0xf823c3cd3cebe0a1fa952ba88dc9eef8e0bf46ad.webp",
"address": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8",
"decimals": "6"
},
{
"chainName": "Avalanche",
"chainId": "43114",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/7sdZNsYGFV8zfUNnFrMlXb/7eeee545a13447a0018ce3162ff21d76/eip155_59144-0x5471ea8f739dd37e9b81be9c5c77754d8aa953e4.webp",
"address": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
"decimals": "6"
}
]
},
{
"tokenSymbol": "USDT",
"tokenLogo": "https://images.ctfassets.net/hwqnbx905qdp/6gHHp1dKMN94clQB2BZxWt/b1acaba653bb940969555c2bf2541ab8/eip155_8217-0x9025095263d1e548dc890a7589a4c78038ac40ab.webp",
"chains": [
{
"chainName": "Ethereum",
"chainId": "1",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/1uwuF76WP6poLF5am22HFZ/bcece6e735a0d8505d23de16fdd7b89f/Protocol_Ethereum.svg",
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"decimals": "6"
},
{
"chainName": "Binance Smart Chain",
"chainId": "56",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/4lToZjRQXkpr9xb34e5PEZ/0591c40dbafe060739489d232bc87950/eip155_1284-0xc9baa8cfdde8e328787e29b4b078abf2dadc2055.webp",
"address": "0x55d398326f99059fF775485246999027B3197955",
"decimals": "18"
},
{
"chainName": "Polygon",
"chainId": "137",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/Gk0M0TjvKl5OMLor03LpV/448163986bfe9319a5128b7ab734b68c/eip155_56-0xcc42724c6683b7e57334c4e856f4c9965ed682bd.webp",
"address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
"decimals": "6"
},
{
"chainName": "Aptos",
"chainId": "1400",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/5EgKZrdoIMKG6zfJM1MOCv/4473b2e29db42374a909d934f51fc7a6/aptos_1-0x0000000000000000000000000000000000000000.webp",
"address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT",
"decimals": "6"
},
{
"chainName": "Avalanche",
"chainId": "43114",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/7sdZNsYGFV8zfUNnFrMlXb/7eeee545a13447a0018ce3162ff21d76/eip155_59144-0x5471ea8f739dd37e9b81be9c5c77754d8aa953e4.webp",
"address": "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7",
"decimals": "6"
}
]
},
{
"tokenSymbol": "WBTC",
"tokenLogo": "https://images.ctfassets.net/hwqnbx905qdp/2ILv9flOf27yZeSfyF8K9F/8f77a74b6c7cd5ab69760bfc1f4bd2a4/eip155_1-0x2260fac5e5542a773aa44fbcfedf7c193bc2c599.webp",
"chains": [
{
"chainName": "Ethereum",
"chainId": "1",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/1uwuF76WP6poLF5am22HFZ/bcece6e735a0d8505d23de16fdd7b89f/Protocol_Ethereum.svg",
"address": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
"decimals": "8"
},
{
"chainName": "Aptos",
"chainId": "1400",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/5EgKZrdoIMKG6zfJM1MOCv/4473b2e29db42374a909d934f51fc7a6/aptos_1-0x0000000000000000000000000000000000000000.webp",
"address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::WBTC",
"decimals": "6"
}
]
},
{
"tokenSymbol": "USDD",
"tokenLogo": "https://images.ctfassets.net/hwqnbx905qdp/6A2YXqRm8OWOHo9ExBgSsL/a9451feabed36f924b2b9bdbbcd6251a/eip155_56-0xd17479997F34dd9156Deef8F95A52D81D265be9c.webp",
"chains": [
{
"chainName": "Ethereum",
"chainId": "1",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/1uwuF76WP6poLF5am22HFZ/bcece6e735a0d8505d23de16fdd7b89f/Protocol_Ethereum.svg",
"address": "0x3D7975EcCFc61a2102b08925CbBa0a4D4dBB6555",
"decimals": "18"
},
{
"chainName": "Aptos",
"chainId": "1400",
"chainLogo": "https://images.ctfassets.net/hwqnbx905qdp/5EgKZrdoIMKG6zfJM1MOCv/4473b2e29db42374a909d934f51fc7a6/aptos_1-0x0000000000000000000000000000000000000000.webp",
"address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDD",
"decimals": "6"
}
]
}
]
}/getprice
Get the swap quotation for the given token pairs.
GET https://api.expand.network/bridge/getprice
Query Parameter
rpc
String
Remote procedural call URL.
srcTokenSymbol*
String
Source token symbol.
dstTokenSymbol*
String
Destination token symbol.
amountIn*
String
Amount of token.
https://api.expand.network/bridge/getprice?bridgeId=700&srcChainId=1400&amountIn=10000000000000&srcTokenSymbol=usdc&dstChainId=1&dstTokenSymbol=usdc{
"status": 200,
"msg": "success",
"data": {
"srcChainId": "1400",
"dstChainId": "1",
"srcTokenSymbol": "USDC",
"dstTokenSymbol": "USDC",
"amountIn": "10000000000000",
"amountsOut": [
"10000000000000",
"9993000000000"
]
}
}/gettransaction
Retrieves the details of the transaction.
GET https://api.expand.network/bridge/gettransaction
Query Parameter
https://api.expand.network/bridge/gettransaction?bridgeId=700&transactionHash=0x265a27de084fadb2747ce263c8a5c994b58a2290cfd4274c9329f362e9f83e19WZ2wTaf{
"status": 200,
"msg": "success",
"data": {
"status": "EXECUTED",
"srcTx": {
"chainId": "1400",
"hash": "0x265a27de084fadb2747ce263c8a5c994b58a2290cfd4274c9329f362e9f83e19",
"transactionStatus": true,
"timestamp": "1749187550147236",
"from": "0xb3c5ca5b5597c85e04f8b1f38f8f4d9dfe140294654cb072a9bc559b9f31c151",
"to": null,
"value": null,
"transactionFees": "71",
"gas": "80000",
"gasPrice": "100",
"input": null,
"nonce": null,
"network": null
},
"dstTx": {
"chainId": "1",
"hash": "0xd12c4c4c8d53481383851ec57696e56f4af0c10f9778a2ef2f37fbc407f33311",
"transactionStatus": true,
"blockNumber": "22643465",
"timestamp": null,
"from": "0xe93685f3bBA03016F02bD1828BaDD6195988D950",
"to": "0x902F09715B6303d4173037652FA7377e5b98089E",
"value": "0",
"transactionFees": "203255553475938",
"gas": "1021020",
"gasPrice": "1262119766",
"input": "0x252f7b01000000000000000000000000000000000000000000000000000000000000006c00000000000000000000000050002cdfe7ccb0c41f519c6eb0653158d11cd9070000000000000000000000000000000000000000000000000000000000030d40aacbfaaa9f35c5aaada617cd0010311800772e4b533058333acac42d22848f11aacbfaaa9f35c5aaada617cd0010311800772e4b533058333acac42d22848f1100000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000aa54ad3d30af77b60d939ae356e6606de9a4da67583f02b962d2d3f2e481484e9000000000000043fd006cf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa006550002cdfe7ccb0c41f519c6eb0653158d11cd90701000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000a80c8ff4118884f63329ec6c7d6c220e356d419f000000000008c3680000000000000000000000000000000000000000000000",
"nonce": 2017561,
"type": 2,
"network": null,
"v": "0x1",
"r": "0x610639b506f51cd4a6d2993941097e5a6114c815de50bc0d6ad0844d6a962acb",
"s": "0x4e5d371d161385b6554c8d2f54e55ec5d2435f9fb3ae593aa0a1267647a57b1c",
"yParity": "0x1",
"transactionIndex": 59,
"accessList": [],
"maxFeePerGas": "1442810191",
"maxPriorityFeePerGas": "358667641",
"logs": [
{
"address": "0x4D73AdB72bC3DD368966edD0f0b2148401A178E2",
"topics": [
"0x2bd2d8a84b748439fd50d79a49502b4eb5faa25b864da6a9ab5c150704be9a4d",
"0x000000000000000000000000000000000000000000000000000000000000006c",
"0x00000000000000000000000050002cdfe7ccb0c41f519c6eb0653158d11cd907"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000043fd594be327f2abea1f377b4722bd320c09a79b499e1dd894b3321977ebb1dc09270000000000000000000000000000000000000000000000000000000000000020f22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
"blockNumber": 22643465,
"transactionHash": "0xd12c4c4c8d53481383851ec57696e56f4af0c10f9778a2ef2f37fbc407f33311",
"transactionIndex": 59,
"blockHash": "0x0a84cf58f9b2de351b2c7e7c9c54c3b0a484507e0ac28dbc77f7d25719dcfaed",
"logIndex": 65,
"removed": false,
"id": "log_8ec4b37b"
}
]
}
}
}/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.
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.
{
"amountIn": "10647857100000",
"amountOutMin": "0",
"dstChainId": "1",
"srcChainId": "1400",
"to": "0xa80c8Ff4118884f63329eC6C7D6c220E356D419f",
"from": "0xb3c5ca5b5597c85e04f8b1f38f8f4d9dfe140294654cb072a9bc559b9f31c151",
"srcTokenSymbol": "WETH",
"dstTokenSymbol": "ETH",
"gas": "100",
"bridgeId": "700"
}{
"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
{
"amountIn": "10647857100000",
"amountOutMin": "0",
"dstChainId": "1",
"srcChainId": "1400",
"to": "0xa80c8Ff4118884f63329eC6C7D6c220E356D419f",
"from": "0xb3c5ca5b5597c85e04f8b1f38f8f4d9dfe140294654cb072a9bc559b9f31c151",
"srcTokenSymbol": "WETH",
"dstTokenSymbol": "ETH",
"gas": "100",
"gasPriority":"high",
"bridgeId": "700"
}{
"status": 200,
"msg": "success",
"data": {
"chainId": "1400",
"from": "0xb3c5ca5b5597c85e04f8b1f38f8f4d9dfe140294654cb072a9bc559b9f31c151",
"to": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa",
"data": "s8XKW1WXyF4E+LHzj49Nnf4UApRlTLByqbxVm58xwVEbAAAAAAAAAALyK+3iN6B+EhtW2RpJHre839H1kHkmqeWDOPlkoBsX+gtjb2luX2JyaWRnZQ5zZW5kX2NvaW5fZnJvbQEH8ivt4jegfhIbVtkaSR63vN/R9ZB5Jqnlgzj5ZKAbF/oFYXNzZXQEV0VUSAAICGUAAAAAAAAAISAAAAAAAAAAAAAAAACoDI/0EYiE9jMp7Gx9bCIONW1BnwjgdL0lrwkAAAgF5mEKAAAAAAgAAAAAAAAAAAEBCwoAAQAAAAAAAw1AAQBkAAAAAAAAAGQAAAAAAAAAv7JbaAAAAAAB",
"referenceId": "3fdee48a99494279ba926e83e3654987"
}
} Last updated

