GetTransactionCount
post
Returns the number of transactions sent from an address.
Parameters
DATA
, 20 Bytes - address.QUANTITY|TAG
- integer block number, or the string"latest"
,"earliest"
or"pending"
, see the default block parameter
params: [ '0x407d73d8a49eeb85d32cf465507dd71d507100c1', 'latest' // state at the latest block ]
Returns
QUANTITY
- integer of the number of transactions send from this address.
Body
jsonrpcstringRequired
methodstringRequired
paramsstring[]Required
idinteger · int32Required
Responses
200
Successful Operation
500
Internal Server Error
post
POST //getTransactionCount HTTP/1.1
Host: tomo.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"jsonrpc": "2.0",
"method": "eth_getTransactionCount",
"params": [
"0xbf1dcb735e512b731abd3404c15df6431bd03d42",
"latest"
],
"id": 1
}
No content