Api Endpoint

1gateway

Use when an agent must confirm a Base transaction or payment landed: did it succeed, who paid whom, how much of which token. Input: hash. Output: JSON status (success/reverted), block+time, confirmations, from, to, ETH value, fee (L2 gas + L1 data fee), decoded ERC-20 transfers with symbol and decimal amount (first 25). Unknown or unmined hash: 404, not charged. Example: ?hash=0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b

Open interactive test console

Offering

Provider
1gateway.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://1gateway.dev/v1/onchain/base/tx
MIME type
application/json
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
Base, Transaction, payment-verification, ERC20, Onchain

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.0045 USDC
Atomic price: 4500 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.0045 USDC
Atomic price: 4500 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "4500",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "4500",
    "payTo": "AwV6UZobYPyTdsuNa2NknZZrnmmUoH5ckEv3wNgL26WT"
  }
]

Observed health

Status
Healthy
Latest latency
792 ms
Average latency
807 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "hash": {
          "type": "string",
          "description": "Transaction hash on Base mainnet (0x + 64 hex). Unknown or not yet mined → 404 (not charged)",
          "pattern": "^0x[0-9a-fA-F]{64}$",
          "examples": [
            "0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b"
          ]
        }
      },
      "required": [
        "hash"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "hash": {
              "description": "Transaction hash on Base mainnet (0x + 64 hex). Unknown or not yet mined → 404 (not charged)",
              "examples": [
                "0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b"
              ],
              "pattern": "^0x[0-9a-fA-F]{64}$",
              "type": "string"
            }
          },
          "required": [
            "hash"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "block": {
              "properties": {
                "number": {
                  "type": "integer"
                },
                "timestamp": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "chain": {
              "type": "string"
            },
            "chainId": {
              "type": "integer"
            },
            "confirmations": {
              "type": "integer"
            },
            "contractCreated": {
              "type": [
                "string",
                "null"
              ]
            },
            "erc20TransferCount": {
              "type": "integer"
            },
            "erc20Transfers": {
              "items": {
                "properties": {
                  "amount": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "decimals": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "from": {
                    "type": "string"
                  },
                  "logIndex": {
                    "type": "integer"
                  },
                  "raw": {
                    "type": "string"
                  },
                  "symbol": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "to": {
                    "type": "string"
                  },
                  "token": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "erc20TransfersTruncated": {
              "type": "boolean"
            },
            "fee": {
              "properties": {
                "effectiveGasPriceGwei": {
                  "type": "number"
                },
                "gasUsed": {
                  "type": "integer"
                },
                "l1FeeEth": {
                  "type": "number"
                },
                "totalEth": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "from": {
              "type": "string"
            },
            "hash": {
              "type": "string"
            },
            "input": {
              "properties": {
                "bytes": {
                  "type": "integer"
                },
                "selector": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": "object"
            },
            "logCount": {
              "type": "integer"
            },
            "nonce": {
              "type": "integer"
            },
            "note": {
              "type": "string"
            },
            "rpc": {
              "properties": {
                "kind": {
                  "type": "string"
                },
                "source": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "status": {
              "type": "string"
            },
            "to": {
              "type": [
                "string",
                "null"
              ]
            },
            "value": {
              "properties": {
                "eth": {
                  "type": "number"
                },
                "wei": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          },
          "required": [
            "chain",
            "chainId",
            "hash",
            "status",
            "block",
            "confirmations",
            "from",
            "to",
            "contractCreated",
            "value",
            "nonce",
            "input",
            "fee",
            "logCount",
            "erc20Transfers",
            "erc20TransferCount",
            "erc20TransfersTruncated",
            "rpc",
            "note"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}