Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/pricing / / refreshPricing
Function: refreshPricing()
ts
function refreshPricing(opts): Promise<PricingSnapshot>;Defined in: pricing/src/refresh.ts:55
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>