Méthode RPC getTransactionCount
Renvoie le nombre actuel de transactions du registre
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getTransactionCount",> "params": [> {> "commitment": "finalized"> }> ]> }> '
params
objectoptional
Objet de configuration contenant les champs suivants :
result
Response
{"jsonrpc": "2.0","result": 268,"id": 1}
u64
Le nombre actuel de transactions du registre
Is this page helpful?