> ## 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.

# eth_getTransactionCount | Ronin

> The eth_getTransactionCount method returns the number of transactions sent from a specified address. Use it on Ronin via Chainstack.

The `eth_getTransactionCount` method returns the number of transactions sent from a specified address. This count includes the transaction index position in the block.

<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>

## Parameters

* `address`: The address to get the number of transactions from.
* `blockParameter` (optional): This can be a hexadecimal block number, or the strings "latest", "earliest", or "pending", indicating the state from which to count the transactions.

## Response

* `result`: The number of transactions sent from the address, returned as a hexadecimal number.

## Use case

This method is useful for determining the nonce for the next transaction to be sent from the specified address. The nonce ensures transactions are processed in order and prevents double-spending and replay attacks.


## OpenAPI

````yaml openapi/ronin_node_api/eth_getTransactionCount.json POST /3997273fc956a67dc6982384500e669e
openapi: 3.0.0
info:
  title: eth_getTransactionCount
  version: 1.0.0
  description: Returns the number of transactions sent from an address.
servers:
  - url: https://ronin-mainnet.core.chainstack.com
security: []
paths:
  /3997273fc956a67dc6982384500e669e:
    post:
      tags:
        - blockchain
      summary: Get transaction count for an address
      operationId: getTransactionCount
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getTransactionCount
                params:
                  type: array
                  items:
                    type: string
                  default:
                    - '0xa459322a949b97c1cbcf3c82dfc4de9fefc6fb7c'
                    - latest
      responses:
        '200':
          description: Number of transactions sent from the address
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string

````