{
  "x402Version": 2,
  "id": 34842,
  "slug": "34842",
  "resource": "https://1gateway.dev/v1/onchain/base/tx",
  "description": "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",
  "type": "http",
  "serviceName": "1gateway",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791609992/bazaar-icons/c4d9db8f8f483844.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4500",
      "amountUsd": 0.0045,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "hash": "0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "block": {
              "number": 52399390,
              "timestamp": "2026-10-09T23:22:07.000Z"
            },
            "chain": "base",
            "chainId": 8453,
            "confirmations": 116004,
            "contractCreated": null,
            "erc20TransferCount": 1,
            "erc20Transfers": [
              {
                "amount": 0.01,
                "decimals": 6,
                "from": "0xec2aBD3EDA89BeD90124736e317e847D5fb6d034",
                "logIndex": 43,
                "raw": "10000",
                "symbol": "USDC",
                "to": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1",
                "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
              }
            ],
            "erc20TransfersTruncated": false,
            "fee": {
              "effectiveGasPriceGwei": 0.008030575,
              "gasUsed": 86250,
              "l1FeeEth": 1.987935652e-9,
              "totalEth": 6.94625029402e-7
            },
            "from": "0x93F6601151cCB08F333AB4B1CCcfb1e188c0bE44",
            "hash": "0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b",
            "input": {
              "bytes": 325,
              "selector": "0xe3ee160e"
            },
            "logCount": 2,
            "nonce": 1598625,
            "note": "Decoded from the transaction receipt. ERC-20 Transfer logs only (no ERC-721/1155, no internal ETH transfers). Token symbols are self-reported by each contract.",
            "rpc": {
              "kind": "public",
              "source": "base-rpc.publicnode.com"
            },
            "status": "success",
            "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
            "value": {
              "eth": 0,
              "wei": "0"
            }
          },
          "type": "json"
        }
      },
      "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"
      }
    }
  },
  "tags": [
    "base",
    "transaction",
    "payment-verification",
    "erc20",
    "onchain",
    "bazaar"
  ],
  "sourceHost": "1gateway.dev",
  "lastUpdated": "2026-10-12T23:21:09.392Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-12T23:21:08.758Z"
  },
  "metadata": {
    "serviceName": "1gateway",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791609992/bazaar-icons/c4d9db8f8f483844.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "hash": "0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "block": {
                "number": 52399390,
                "timestamp": "2026-10-09T23:22:07.000Z"
              },
              "chain": "base",
              "chainId": 8453,
              "confirmations": 116004,
              "contractCreated": null,
              "erc20TransferCount": 1,
              "erc20Transfers": [
                {
                  "amount": 0.01,
                  "decimals": 6,
                  "from": "0xec2aBD3EDA89BeD90124736e317e847D5fb6d034",
                  "logIndex": 43,
                  "raw": "10000",
                  "symbol": "USDC",
                  "to": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1",
                  "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
                }
              ],
              "erc20TransfersTruncated": false,
              "fee": {
                "effectiveGasPriceGwei": 0.008030575,
                "gasUsed": 86250,
                "l1FeeEth": 1.987935652e-9,
                "totalEth": 6.94625029402e-7
              },
              "from": "0x93F6601151cCB08F333AB4B1CCcfb1e188c0bE44",
              "hash": "0x284f8abed91b5631ee28bdb1ccfe78374e18c480cb2ab25f28e3bfac5210fe0b",
              "input": {
                "bytes": 325,
                "selector": "0xe3ee160e"
              },
              "logCount": 2,
              "nonce": 1598625,
              "note": "Decoded from the transaction receipt. ERC-20 Transfer logs only (no ERC-721/1155, no internal ETH transfers). Token symbols are self-reported by each contract.",
              "rpc": {
                "kind": "public",
                "source": "base-rpc.publicnode.com"
              },
              "status": "success",
              "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "value": {
                "eth": 0,
                "wei": "0"
              }
            },
            "type": "json"
          }
        },
        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "1gateway.dev",
    "manifest_name": "1gateway.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "block": {
        "number": 0,
        "timestamp": "string"
      },
      "chain": "string",
      "chainId": 0,
      "confirmations": 0,
      "contractCreated": "string",
      "erc20TransferCount": 0,
      "erc20Transfers": [
        {
          "amount": 0,
          "decimals": 0,
          "from": "string",
          "logIndex": 0,
          "raw": "string",
          "symbol": "string",
          "to": "string",
          "token": "string"
        }
      ],
      "erc20TransfersTruncated": true,
      "fee": {
        "effectiveGasPriceGwei": 0,
        "gasUsed": 0,
        "l1FeeEth": 0,
        "totalEth": 0
      },
      "from": "string",
      "hash": "string",
      "input": {
        "bytes": 0,
        "selector": "string"
      },
      "logCount": 0,
      "nonce": 0,
      "note": "string",
      "rpc": {
        "kind": "string",
        "source": "string"
      },
      "status": "string",
      "to": "string",
      "value": {
        "eth": 0,
        "wei": "string"
      }
    },
    "type": "string"
  }
}