Skip to main content

Function: priceBatches()

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / priceBatches

Function: priceBatches()

priceBatches(ids): string[][]

Defined in: packages/gswap-sdk/dist/index.d.ts:2230

The ids in request-sized batches: at most MARKET_PRICE_BATCH_LIMIT ids and MARKET_PRICE_QUERY_BYTES of encoded assetIds each (the standard encoding's size, the larger of the two, with a %2C per id).

Parameters​

ids​

readonly string[]

Returns​

string[][]