API Reference
API for @tetherto/wdk-pricing-bitfinex-http
Package: @tetherto/wdk-pricing-bitfinex-http
@tetherto/wdk-pricing-bitfinex-httpClass: BitfinexPricingClient
BitfinexPricingClientConstructor
new BitfinexPricingClient(options?)Methods
Method
Description
Returns
const price = await client.getCurrentPrice('BTC', 'USD')const series = await client.getHistoricalPrice({
from: 'BTC',
to: 'USD',
start: 1709906400000, // optional
end: 1709913600000 // optional
})Package: @tetherto/wdk-pricing-provider
@tetherto/wdk-pricing-providerClass: PricingProvider
PricingProviderConstructor
Methods
Method
Description
Returns
Interface: PricingClient (abstract)
PricingClient (abstract)Method
Signature
Notes
Notes
Need Help?
Last updated
Was this helpful?

