Use when an agent must tell a user what a transaction did
Use when an agent must tell a user what a transaction did. Input: tx (Base hash or Solana signature), network=eip155:8453|solana (optional, inferred). Output: explanation (1-3 sentences; every number checked against the decoded facts, template fallback), facts: status, time, fee, from/to, called function (curated selector table), ERC-20 transfers, approvals, inferred swap (sent/received), Solana programs. Example: ?tx=0x…&network=eip155:8453
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://1gateway.dev/v1/onchain/tx/explain
| Category | Market data |
|---|---|
| Provider host | 1gateway.dev |
| Networks | eip155:137, eip155:143, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"network": "eip155:8453",
"tx": "0xffbdcb7953401111c60d780212c77c6e01f82295cda8670a9e63a2574a01be32"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"network": {
"description": "Chain (default: Base for 0x hashes, Solana otherwise)",
"enum": [
"eip155:8453",
"solana"
],
"type": "string"
},
"tx": {
"description": "Base transaction hash (0x + 64 hex) or Solana signature (base58)",
"pattern": "^(0x[0-9a-fA-F]{64}|[1-9A-HJ-NP-Za-km-z]{64,90})$",
"type": "string"
}
},
"required": [
"tx"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": true,
"properties": {
"cached": {
"type": "boolean"
},
"explanation": {
"type": "string"
},
"explanationSource": {
"type": "string"
},
"facts": {
"additionalProperties": true,
"properties": {
"fee": {
"type": "string"
},
"final": {
"type": "boolean"
},
"from": {
"type": "string"
},
"method": {
"additionalProperties": true,
"properties": {
"name": {
"type": "string"
},
"selector": {
"type": "string"
}
},
"type": [
"object",
"null"
]
},
"network": {
"type": "string"
},
"status": {
"type": "string"
},
"time": {
"type": "string"
},
"to": {
"type": [
"string",
"null"
]
},
"tx": {
"type": "string"
},
"valueNative": {
"type": "null"
}
},
"type": "object"
},
"model": {
"type": "string"
},
"network": {
"type": "string"
},
"note": {
"type": "string"
},
"tx": {
"type": "string"
},
"upstreamCostUsd": {
"type": [
"integer",
"null"
]
}
},
"required": [
"network",
"tx",
"explanation",
"explanationSource",
"model",
"facts",
"note",
"cached",
"upstreamCostUsd"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}