Curve Tokens
Fetch 3Crv
LP token by filtering on LP token address
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/curve/tokens?chains=ETH&from_block=0&address__in=0x6c3f90f043a72fa612cbac8115ee7e52bde6e490" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
{
"chain": 1,
"address": "0x6c3f90f043a72fa612cbac8115ee7e52bde6e490",
"name": "Curve.fi DAI/USDC/USDT",
"symbol": "3Crv",
"decimals": 18,
"pool_address": "0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7",
"n_coins": 3
}
]
Query Parameters
v1/api/curve/tokens
chains
: Filters the data by specific blockchain networks.from_block
: Filters the data by a starting block number.to_block
: Filters the data by an ending block number.address__in
: Filters the data by a list of LP tokenaddress
.symbol__in
: Filters the data by a list of LP tokensymbol
.name__in
: Filters the data by a list of LP tokenname
.pool_address__in
: Filters the data by a list ofpool_address
.decimals__gte
: Filters the data by LP tokendecimals
using the greater than or equal to operator.decimals__lte
: Filters the data by LP tokendecimals
using the less than or equal to operator.