curl --request GET \
--url https://api.enso.build/api/v1/layerzero/pool{
"pool": "0x6c96de32cea08842dcc4058c14d3aaad7fa41dee",
"chainId": 1,
"destinationChainId": 10,
"token": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"decimals": 6,
"destinationData": {
"pool": "0xf03b4d9ac1d5d1e7c4cef54c2a313b9fe051a0ad",
"token": "0x01bff41798a0bcf287b996046ca68b395dbc1071",
"decimals": 6
}
}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.
curl --request GET \
--url https://api.enso.build/api/v1/layerzero/pool{
"pool": "0x6c96de32cea08842dcc4058c14d3aaad7fa41dee",
"chainId": 1,
"destinationChainId": 10,
"token": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"decimals": 6,
"destinationData": {
"pool": "0xf03b4d9ac1d5d1e7c4cef54c2a313b9fe051a0ad",
"token": "0x01bff41798a0bcf287b996046ca68b395dbc1071",
"decimals": 6
}
}Chain ID
Token address
Chain ID of destination chain
Token address on destination chain
Pool address lookup result
LayerZero pool address for the source token
"0x6c96de32cea08842dcc4058c14d3aaad7fa41dee"
Source chain ID
1
Destination chain ID
10
Source token address
"0xdac17f958d2ee523a2206206994597c13d831ec7"
Decimals of the source token
6
Details about the destination pool and token
Show child attributes
Was this page helpful?