getTransactionCount
Returns the current Transaction count from the ledger
请求参数
<object>
- (optional) Commitment
响应结果
<u64>
- count
示例代码
请求:
curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d '
{"jsonrpc":"2.0","id":1, "method":"getTransactionCount"}
响应:
{"jsonrpc":"2.0","result":268,"id":1}