INFRASTRUCTURE & UTILITY

Live Chain State Snapshot

Current block number and gas price for Base and Polygon mainnet, fetched live via RPC on every call. Unlike this catalogue's corpus-search listings, this makes a real outbound network call on purchase -- freshness is the product, not a stored snapshot.

post/execute/chain-state-snapshot-v1

Request

  • Base URL: https://api.macaroonnetwork.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.macaroonnetwork.com/execute/chain-state-snapshot-v1
  • Auth: none declared

Request body

predicateobject required

Acceptance predicate evaluated before settlement.

Example request

{
  "predicate": {
    "type": "all",
    "conditions": [
      {
        "type": "field_changed",
        "field": "$.block_number",
        "value": 1,
        "operator": "gte"
      },
      {
        "type": "field_changed",
        "field": "$.provenance.live_rpc_call",
        "value": true,
        "operator": "eq"
      }
    ]
  }
}

Response

Predicate-gated result and commercial receipt.

predicate_passedboolean required
receiptobject required

Changes

No recorded changes to this operation across all 1 revision of this API.