Curve Pools
Fetch 3pool by filtering on pool address.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/curve/pools?chains=ETH&pool_address__in=0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7&from_block=1" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
{
"chain": 1,
"owner": "0xecb456ea5365865ebab8a2661b0c503410e9b347",
"token": "0x6c3f90f043a72fa612cbac8115ee7e52bde6e490",
"token_decimals": 18,
"token_name": "Curve.fi DAI/USDC/USDT",
"token_symbol": "3Crv",
"base_pool": "",
"fee": "0xf4240",
"admin_fee": "0x12a05f200",
"initial_a": "0x1388",
"future_a": "0x7d0",
"initial_a_time": "0x628f5009",
"future_a_time": "0x629872cb",
"pool_address": "0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7",
"n_coins": 3,
"coin0": "0x6b175474e89094c44da98b954eedeac495271d0f",
"coin1": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"coin2": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"coin3": null,
"coin4": null,
"coin5": null,
"coin0_decimals": 18,
"coin1_decimals": 6,
"coin2_decimals": 6,
"coin3_decimals": null,
"coin4_decimals": null,
"coin5_decimals": null,
"coin0_name": "Dai Stablecoin",
"coin1_name": "USD Coin",
"coin2_name": "Tether USD",
"coin3_name": null,
"coin4_name": null,
"coin5_name": null,
"coin0_symbol": "DAI",
"coin1_symbol": "USDC",
"coin2_symbol": "USDT",
"coin3_symbol": null,
"coin4_symbol": null,
"coin5_symbol": null,
"base_coin0": null,
"base_coin1": null,
"base_coin2": null,
"base_coin3": null,
"base_coin4": null,
"base_coin5": null,
"base_coin0_decimals": null,
"base_coin1_decimals": null,
"base_coin2_decimals": null,
"base_coin3_decimals": null,
"base_coin4_decimals": null,
"base_coin5_decimals": null,
"base_coin0_name": null,
"base_coin1_name": null,
"base_coin2_name": null,
"base_coin3_name": null,
"base_coin4_name": null,
"base_coin5_name": null,
"base_coin0_symbol": null,
"base_coin1_symbol": null,
"base_coin2_symbol": null,
"base_coin3_symbol": null,
"base_coin4_symbol": null,
"base_coin5_symbol": null,
"underlying_coin0": null,
"underlying_coin1": null,
"underlying_coin2": null,
"underlying_coin3": null,
"underlying_coin4": null,
"underlying_coin5": null,
"underlying_coin0_decimals": null,
"underlying_coin1_decimals": null,
"underlying_coin2_decimals": null,
"underlying_coin3_decimals": null,
"underlying_coin4_decimals": null,
"underlying_coin5_decimals": null,
"underlying_coin0_name": null,
"underlying_coin1_name": null,
"underlying_coin2_name": null,
"underlying_coin3_name": null,
"underlying_coin4_name": null,
"underlying_coin5_name": null,
"underlying_coin0_symbol": null,
"underlying_coin1_symbol": null,
"underlying_coin2_symbol": null,
"underlying_coin3_symbol": null,
"underlying_coin4_symbol": null,
"underlying_coin5_symbol": null
}
]
Curve Pools
Fetch stETH pool by filtering on LP token.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/curve/pools?chains=ETH&token__in=0x06325440d014e39736583c165c2963ba99faf14e&from_block=1" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
{
"chain": 1,
"owner": "0xecb456ea5365865ebab8a2661b0c503410e9b347",
"token": "0x06325440d014e39736583c165c2963ba99faf14e",
"token_decimals": 18,
"token_name": "Curve.fi ETH/stETH",
"token_symbol": "steCRV",
"base_pool": "",
"fee": "0x3d0900",
"admin_fee": "0x12a05f200",
"initial_a": "0x3e8",
"future_a": "0x1388",
"initial_a_time": "0x609d899e",
"future_a_time": "0x60a6c356",
"pool_address": "0xdc24316b9ae028f1497c275eb9192a3ea0f67022",
"n_coins": 2,
"coin0": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"coin1": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
"coin2": null,
"coin3": null,
"coin4": null,
"coin5": null,
"coin0_decimals": 18,
"coin1_decimals": 18,
"coin2_decimals": null,
"coin3_decimals": null,
"coin4_decimals": null,
"coin5_decimals": null,
"coin0_name": "Ether",
"coin1_name": "Liquid staked Ether 2.0",
"coin2_name": null,
"coin3_name": null,
"coin4_name": null,
"coin5_name": null,
"coin0_symbol": "ETH",
"coin1_symbol": "stETH",
"coin2_symbol": null,
"coin3_symbol": null,
"coin4_symbol": null,
"coin5_symbol": null,
"base_coin0": null,
"base_coin1": null,
"base_coin2": null,
"base_coin3": null,
"base_coin4": null,
"base_coin5": null,
"base_coin0_decimals": null,
"base_coin1_decimals": null,
"base_coin2_decimals": null,
"base_coin3_decimals": null,
"base_coin4_decimals": null,
"base_coin5_decimals": null,
"base_coin0_name": null,
"base_coin1_name": null,
"base_coin2_name": null,
"base_coin3_name": null,
"base_coin4_name": null,
"base_coin5_name": null,
"base_coin0_symbol": null,
"base_coin1_symbol": null,
"base_coin2_symbol": null,
"base_coin3_symbol": null,
"base_coin4_symbol": null,
"base_coin5_symbol": null,
"underlying_coin0": null,
"underlying_coin1": null,
"underlying_coin2": null,
"underlying_coin3": null,
"underlying_coin4": null,
"underlying_coin5": null,
"underlying_coin0_decimals": null,
"underlying_coin1_decimals": null,
"underlying_coin2_decimals": null,
"underlying_coin3_decimals": null,
"underlying_coin4_decimals": null,
"underlying_coin5_decimals": null,
"underlying_coin0_name": null,
"underlying_coin1_name": null,
"underlying_coin2_name": null,
"underlying_coin3_name": null,
"underlying_coin4_name": null,
"underlying_coin5_name": null,
"underlying_coin0_symbol": null,
"underlying_coin1_symbol": null,
"underlying_coin2_symbol": null,
"underlying_coin3_symbol": null,
"underlying_coin4_symbol": null,
"underlying_coin5_symbol": null
}
]
Query Parameters
v1/api/curve/pools
chains
: This parameter is used to filter the data by specific blockchain networks.from_block
: This parameter is used to filter the data by a starting block number.to_block
: This parameter is used to filter the data by an ending block number.pool_address__in
: This parameter is used to filter the data by a list of pool addresses.token__in
: This parameter is used to filter the data by the Curve LP token address.owner__in
: This parameter is used to filter the data by the pool contract owner.base_pool__in
: This parameter is used to filter metapools by the base pool address.fee__gte
: This parameter is used to filter the data by a minimum value for fee.fee__lte
: This parameter is used to filter the data by a maximum value for fee.admin_fee__gte
: This parameter is used to filter the data by a minimum value for admin fee.admin_fee__lte
: This parameter is used to filter the data by a maximum value for admin fee.initial_a__gte
: This parameter is used to filter the data by a minimum value for the initial A parameter.initial_a__lte
: This parameter is used to filter the data by a maximum value for the initial A parameter.future_a__gte
: This parameter is used to filter the data by a minimum value for the future A parameter.future_a__lte
: This parameter is used to filter the data by a maximum value for the future A parameter.initial_a_time__gte
: This parameter is used to filter the data by a minimum value for the initial A ramp time.initial_a_time__lte
: This parameter is used to filter the data by a maximum value for the initial A ramp time.future_a_time__gte
: This parameter is used to filter the data by a minimum value for the future A ramp time.future_a_time__lte
: This parameter is used to filter the data by a maximum value for the future A ramp time.n_coins__gte
: This parameter is used to filter the data by a minimum value for the number of different coins in the pool.n_coins__lte
: This parameter is used to filter the data by a maximum value for the number of different coins in the pool.coins__in
: This parameter is used to filter the data by the addresses of coins in the pool.base_coins__in
: This parameter is used to filter the data by the addresses of the base coins in the metapool.