Skip to content

Releases: coinpaprika/dexpaprika-sdk-python

v0.4.0 - Pool filter, top tokens, token filter, and batch prices

31 Mar 16:24
cc78078

Choose a tag to compare

What's new

Four new API endpoints:

  • pools.filter() - Filter pools by volume,
    liquidity, transactions, and creation date
  • tokens.get_top() - Top tokens on a network ranked
    by volume, price, or liquidity
  • tokens.filter() - Filter tokens by volume,
    liquidity, FDV, transactions, and creation date
  • tokens.get_multi_prices() - Batch prices for up
    to 10 tokens in one request

Other changes

  • New Pydantic models: PoolFilterResponse, TopToken,
    TopTokenTimeMetrics, TopTokensResponse,
    FilteredToken, TokenFilterResponse, TokenPrice
  • Extended Pool model with volume_usd_7d,
    liquidity_usd fields
  • Extended Token model with type, status,
    has_image fields
  • Migrated Pydantic models from deprecated class Config
    to ConfigDict
  • 34 tests passing against live API

Install / upgrade

pip install --upgrade dexpaprika-sdk

Full changelog

See CHANGELOG.md for details.