Optional
assetThe asset in to check prices for. Defaults to ZTG.
Optional
from?: BlockNumber | Date | DurationThe blocknumber or date to tail prices from.
The pool to fetch prices for
Optional
resolution?: DurationProjected space between blocks.
// Will stream price by the hour for the last day. Stream of 24 items.
sdk.model.assets.poolPrices.$({tail: '-24 hour', resolution: '1 hour', marketId})
Generated using TypeDoc
Streaming query paramaters.