GetTransactionCountApi

type GetTransactionCountApi = object;

Methods

getTransactionCount()

getTransactionCount(config?): bigint;

Returns the current number of transactions to have achieved a given level of committment.

Parameters

ParameterType
config?Readonly<{ commitment?: Commitment; minContextSlot?: Slot; }>

Returns

bigint

See

https://solana.com/docs/rpc/http/gettransactioncount

On this page