Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/pricing / / refreshPricing

Function: refreshPricing() ​

ts
function refreshPricing(opts): Promise<PricingSnapshot>;

Defined in: pricing/src/refresh.ts:63

Stable

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 ​

ParameterType
optsRefreshPricingOptions

Returns ​

Promise&lt;PricingSnapshot&gt;