{
  "x402Version": 2,
  "id": 35503,
  "slug": "35503",
  "resource": "https://api.mach.gallery/api/base/transaction-context",
  "description": "Verify an onchain payment or investigate a failed Base transaction in one call with transaction, receipt, success status, confirmations, gas and fee context.",
  "type": "http",
  "serviceName": "MACH Base",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790186236/bazaar-icons/129e5e3547c47e4e.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xB6313D094618b20dd29994Bec6697aE1e9F02DfE",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "8000",
      "amountUsd": 0.008,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "tx_hash": "0x0000000000000000000000000000000000000000000000000000000000000000"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "block_number": 36000000,
            "confirmations": 12,
            "effective_gas_price_wei": "1000000",
            "fee_wei": "21000000000",
            "found": true,
            "from": "0x...",
            "gas_used": "21000",
            "network": "eip155:8453",
            "state": "confirmed",
            "success": true,
            "to": "0x...",
            "tx_hash": "0x...",
            "value_wei": "0"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "tx_hash": {
                    "description": "32-byte Base transaction hash.",
                    "pattern": "^0x[0-9a-fA-F]{64}$",
                    "type": "string"
                  }
                },
                "required": [
                  "tx_hash"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "base",
    "transaction",
    "payment",
    "confirmations",
    "debugging",
    "bazaar"
  ],
  "sourceHost": "api.mach.gallery",
  "lastUpdated": "2026-10-08T18:11:12.169Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T18:11:11.92Z"
  },
  "metadata": {
    "serviceName": "MACH Base",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790186236/bazaar-icons/129e5e3547c47e4e.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "tx_hash": "0x0000000000000000000000000000000000000000000000000000000000000000"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "block_number": 36000000,
              "confirmations": 12,
              "effective_gas_price_wei": "1000000",
              "fee_wei": "21000000000",
              "found": true,
              "from": "0x...",
              "gas_used": "21000",
              "network": "eip155:8453",
              "state": "confirmed",
              "success": true,
              "to": "0x...",
              "tx_hash": "0x...",
              "value_wei": "0"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "tx_hash": {
                      "description": "32-byte Base transaction hash.",
                      "pattern": "^0x[0-9a-fA-F]{64}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "tx_hash"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.mach.gallery",
    "manifest_name": "api.mach.gallery",
    "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": {},
    "type": "string"
  }
}