---
updatedAt: 2025-06-11T20:39:15.000Z
agentTools:
  projectIndex: https://docs.allthatnode.com/llms.txt
---

# _getEvidenceByHash

Evidence queries evidence based on evidence hash.

# Parameters

### Path

* `evidence_hash`: `STRING` - The hash of the requested evidence.

```curl Example
curl "https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/evidence/v1beta1/evidence/{evidence_hash}" \
-H 'x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj'

```

# Returns

* `OBJECT` - The evidence information.

```json Example
{
  "evidence": {
    "type_url": "string",
    "value": "string"
  }
}
```

***

# Try Yourself

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "cosmos-hub-lcd-rest",
    "version": "0.5.0"
  },
  "servers": [
    {
      "url": "https://cosmos-mainnet-archive.allthatnode.com:1317"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/cosmos/evidence/v1beta1/evidence/{evidence_hash}": {
      "get": {
        "summary": "_getEvidenceByHash",
        "description": "Evidence queries evidence based on evidence hash.",
        "operationId": "cosmosevidencev1beta1evidenceevidence_hash",
        "parameters": [
          {
            "name": "x-allthatnode-api-key",
            "in": "header",
            "description": "All That Node API key",
            "required": true,
            "schema": {
              "type": "string",
              "default": "8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj"
            }
          },
          {
            "name": "evidence_hash",
            "in": "path",
            "description": "evidence_hash defines the hash of the requested evidence.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```