# 1gateway Solana Transaction Lookup

> 1gateway Solana Transaction Lookup is a paid API for AI agents from 1gateway.dev, paid per call via x402, $0.0045/call, status unknown (last checked 2026-10-30).

Looks up a Solana mainnet transaction by signature and returns its status, fee details, SOL/token balance changes, and involved accounts.

## Facts

- Endpoint: GET https://1gateway.dev/v1/onchain/solana/tx?utm_source=zero.xyz
- Price: $0.0045/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/1gateway-solana-transaction-lookup-d48b8018
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1bilrdeatGzGwrWymBNW7

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 1gateway-solana-transaction-lookup-d48b8018
```

Example prompt: Can you check whether this Solana transaction went through and tell me who paid, how much SOL moved, and any token transfers? The signature is 5Xg1wCobkM4jAJNHE6t7B1amt4ch5wq5GrxuhQXXgoAkUPUAjVMC9tQFCvp1awUGfrqZY9L9sLdPieJ97DcDjXtC.

## When to prefer this

Choose this endpoint when you need to verify whether a specific Solana mainnet transaction succeeded, who the fee payer and signers were, exact SOL and token balance changes per account, and what programs were invoked — all from a single signature lookup. Prefer it over generic block explorers when you need clean, normalized JSON output suitable for programmatic agent workflows, and when you only want to pay per call rather than maintain an RPC subscription.

## Known failure modes

- Signature not found or not yet confirmed → 404 (not charged)
- Invalid base58 signature format → validation error
- Transaction still pending/unconfirmed → 404 until finalized
- RPC node unavailability or timeout → 5xx error
- More than 25 accounts involved → results truncated, truncated flag set to true

## How this service works

Use when an agent must confirm a Solana payment or transaction landed: did it succeed, who paid whom, how much of which token. Input: signature. Output: JSON status (success/failed), slot, block time, confirmation status, fee payer, signers, fee, programs, SOL and token balance changes per account (first 25). Unknown signature: 404, not charged. Example: ?signature=5Xg1wCobkM4jAJNHE6t7B1amt4ch5wq5GrxuhQXXgoAkUPUAjVMC9tQFCvp1awUGfrqZY9L9sLdPieJ97DcDjXtC

## Output

Returns a JSON object containing: chain and cluster identifiers, the queried signature, overall status (success/failed), error details if any, slot number, ISO block time, confirmation status, transaction version, fee payer address, array of signer addresses, fee in both SOL and lamports, compute units consumed, list of programs invoked, SOL balance changes per account (delta in SOL and lamports with signer flag), and token balance changes per account (mint, owner, amount, symbol, decimals) — capped at the first 25 accounts, with a truncated flag if more exist.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "signature"
     ],
     "properties": {
      "signature": {
       "type": "string",
       "pattern": "^[1-9A-HJ-NP-Za-km-z]{64,88}$",
       "examples": [
        "5Xg1wCobkM4jAJNHE6t7B1amt4ch5wq5GrxuhQXXgoAkUPUAjVMC9tQFCvp1awUGfrqZY9L9sLdPieJ97DcDjXtC"
       ],
       "description": "Transaction signature on Solana mainnet (base58, 64 bytes). Unknown or not yet confirmed → 404 (not charged)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "cluster",
      "signature",
      "status",
      "error",
      "slot",
      "blockTime",
      "confirmationStatus",
      "version",
      "feePayer",
      "signers",
      "fee",
      "computeUnits",
      "programs",
      "solChanges",
      "tokenChanges",
      "truncated",
      "rpc"
     ],
     "properties": {
      "fee": {
       "type": "object",
       "properties": {
        "sol": {
         "type": "string"
        },
        "lamports": {
         "type": "string"
        }
       }
      },
      "rpc": {
       "type": "object",
       "properties": {
        "servedBy": {
         "type": "string"
        }
       }
      },
      "slot": {
       "type": "integer"
      },
      "chain": {
       "type": "string"
      },
      "error": {
       "type": "null"
      },
      "status": {
       "type": "string"
      },
      "cluster": {
       "type": "string"
      },
      "signers": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "version": {
       "type": "integer"
      },
      "feePayer": {
       "type": "string"
      },
      "programs": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "blockTime": {
       "type": "string"
      },
      "signature": {
       "type": "string"
      },
      "tru
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/1gateway-solana-transaction-lookup-d48b8018/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 1gateway.dev](https://www.zero.xyz/host/1gateway.dev/llms.txt)
