getTransactionCount RPC Method
Returns the current Transaction count from the ledger
params
objectoptionalConfiguration object containing the following fields:
commitment
The commitment describes how finalized a block is at that point in time. See Configuring State Commitment.
minContextSlot
The minimum slot that the request can be evaluated at
result
u64The current Transaction count from the ledger
cURL
curl https://api.mainnet.openverse.network/ -s -X \
POST -H "Content-Type: application/json" -d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getTransactionCount"
}
'
Response
{
"jsonrpc": "2.0",
"result": 2966603117,
"id": 1
}