v1

latestOpenAPI 3.0.02026-08-0451764.0 KB
Pool

Get pool information

This endpoint provides comprehensive information about all the pools on the selected chain, including details about its assets, the contract address of its liquidity pool, and other relevant data. This information is crucial for making off-chain calculations and predicting quotes.

get/rfq/v2/pool/{chainId}

Path parameters

chainIdinteger required

ID of the blockchain network

Query parameters

pool_addressstring

The address of the pool. If not provided, all pools on the selected chain will be returned.

time_in_secondsinteger

The time duration for which a quote will be available. This value is used to calculate the fees; as you decrease the time, you will see lower fees. By default, the system sets a predefined value. Note: For on-chain data, this field is not considered.

fieldset'offchain-data'

Determines whether the API should make calls to the blockchain to return on-chain data. If the parameter is not provided, it will default to handling on-chain data.

Response

Pool information retrieved successfully

OR