v1
latestOpenAPI 3.0.02026-07-26278284.4 KBIntegration
Crosschain
LayerZero pool
Returns the LayerZero Stargate pool address for a given token address and chain ID. Returns null if no pool exists for the token on that chain.
get/api/v1/layerzero/pool
Query parameters
chainIdnumber required
Chain ID
tokenstring required
Token address
destinationChainIdnumber
Chain ID of destination chain
destinationTokenstring
Token address on destination chain
Response
Pool address lookup result
Example response
{
"pool": "0x6c96de32cea08842dcc4058c14d3aaad7fa41dee",
"chainId": 1,
"destinationChainId": 10,
"token": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"decimals": 6,
"destinationData": {
"pool": "0xf03b4d9ac1d5d1e7c4cef54c2a313b9fe051a0ad",
"token": "0x01bff41798a0bcf287b996046ca68b395dbc1071",
"decimals": 6
}
}