changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "description": "Response for ``POST /tx-status``.",
+ "properties": {
+ "block_number": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Block Number"
+ },
+ "chain": {
+ "title": "Chain",
+ "type": "string"
+ },
+ "chain_id": {
+ "title": "Chain Id",
+ "type": "integer"
+ },
+ "confirmations": {
+ "title": "Confirmations",
+ "type": "integer"
+ },
+ "contract_created": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Contract Created"
+ },
+ "cost_usdc": {
+ "description": "Price charged in stablecoin units (USDC/USDT 1:1); 0 on the free tier.",
+ "title": "Cost Usdc",
+ "type": "number"
+ },
+ "fee_native": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Fee Native"
+ },
+ "fetched_at": {
+ "description": "UTC timestamp when the data was fetched.",
+ "format": "date-time",
+ "title": "Fetched At",
+ "type": "string"
+ },
+ "freshness_seconds": {
+ "description": "Age of the underlying data in seconds (0 = fetched live).",
+ "title": "Freshness Seconds",
+ "type": "integer"
+ },
+ "from_address": {
+ "title": "From Address",
+ "type": "string"
+ },
+ "gas_price_gwei": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Gas Price Gwei"
+ },
+ "gas_price_wei": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Gas Price Wei"
+ },
+ "gas_used": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Gas Used"
+ },
+ "input_selector": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Input Selector"
+ },
+ "log_count": {
+ "title": "Log Count",
+ "type": "integer"
+ },
+ "native_token": {
+ "title": "Native Token",
+ "type": "string"
+ },
+ "nonce": {
+ "title": "Nonce",
+ "type": "integer"
+ },
+ "routing": {
+ "description": "How the request was routed (provider, fallback, cache, latency).",
+ "properties": {
+ "cache_hit": {
+ "default": false,
+ "description": "True if the result was served from cache.",
+ "title": "Cache Hit",
+ "type": "boolean"
+ },
+ "fallback_used": {
+ "default": false,
+ "description": "True if the primary provider failed and a fallback served the result.",
+ "title": "Fallback Used",
+ "type": "boolean"
+ },
+ "latency_ms": {
+ "default": 0,
+ "description": "End-to-end routing latency in milliseconds.",
+ "title": "Latency Ms",
+ "type": "integer"
+ },
+ "provider": {
+ "description": "Name of the upstream provider that served the result.",
+ "title": "Provider",
+ "type": "string"
+ },
+ "providers_tried": {
+ "description": "Providers attempted, in order.",
+ "items": {
+ "type": "string"
+ },
+ "title": "Providers Tried",
+ "type": "array"
+ }
+ },
+ "required": [
+ "provider"
+ ],
+ "title": "RoutingMeta",
+ "type": "object"
+ },
+ "status": {
+ "enum": [
+ "success",
+ "failed",
+ "pending"
+ ],
+ "title": "Status",
+ "type": "string"
+ },
+ "to_address": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "To Address"
+ },
+ "token": {
+ "default": "USDC",
+ "description": "Token actually used for payment (USDC, USDT or FREE).",
+ "title": "Token",
+ "type": "string"
+ },
+ "transfers": {
+ "items": {
+ "description": "Decoded ERC-20 ``Transfer`` event.",
+ "properties": {
+ "amount": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Amount"
+ },
+ "contract": {
+ "title": "Contract",
+ "type": "string"
+ },
+ "decimals": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Decimals"
+ },
+ "from_address": {
+ "title": "From Address",
+ "type": "string"
+ },
+ "log_index": {
+ "title": "Log Index",
+ "type": "integer"
+ },
+ "raw": {
+ "title": "Raw",
+ "type": "string"
+ },
+ "symbol": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Symbol"
+ },
+ "to_address": {
+ "title": "To Address",
+ "type": "string"
+ }
+ },
+ "required": [
+ "contract",
+ "from_address",
+ "to_address",
+ "raw",
+ "log_index"
+ ],
+ "title": "Erc20Transfer",
+ "type": "object"
+ },
+ "title": "Transfers",
+ "type": "array"
+ },
+ "tx_hash": {
+ "title": "Tx Hash",
+ "type": "string"
+ },
+ "value": {
+ "title": "Value",
+ "type": "number"
+ },
+ "value_wei": {
+ "title": "Value Wei",
+ "type": "string"
+ },
+ "x_payment_response": {
+ "description": "Base64-encoded x402 settlement receipt (mirrors the X-PAYMENT-RESPONSE header). Only present when the call was paid with `x_payment`.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "freshness_seconds",
+ "cost_usdc",
+ "routing",
+ "tx_hash",
+ "chain",
+ "chain_id",
+ "status",
+ "confirmations",
+ "from_address",
+ "value_wei",
+ "value",
+ "native_token",
+ "nonce",
+ "transfers",
+ "log_count"
+ ],
+ "type": "object"
+}