curl --request GET \
--url https://li.quest/v1/connections{
"connections": [
{
"fromChainId": 137,
"toChainId": 1,
"fromTokens": [
{
"address": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
"decimals": 18,
"symbol": "DAI",
"chainId": 137,
"coinKey": "DAI",
"name": "DAI",
"logoURI": "https://static.debank.com/image/matic_token/logo_url/0x8f3cf7ad23cd3cadbd9735aff958023239c6a063/549c4205dbb199f1b8b03af783f35e71.png",
"priceUSD": "1"
}
],
"toTokens": [
{
"address": "0x6b175474e89094c44da98b954eedeac495271d0f",
"decimals": 18,
"symbol": "DAI",
"chainId": 1,
"coinKey": "DAI",
"name": "DAI",
"logoURI": "https://static.debank.com/image/eth_token/logo_url/0x6b175474e89094c44da98b954eedeac495271d0f/549c4205dbb199f1b8b03af783f35e71.png",
"priceUSD": "1"
},
{
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"symbol": "ETH",
"chainId": 1,
"coinKey": "ETH",
"name": "ETH",
"logoURI": "https://static.debank.com/image/token/logo_url/eth/935ae4e4d1d12d59a99717a24f2540b5.png",
"priceUSD": "2582.35"
},
{
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"decimals": 6,
"symbol": "USDC",
"chainId": 1,
"coinKey": "USDC",
"name": "USDC",
"logoURI": "https://static.debank.com/image/eth_token/logo_url/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/fffcd27b9efff5a86ab942084c05924d.png",
"priceUSD": "1"
},
{
"address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"decimals": 6,
"symbol": "USDT",
"chainId": 1,
"coinKey": "USDT",
"name": "USDT",
"logoURI": "https://static.debank.com/image/eth_token/logo_url/0xdac17f958d2ee523a2206206994597c13d831ec7/66eadee7b7bb16b75e02b570ab8d5c01.png",
"priceUSD": "1"
}
]
},
{
"fromChainId": 137,
"toChainId": 10,
"fromTokens": [
{
"address": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
"decimals": 18,
"symbol": "DAI",
"chainId": 137,
"coinKey": "DAI",
"name": "DAI",
"logoURI": "https://static.debank.com/image/matic_token/logo_url/0x8f3cf7ad23cd3cadbd9735aff958023239c6a063/549c4205dbb199f1b8b03af783f35e71.png",
"priceUSD": "1"
}
],
"toTokens": [
{
"address": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
"decimals": 18,
"symbol": "DAI",
"chainId": 10,
"coinKey": "DAI",
"name": "DAI",
"logoURI": "https://static.debank.com/image/op_token/logo_url/0xda10009cbd5d07dd0cecc66161fc93d7c9000da1/45965130df45ecf234ff03ce28299cd1.png",
"priceUSD": "1"
},
{
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"symbol": "ETH",
"chainId": 10,
"coinKey": "ETH",
"name": "ETH",
"logoURI": "https://static.debank.com/image/op_token/logo_url/op/d61441782d4a08a7479d54aea211679e.png",
"priceUSD": "2582.35"
},
{
"address": "0x7f5c764cbc14f9669b88837ca1490cca17c31607",
"decimals": 6,
"symbol": "USDC",
"chainId": 10,
"coinKey": "USDC",
"name": "USDC",
"logoURI": "https://static.debank.com/image/op_token/logo_url/0x7f5c764cbc14f9669b88837ca1490cca17c31607/773a0161709a55edc211c3fa67f7c1a7.png",
"priceUSD": "1"
},
{
"address": "0x94b008aa00579c1307b0ef2c499ad98a8ce58e58",
"decimals": 6,
"symbol": "USDT",
"chainId": 10,
"coinKey": "USDT",
"name": "USDT",
"logoURI": "https://static.debank.com/image/op_token/logo_url/0x94b008aa00579c1307b0ef2c499ad98a8ce58e58/37c9c2ddceb0c83f0f4c07ea4fa53e9d.png",
"priceUSD": "1"
}
]
},
{
"fromChainId": 137,
"toChainId": 56,
"fromTokens": [
{
"address": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
"decimals": 18,
"symbol": "DAI",
"chainId": 137,
"coinKey": "DAI",
"name": "DAI",
"logoURI": "https://static.debank.com/image/matic_token/logo_url/0x8f3cf7ad23cd3cadbd9735aff958023239c6a063/549c4205dbb199f1b8b03af783f35e71.png",
"priceUSD": "1"
}
],
"toTokens": [
{
"address": "0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3",
"decimals": 18,
"symbol": "DAI",
"chainId": 56,
"coinKey": "DAI",
"name": "DAI",
"logoURI": "https://static.debank.com/image/bsc_token/logo_url/0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3/549c4205dbb199f1b8b03af783f35e71.png",
"priceUSD": "1"
},
{
"address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8",
"decimals": 18,
"symbol": "ETH",
"chainId": 56,
"coinKey": "ETH",
"name": "ETH",
"logoURI": "https://static.debank.com/image/bsc_token/logo_url/0x2170ed0880ac9a755fd29b2688956bd959f933f8/80dd95753396b5619cf84b0df135eae5.png",
"priceUSD": "2582.35"
},
{
"address": "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
"decimals": 18,
"symbol": "USDC",
"chainId": 56,
"coinKey": "USDC",
"name": "USDC",
"logoURI": "https://static.debank.com/image/bsc_token/logo_url/0x8ac76a51cc950d9822d68b83f0e1ad97b32cd580d/fffcd27b9efff5a86ab942084c05924d.png",
"priceUSD": "1"
},
{
"address": "0x55d398326f99059ff775485246999027b3197955",
"decimals": 18,
"symbol": "USDT",
"chainId": 56,
"coinKey": "USDT",
"name": "USDT",
"logoURI": "https://static.debank.com/image/bsc_token/logo_url/0x55d398326f99059ff775485246999027b3197955/66eadee7b7bb16b75e02b570ab8d5c01.png",
"priceUSD": "1"
}
]
}
]
}此端点返回基于指定源链或目标链的所有可能连接,显示可用的桥接路径和路由选项。
curl --request GET \
--url https://li.quest/v1/connections{
"connections": [
{
"fromChainId": 137,
"toChainId": 1,
"fromTokens": [
{
"address": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
"decimals": 18,
"symbol": "DAI",
"chainId": 137,
"coinKey": "DAI",
"name": "DAI",
"logoURI": "https://static.debank.com/image/matic_token/logo_url/0x8f3cf7ad23cd3cadbd9735aff958023239c6a063/549c4205dbb199f1b8b03af783f35e71.png",
"priceUSD": "1"
}
],
"toTokens": [
{
"address": "0x6b175474e89094c44da98b954eedeac495271d0f",
"decimals": 18,
"symbol": "DAI",
"chainId": 1,
"coinKey": "DAI",
"name": "DAI",
"logoURI": "https://static.debank.com/image/eth_token/logo_url/0x6b175474e89094c44da98b954eedeac495271d0f/549c4205dbb199f1b8b03af783f35e71.png",
"priceUSD": "1"
},
{
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"symbol": "ETH",
"chainId": 1,
"coinKey": "ETH",
"name": "ETH",
"logoURI": "https://static.debank.com/image/token/logo_url/eth/935ae4e4d1d12d59a99717a24f2540b5.png",
"priceUSD": "2582.35"
},
{
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"decimals": 6,
"symbol": "USDC",
"chainId": 1,
"coinKey": "USDC",
"name": "USDC",
"logoURI": "https://static.debank.com/image/eth_token/logo_url/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/fffcd27b9efff5a86ab942084c05924d.png",
"priceUSD": "1"
},
{
"address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"decimals": 6,
"symbol": "USDT",
"chainId": 1,
"coinKey": "USDT",
"name": "USDT",
"logoURI": "https://static.debank.com/image/eth_token/logo_url/0xdac17f958d2ee523a2206206994597c13d831ec7/66eadee7b7bb16b75e02b570ab8d5c01.png",
"priceUSD": "1"
}
]
},
{
"fromChainId": 137,
"toChainId": 10,
"fromTokens": [
{
"address": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
"decimals": 18,
"symbol": "DAI",
"chainId": 137,
"coinKey": "DAI",
"name": "DAI",
"logoURI": "https://static.debank.com/image/matic_token/logo_url/0x8f3cf7ad23cd3cadbd9735aff958023239c6a063/549c4205dbb199f1b8b03af783f35e71.png",
"priceUSD": "1"
}
],
"toTokens": [
{
"address": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
"decimals": 18,
"symbol": "DAI",
"chainId": 10,
"coinKey": "DAI",
"name": "DAI",
"logoURI": "https://static.debank.com/image/op_token/logo_url/0xda10009cbd5d07dd0cecc66161fc93d7c9000da1/45965130df45ecf234ff03ce28299cd1.png",
"priceUSD": "1"
},
{
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"symbol": "ETH",
"chainId": 10,
"coinKey": "ETH",
"name": "ETH",
"logoURI": "https://static.debank.com/image/op_token/logo_url/op/d61441782d4a08a7479d54aea211679e.png",
"priceUSD": "2582.35"
},
{
"address": "0x7f5c764cbc14f9669b88837ca1490cca17c31607",
"decimals": 6,
"symbol": "USDC",
"chainId": 10,
"coinKey": "USDC",
"name": "USDC",
"logoURI": "https://static.debank.com/image/op_token/logo_url/0x7f5c764cbc14f9669b88837ca1490cca17c31607/773a0161709a55edc211c3fa67f7c1a7.png",
"priceUSD": "1"
},
{
"address": "0x94b008aa00579c1307b0ef2c499ad98a8ce58e58",
"decimals": 6,
"symbol": "USDT",
"chainId": 10,
"coinKey": "USDT",
"name": "USDT",
"logoURI": "https://static.debank.com/image/op_token/logo_url/0x94b008aa00579c1307b0ef2c499ad98a8ce58e58/37c9c2ddceb0c83f0f4c07ea4fa53e9d.png",
"priceUSD": "1"
}
]
},
{
"fromChainId": 137,
"toChainId": 56,
"fromTokens": [
{
"address": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
"decimals": 18,
"symbol": "DAI",
"chainId": 137,
"coinKey": "DAI",
"name": "DAI",
"logoURI": "https://static.debank.com/image/matic_token/logo_url/0x8f3cf7ad23cd3cadbd9735aff958023239c6a063/549c4205dbb199f1b8b03af783f35e71.png",
"priceUSD": "1"
}
],
"toTokens": [
{
"address": "0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3",
"decimals": 18,
"symbol": "DAI",
"chainId": 56,
"coinKey": "DAI",
"name": "DAI",
"logoURI": "https://static.debank.com/image/bsc_token/logo_url/0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3/549c4205dbb199f1b8b03af783f35e71.png",
"priceUSD": "1"
},
{
"address": "0x2170ed0880ac9a755fd29b2688956bd959f933f8",
"decimals": 18,
"symbol": "ETH",
"chainId": 56,
"coinKey": "ETH",
"name": "ETH",
"logoURI": "https://static.debank.com/image/bsc_token/logo_url/0x2170ed0880ac9a755fd29b2688956bd959f933f8/80dd95753396b5619cf84b0df135eae5.png",
"priceUSD": "2582.35"
},
{
"address": "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
"decimals": 18,
"symbol": "USDC",
"chainId": 56,
"coinKey": "USDC",
"name": "USDC",
"logoURI": "https://static.debank.com/image/bsc_token/logo_url/0x8ac76a51cc950d9822d68b83f0e1ad97b32cd580d/fffcd27b9efff5a86ab942084c05924d.png",
"priceUSD": "1"
},
{
"address": "0x55d398326f99059ff775485246999027b3197955",
"decimals": 18,
"symbol": "USDT",
"chainId": 56,
"coinKey": "USDT",
"name": "USDT",
"logoURI": "https://static.debank.com/image/bsc_token/logo_url/0x55d398326f99059ff775485246999027b3197955/66eadee7b7bb16b75e02b570ab8d5c01.png",
"priceUSD": "1"
}
]
}
]
}Authentication header, contact support if you want to get registered.
The chain that should be the start of the possible connections.
The chain that should be the end of the possible connections.
Only return connections starting with this token.
Only return connections ending with this token.
Restrict the resulting tokens to the given chainTypes.
List of bridges that are allowed for this transaction. Retrieve the current catalog from the /v1/tools endpoint.
List of bridges that are not allowed for this transaction. Retrieve the current catalog from the /v1/tools endpoint.
List of bridges that should be preferred for this transaction. Retrieve the current catalog from the /v1/tools endpoint.
List of exchanges that are allowed for this transaction. Retrieve the current catalog from the /v1/tools endpoint.
List of exchanges that are not allowed for this transaction. Retrieve the current catalog from the /v1/tools endpoint.
List of exchanges that should be preferred for this transaction. Retrieve the current catalog from the /v1/tools endpoint.
Whether connections that require chain switch should be included in the response.
Whether connections that includes destination call should be included in the response.
The possible connections
显示 子属性
The sending chain
The receiving chain
List of possible tokens that can be sent
显示 子属性
Address of the token
Number of decimals the token uses
Symbol of the token
Id of the token's chain
Name of the token
Identifier for the token
Logo of the token
Token price in USD
List of tokens that can be sent
显示 子属性
Address of the token
Number of decimals the token uses
Symbol of the token
Id of the token's chain
Name of the token
Identifier for the token
Logo of the token
Token price in USD