Graphorin API reference v0.12.1
Graphorin API reference / @graphorin/pricing / / refreshPricing
Function: refreshPricing()
ts
function refreshPricing(opts): Promise<PricingSnapshot>;Defined in: packages/pricing/src/refresh.ts:63
Pull a fresh snapshot from the supplied URL and return it. Network failures and shape mismatches surface as thrown errors so the CLI can surface them to the operator.
Parameters
| Parameter | Type |
|---|---|
opts | RefreshPricingOptions |
Returns
Promise<PricingSnapshot>