Cosmos · Example Payload

Cosmos Evidence V1Beta1

BlockchainCosmosIBCStakingGovernanceDeFiWeb3

Cosmos Evidence V1Beta1 is an example object payload from Cosmos, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

groupbaseURLoperations

Example Payload

Raw ↑
{
  "group": "cosmos/evidence/v1beta1",
  "baseURL": "https://lcd.cosmos.network",
  "operations": [
    {
      "method": "GET",
      "path": "/cosmos/evidence/v1beta1/evidence",
      "operationId": "AllEvidence",
      "summary": "AllEvidence queries all evidence.",
      "tags": [
        "Query"
      ],
      "parameters": [
        {
          "name": "pagination.key",
          "in": "query",
          "required": false,
          "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.",
          "type": "string"
        },
        {
          "name": "pagination.offset",
          "in": "query",
          "required": false,
          "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.",
          "type": "string"
        },
        {
          "name": "pagination.limit",
          "in": "query",
          "required": false,
          "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.",
          "type": "string"
        },
        {
          "name": "pagination.countTotal",
          "in": "query",
          "required": false,
          "description": "count_total is set to true  to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.",
          "type": "boolean"
        },
        {
          "name": "pagination.reverse",
          "in": "query",
          "required": false,
          "description": "reverse is set to true if results are to be returned in the descending order.",
          "type": "boolean"
        }
      ],
      "example_request": {},
      "example_response": {}
    },
    {
      "method": "GET",
      "path": "/cosmos/evidence/v1beta1/evidence/{hash}",
      "operationId": "Evidence",
      "summary": "Evidence queries evidence based on evidence hash.",
      "tags": [
        "Query"
      ],
      "parameters": [
        {
          "name": "hash",
          "in": "path",
          "required": true,
          "description": "hash defines the evidence hash of the requested evidence.",
          "type": "string"
        },
        {
          "name": "evidenceHash",
          "in": "query",
          "required": false,
          "description": "evidence_hash defines the hash of the requested evidence.\nDeprecated: Use hash, a HEX encoded string, instead.",
          "type": "string"
        }
      ],
      "example_request": {},
      "example_response": {}
    }
  ]
}