For the complete documentation index, see llms.txt. This page is also available as Markdown.

eth_getTransactionCount

POST https://mainnet.valuechain.xyz

Returns the number of transactions sent from an address (the nonce).

Parameters

Name
Type
Required
Description

address

address

Yes

Account address.

block

quantity or tag

No

Hex block number, or earliest, latest, safe, finalized, or pending. Use pending to include the mempool. See block tags.

Result

Nonce (quantity): Hex-encoded transaction count.

Example

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x5d5d"
}

Code examples

cURL

JavaScript

Python

Last updated