Quipuswap
Search…
get_collecting_period
This on-chain view returns collecting period (in blocks) that is used for bakers' rewards collecting.

Call parameters

A view doesn't accept any parameters.

Return type

nat

Usage

🌮 Taquito
const dexCoreAddress = "KT1...";
const viewCaller = "tz1...";
const dexCore = await tezos.contract.at(dexCoreAddress);
const collectingPeriod = await dexCore.contract.contractViews.get_collecting_period().executeView({ viewCaller: viewCaller });

Errors

A view doesn't throw any errors.