Skip to content
Cive

getPoSRewards

Get the rewards information of a PoS epoch.

Usage

import {  } from "./client";
const  = await .({
  : 1n,
});

Returns

PoSReward

Parameters

epochNumber

const PoSReward = await publicClient.getPoSRewardByEpoch({
  epochNumber: 1n, 
});

JSON-RPC Method

pos_getRewardsByEpoch