Read
const sEthAddress = Strike.util.getAddress(Strike.sETH);
(async function() {
const srpb = await Strike.eth.read(
sEthAddress,
'function supplyRatePerBlock() returns (uint256)',
// [], // [optional] parameters
// {} // [optional] call options, provider, network, plus Ethers.js "overrides"
);
console.log('sETH market supply rate per block:', srpb.toString());
})().catch(console.error);Last updated
Was this helpful?