getTransactionCount RPC 메소드
원장에서 현재 트랜잭션 수를 반환합니다
$ 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
다음 필드를 포함하는 구성 객체:
result
Response
{"jsonrpc": "2.0","result": 268,"id": 1}
u64
원장에서의 현재 트랜잭션 수
Is this page helpful?