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

# jsonrpc web3_sha3 | TRON

> TRON API method that returns the Keccak-256 hash of the given data. This method provides Ethereum-compatible interface for TRON blockchain.

TRON API method that returns the Keccak-256 hash of the given data, providing an Ethereum-compatible interface for cryptographic hashing on TRON blockchain.

## Parameters

* `jsonrpc` — the JSON-RPC protocol version (always "2.0")
* `method` — the method name (always "web3\_sha3")
* `params` — array containing method parameters
  * `data` — hex-encoded data to be hashed
* `id` — request identifier (number or string)

## Response

* `jsonrpc` — the JSON-RPC protocol version ("2.0")
* `id` — the request identifier that matches the request
* `result` — hex-encoded Keccak-256 hash of the input data

## Use case

The `jsonrpc web3_sha3` method is used for:

* Computing Keccak-256 hashes for data verification and integrity checks
* Generating hash values for smart contract function signatures and event topics through Web3 interfaces
* Implementing cryptographic operations in dApps that require consistent hashing algorithms
* Creating data fingerprints and merkle tree components for blockchain applications


## OpenAPI

````yaml openapi/tron_node_api/jsonrpc_web3_sha3.json POST /95e61622bf6a8af293978377718e3b77/jsonrpc
openapi: 3.0.0
info:
  title: web3_sha3 example
  version: 1.0.0
  description: >-
    This is an API example for web3_sha3, a method to compute Keccak-256 hash of
    the given data on the TRON network through Ethereum-compatible JSON-RPC
    interface.
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/jsonrpc:
    post:
      tags:
        - TRON JSON-RPC Operations
      summary: web3_sha3
      operationId: web3Sha3
      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: web3_sha3
                id:
                  type: integer
                  default: 1
                params:
                  type: array
                  default:
                    - '0x68656c6c6f20776f726c64'
                  items:
                    type: string
                    description: Hex-encoded data to be hashed
      responses:
        '200':
          description: Keccak-256 hash of the input data
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
                    description: Hex-encoded Keccak-256 hash of the input data

````