{
  "x402Version": 2,
  "id": 8254,
  "slug": "8254",
  "resource": "https://inferrail-x402-seller-testnet.onrender.com/invoke",
  "description": "Inferrail computes payload-free Work-level economic summaries from declared economic events, returning known total cost, breakdowns by resource class and supplier, unknown-cost count, and price provenance without requiring prompt or response content.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:84532",
      "payTo": "0x98d21D9B67eF471Fb1Ce3C5dE8523627A40a34CE",
      "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "events": [
              {
                "currency": "USD",
                "known_cost_usd": "0.02",
                "price_basis": "LIST_PRICE_PUBLISHED",
                "resource_class": "inference",
                "status": "success",
                "supplier": "example-supplier"
              }
            ],
            "outcome_status": "success",
            "work_id": "example-work-001"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "commercial_receipt": {
              "capability": "inferrail-work-economics",
              "capability_version": "work-economics-v1",
              "currency": "USD",
              "invocation_id": "00000000-0000-0000-0000-000000000000",
              "network": "eip155:84532",
              "network_class": "TESTNET",
              "purchase_id": "example-purchase-id",
              "quoted_amount_usd": "0.05",
              "rail": "X402_BASE_SEPOLIA_TESTNET",
              "status": "DELIVERED",
              "work_id": "example-work-001"
            },
            "newly_charged": true,
            "newly_executed": true,
            "result": {
              "breakdown_by_resource_class": {
                "inference": "0.02"
              },
              "breakdown_by_supplier": {
                "example-supplier": "0.02"
              },
              "capability_version": "work-economics-v1",
              "event_count": 1,
              "exact_total_known": true,
              "known_total_cost_usd": "0.02",
              "outcome_status": "success",
              "price_provenance": {
                "LIST_PRICE_PUBLISHED": 1
              },
              "unknown_event_count": 0,
              "work_id": "example-work-001"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "events": {
                    "items": {
                      "properties": {
                        "currency": {
                          "const": "USD",
                          "type": "string"
                        },
                        "known_cost_usd": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "price_basis": {
                          "enum": [
                            "LIST_PRICE_PUBLISHED",
                            "PROVIDER_REPORTED_ESTIMATE",
                            "UNKNOWN"
                          ],
                          "type": "string"
                        },
                        "resource_class": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "error",
                            "partial",
                            "success"
                          ],
                          "type": "string"
                        },
                        "supplier": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "resource_class",
                        "supplier",
                        "price_basis",
                        "status"
                      ],
                      "type": "object"
                    },
                    "minItems": 1,
                    "type": "array"
                  },
                  "outcome_status": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "work_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "work_id",
                  "events"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "commercial_receipt": {
                    "properties": {
                      "capability": {
                        "type": "string"
                      },
                      "capability_version": {
                        "type": "string"
                      },
                      "currency": {
                        "type": "string"
                      },
                      "invocation_id": {
                        "type": "string"
                      },
                      "network": {
                        "type": "string"
                      },
                      "network_class": {
                        "type": "string"
                      },
                      "purchase_id": {
                        "type": "string"
                      },
                      "quoted_amount_usd": {
                        "type": "string"
                      },
                      "rail": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "work_id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "purchase_id",
                      "invocation_id",
                      "capability",
                      "rail",
                      "network",
                      "quoted_amount_usd",
                      "currency",
                      "work_id",
                      "status"
                    ],
                    "type": "object"
                  },
                  "newly_charged": {
                    "type": "boolean"
                  },
                  "newly_executed": {
                    "type": "boolean"
                  },
                  "result": {
                    "properties": {
                      "breakdown_by_resource_class": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      "breakdown_by_supplier": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object"
                      },
                      "capability_version": {
                        "type": "string"
                      },
                      "event_count": {
                        "type": "integer"
                      },
                      "exact_total_known": {
                        "type": "boolean"
                      },
                      "known_total_cost_usd": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "outcome_status": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "price_provenance": {
                        "additionalProperties": {
                          "type": "integer"
                        },
                        "type": "object"
                      },
                      "unknown_event_count": {
                        "type": "integer"
                      },
                      "work_id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "work_id",
                      "known_total_cost_usd",
                      "exact_total_known",
                      "event_count",
                      "unknown_event_count",
                      "breakdown_by_resource_class",
                      "breakdown_by_supplier",
                      "price_provenance",
                      "outcome_status",
                      "capability_version"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "result",
                  "commercial_receipt",
                  "newly_charged",
                  "newly_executed"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "inferrail-x402-seller-testnet.onrender.com",
  "lastUpdated": "2026-09-07T02:31:12.573Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-07T02:31:12.136Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "inferrail-x402-seller-testnet.onrender.com",
    "manifest_name": "inferrail-x402-seller-testnet.onrender.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}