{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fiatdock-com/json-schema/fiatdock-com-tx-status-schema.json",
  "title": "TxStatus",
  "description": "Paid. Base tx status — success/failed, block, confirmations, gas, from/to.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fiatdock-com-chain-api-openapi.yml#/components/schemas/TxStatus",
  "type": "object",
  "properties": {
    "network": {
      "type": "string",
      "description": "Chain read (always base)"
    },
    "txHash": {
      "type": "string",
      "description": "The transaction hash queried"
    },
    "status": {
      "type": "string",
      "description": "success | failed (a pending/unknown tx returns 404, not this shape)"
    },
    "blockNumber": {
      "type": "number",
      "description": "Block the tx was mined in"
    },
    "confirmations": {
      "type": "number",
      "description": "Confirmations as of the read (>=1)"
    },
    "gasUsed": {
      "type": "string",
      "description": "Gas used by the tx (string)"
    },
    "from": {
      "type": [
        "string",
        "null"
      ],
      "description": "Sender address (null if the node omits it)"
    },
    "to": {
      "type": [
        "string",
        "null"
      ],
      "description": "Recipient address (null for a contract-creation tx)"
    },
    "asOf": {
      "type": "string",
      "description": "ISO 8601 read time"
    }
  },
  "required": [
    "network",
    "txHash",
    "status",
    "blockNumber",
    "confirmations",
    "gasUsed",
    "from",
    "to",
    "asOf"
  ]
}