# Saylor Innovations Data Desk – Cosmos Hub Transaction Lookup

> Saylor Innovations Data Desk – Cosmos Hub Transaction Lookup is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Looks up a Cosmos Hub transaction by hash and returns result code, error message, message types, fee, gas used, block height, and block time from a Cosmos SDK REST node.

## Facts

- Endpoint: GET https://saylorinnovations.com/api/explorer/cosmos/tx?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-data-desk-cosmos-hub-transaction-lookup-7e3fe024
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KYOBGlsHrTyMaxE8KqEm4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-data-desk-cosmos-hub-transaction-lookup-7e3fe024
```

Example prompt: Can you look up Cosmos Hub transaction 3A1B2C4D5E6F7890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890AB and tell me whether it succeeded, what message types it contained, how much gas it used, and what block it landed in?

## When to prefer this

Use this endpoint when you need to look up the outcome of a specific Cosmos Hub transaction by its 64-character hex hash — particularly to check success/failure status, result code, error details, gas consumption, or message types. Prefer it over generic block explorers when you need a machine-readable JSON response suitable for agent workflows. Not suitable for querying other Cosmos SDK chains, EVM chains, or for searching transactions by address.

## Known failure modes

- Invalid or malformed hash (not 64 hex characters) returns an error or empty result
- Transaction not found on Cosmos Hub returns a not-found or null result
- Cosmos SDK REST node temporarily unavailable causes timeout or 5xx error
- Non-Cosmos-Hub transaction hash (e.g. from another Cosmos chain) may return no data or incorrect data

## How this service works

Cosmos Hub transaction lookup: result code and error, message types, fee, gas used, block height and time, read from a Cosmos SDK REST node.

## Output

A JSON object containing: chain identifier, transaction hash, status string, numeric result code, block height, gas wanted, gas used, message count, array of message type strings, optional memo, optional error message, optional fee in ATOM, optional block time, a note explaining caveats, and the data source label.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "hash"
     ],
     "properties": {
      "hash": {
       "type": "string",
       "description": "the Cosmos Hub transaction hash (64 hex characters)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "hash",
      "status",
      "code",
      "height",
      "gas_wanted",
      "gas_used",
      "message_count",
      "message_types",
      "note",
      "source"
     ],
     "properties": {
      "code": {
       "type": "number",
       "description": "Code assigned by the issuing system"
      },
      "hash": {
       "type": "string",
       "description": "Hash of the item"
      },
      "memo": {
       "type": [
        "string",
        "null"
       ]
      },
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "time": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time"
      },
      "chain": {
       "type": "string",
       "description": "Blockchain the data is for"
      },
      "error": {
       "type": [
        "string",
        "null"
       ],
       "description": "Error message, if any"
      },
      "height": {
       "type": "number",
       "description": "Height"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "status": {
       "type": "string",
       "description": "Current status"
      },
      "fee_atom": {
       "type": [
        "number",
        "null"
       ],
       "description": "Fee atom"
      },
      "gas_used": {
       "type": "number",
       "description": "Gas consumed"
      },
      "gas_wanted": {
       "type": "number",
       "description": "Gas wa
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-data-desk-cosmos-hub-transaction-lookup-7e3fe024/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
