Skip to main content
POST
eth_getTransactionCount

Body

application/json
jsonrpc
string
default:2.0
required

JSON-RPC version

method
string
default:eth_getTransactionCount
required

The method to call

params
any[]
required

Address and block parameter

id
integer
default:1
required

Request identifier

Response

200 - application/json

Returns the transaction hash

jsonrpc
string
Example:

"2.0"

id
integer
Example:

1

result
string

The transaction hash

Example:

"0x2f5d6a8af654c249bc487e7c7b926a3f3f165b575a6485a487f12c7a9e3c8e45"