fix: surface full block rewards type
This commit is contained in:
@ -502,6 +502,8 @@ type ConfirmedBlock = {
|
|||||||
rewards: Array<{
|
rewards: Array<{
|
||||||
pubkey: string,
|
pubkey: string,
|
||||||
lamports: number,
|
lamports: number,
|
||||||
|
postBalance: number | null,
|
||||||
|
rewardType: string | null,
|
||||||
}>,
|
}>,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1152,6 +1154,8 @@ export const GetConfirmedBlockRpcResult = jsonRpcResult(
|
|||||||
struct({
|
struct({
|
||||||
pubkey: 'string',
|
pubkey: 'string',
|
||||||
lamports: 'number',
|
lamports: 'number',
|
||||||
|
postBalance: struct.union(['number', 'undefined']),
|
||||||
|
rewardType: struct.union(['string', 'undefined']),
|
||||||
}),
|
}),
|
||||||
]),
|
]),
|
||||||
]),
|
]),
|
||||||
|
Reference in New Issue
Block a user