Type Alias GetEpochInfoApi
GetEpochInfoApi: { getEpochInfo( config?: Readonly<{ commitment?: Commitment; minContextSlot?: Slot }>, ): Readonly< { absoluteSlot: Slot; blockHeight: bigint; epoch: bigint; slotIndex: bigint; slotsInEpoch: bigint; transactionCount: bigint | null; }, >;} Type declaration
getEpochInfo:function
- getEpochInfo(
config?: Readonly<{ commitment?: Commitment; minContextSlot?: Slot }>,
): Readonly<
{
absoluteSlot: Slot;
blockHeight: bigint;
epoch: bigint;
slotIndex: bigint;
slotsInEpoch: bigint;
transactionCount: bigint
| null;
},
> Returns Readonly<
{
absoluteSlot: Slot;
blockHeight: bigint;
epoch: bigint;
slotIndex: bigint;
slotsInEpoch: bigint;
transactionCount: bigint
| null;
},
>
Returns the balance of the account of provided Pubkey