> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.chainstack.com/feedback

```json
{
  "path": "/reference/base-gettransactioncount",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# eth_getTransactionCount | Base

Base API method `eth_getTransactionCount` retrieves the number of transactions sent from a specified address, often used to determine the nonce for the next transaction from that address.

<Note>
  When called against a block older than the latest \~128 blocks, this method is treated as an archive request (2 RUs instead of 1 RU). See [request units](/docs/request-units#archive-state-methods).
</Note>

<Check>
  **Get your own node endpoint today**

  [Start for free](https://console.chainstack.com/) and get your app to production levels immediately. No credit card required.

  You can sign up with your GitHub, X, Google, or Microsoft account.
</Check>

## Parameters

* `address` — the address to get the transaction count for. In this example.
* `block` — the block number (in hexadecimal) or one of the strings `"earliest"`, `"latest"`, or `"pending"`, indicating the state to consider. The default is `"latest"`.

## Response

* `result` — the number of transactions sent from the specified address, returned as a hexadecimal string.

## Use case

The `eth_getTransactionCount` method is essential for:

* Wallets and transaction services that need to calculate the nonce for new transactions.
* Applications that monitor account activity, including outgoing transactions.
* Tools that analyze the history and behavior of accounts on the Ethereum blockchain.


## OpenAPI

````yaml /openapi/base_node_api/eth_getTransactionCount.json POST /2fc1de7f08c0465f6a28e3c355e0cb14
openapi: 3.0.0
info:
  title: eth_getTransactionCount example
  version: 1.0.0
  description: >-
    This is an API example for eth_getTransactionCount, a method to get the
    number of transactions sent from an  address.
servers:
  - url: https://base-mainnet.core.chainstack.com
security: []
paths:
  /2fc1de7f08c0465f6a28e3c355e0cb14:
    post:
      tags:
        - Ethereum Operations
      summary: eth_getTransactionCount
      operationId: getTransactionCount
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - id
                - params
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getTransactionCount
                id:
                  type: integer
                  default: 1
                params:
                  type: array
                  default:
                    - '0x1985EA6E9c68E1C272d8209f3B478AC2Fdb25c87'
                    - latest
                  items:
                    type: string
      responses:
        '200':
          description: The number of transactions sent from the address
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string

````