{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/enjin/json-schema/enjin-parse-response-schema.json",
  "title": "ParseResponse",
  "description": "Response for successful transaction parsing.",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/enjin-openapi-openapi.json#/components/schemas/ParseResponse",
  "type": "object",
  "required": [
    "isSigned",
    "method",
    "args",
    "era",
    "hash"
  ],
  "properties": {
    "args": {
      "type": "object",
      "description": "Decoded call arguments"
    },
    "era": {
      "type": "object",
      "description": "Era/mortality information"
    },
    "hash": {
      "type": "string",
      "description": "Blake2-256 hash of the extrinsic"
    },
    "isSigned": {
      "type": "boolean",
      "description": "Whether the extrinsic is signed"
    },
    "method": {
      "$ref": "#/$defs/MethodInfo",
      "description": "Pallet and method information"
    },
    "nonce": {
      "type": [
        "string",
        "null"
      ],
      "description": "Account nonce (only present for signed extrinsics)"
    },
    "signature": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/SignatureInfo",
          "description": "Signature information (only present for signed extrinsics)"
        }
      ]
    },
    "tip": {
      "type": [
        "string",
        "null"
      ],
      "description": "Tip amount (only present for signed extrinsics)"
    }
  },
  "$defs": {
    "MethodInfo": {
      "type": "object",
      "description": "Method information (pallet and method name).",
      "required": [
        "pallet",
        "method"
      ],
      "properties": {
        "method": {
          "type": "string",
          "description": "Method name in lowerCamelCase"
        },
        "pallet": {
          "type": "string",
          "description": "Pallet name in lowerCamelCase"
        }
      }
    },
    "SignatureInfo": {
      "type": "object",
      "description": "Signature information for signed extrinsics.",
      "required": [
        "signer",
        "signature"
      ],
      "properties": {
        "signature": {
          "type": "string",
          "description": "Hex-encoded signature"
        },
        "signer": {
          "$ref": "#/$defs/SignerId",
          "description": "Signer account"
        }
      }
    },
    "SignerId": {
      "type": "object",
      "description": "Signer identifier.",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "SS58-encoded account address"
        }
      }
    }
  }
}