get_collecting_period
This on-chain view returns collecting period (in blocks) that is used for bakers' rewards collecting.
A view doesn't accept any parameters.
nat
🌮 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 });
A view doesn't throw any errors.
Last modified 11mo ago