API Reference

eth_getTransactionCount - Zeta

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: [ "0x3CF48a95B9592094fB751bD099399b10Dad2614E", "0x47fba" ];

Returns

QUANTITY - Integer of the number of transactions send from this address.


Example

Request

curl --location 'http://zetachain-athens-3.unifra.io/v1/{your-api-key}' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": [ "0x735b14bb79463307aacbed86daf3322b1e6226ab", "0x151fb7" ], "id": "5eb0a2ad-e5bc-4a64-8cd5-a19089cef282" }'
URL: https://eth-mainnet.unifra.io/v1/your-api-key RequestType: POST Body: { "jsonrpc":"2.0", "method":"eth_getTransactionCount", "params":["0xc94770007dda54cF92009BFF0dE90c06F603a09f","latest"], "id":0 }

Result

{ "jsonrpc": "2.0", "id": "eca8d035-f9e3-4d6e-a9ac-bf97c908cd23", "result": "0x9" }
Path Params
string
required
Defaults to demo
Body Params
string
Defaults to { "jsonrpc": "2.0", "method": "eth_getTransactionCount", "params": [ "0x3282a336cf0ca93fec466cf36415f2808ab924e5", "latest" ], "id": "123" }
Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json