WDK logoWDK documentation
StartWalletsDeFi & FiatAI & CLITools

Pricing Modules Overview

Explore WDK pricing modules for current prices, price data, and historical price series.

WDK pricing modules provide PricingClient implementations for external market data sources. Use them directly when you need raw provider results, or pass them into PricingProvider when you want caching and ordered failover across multiple clients.

Pricing Client Modules

Provider Compatibility

Pricing clients implement the shared PricingClient surface:

  • getCurrentPrice(from, to)
  • getMultiCurrentPrices(list)
  • getMultiPriceData(list)
  • getHistoricalPrice(from, to, opts?)

@tetherto/wdk-pricing-provider supplies the PricingProvider wrapper. Install a client package for the data source you want, then pass that client to the wrapper for in-memory caching. Pass an ordered array of clients to enable failover. See the CoinGecko setup for an installation example.

Next Steps


Need Help?

On this page