getPoSRewards
Get the rewards information of a PoS epoch.
Usage
import { } from "./client";
const = await .({
: 1n,
});import { , } from "cive";
import { } from "cive/chains";
export const = ({
: ,
: (),
});Returns
Parameters
epochNumber
const PoSReward = await publicClient.getPoSRewardByEpoch({
epochNumber: 1n,
});