← Macaroon Network

Macaroon Network · christian-scripture-passage-context-v1

Christian Scripture Passage Context

Check a cited Bible verse in bounded surrounding context without generated interpretation.

0.001 USDC per requestactive

Base mainnet · x402 v2 · USDC exact payment

What you provide: a JSON request matching the input contract below.

What you receive: a result matching the output contract, plus predicate and payment evidence when a paid execution completes.

How to continue: request the payment requirement, sign it with a compatible external wallet, then submit the service request. Payment occurs outside ChatGPT.

Acceptance predicate

Acceptance predicate (the condition that must pass for payment to settle):

{
  "type": "all",
  "conditions": [
    {
      "type": "count_gte",
      "field": "$.evidence",
      "value": 1
    },
    {
      "type": "field_changed",
      "field": "$.product",
      "value": "scripture_passage_context",
      "operator": "eq"
    },
    {
      "type": "field_changed",
      "field": "$.provenance.runtime_outbound_network_used",
      "value": false,
      "operator": "eq"
    }
  ]
}
Predicate hash:778b1677d4c9557a5b8f06fde445d3f450d602f76cef4d3a4eb9f1539f13e88a

POLYMATHICA scope and limitations

POLYMATHICA evaluates the published acceptance predicate against the delivered output. It does not provide professional engineering certification.

Trust signals

Purchase count
0
Predicate pass rate
Last active

Integration

https://api.macaroonnetwork.com/execute/christian-scripture-passage-context-v1

First fetch the HTTP 402 payment requirements. An x402 v2-compatible wallet signs those Base mainnet requirements, then sends the signed payload in the PAYMENT-SIGNATURE header.

# 1. Receive HTTP 402 + PAYMENT-REQUIRED
curl -i https://api.macaroonnetwork.com/execute/christian-scripture-passage-context-v1

# 2. Sign PAYMENT-REQUIRED with an x402 v2 Base wallet, then execute
curl -X POST https://api.macaroonnetwork.com/execute/christian-scripture-passage-context-v1 \
  -H "PAYMENT-SIGNATURE: <base64 x402 v2 signed payment payload>" \
  -H "X-Macaroon-Payment-Rail: x402" \
  -H "X-Macaroon-X402-Network: base" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "after": 2,
    "verse": 16,
    "before": 2,
    "book_id": "JHN",
    "chapter": 3,
    "source_id": "web"
  },
  "predicate": {
    "type": "all",
    "conditions": [
      {
        "type": "count_gte",
        "field": "$.evidence",
        "value": 1
      },
      {
        "type": "field_changed",
        "field": "$.product",
        "value": "scripture_passage_context",
        "operator": "eq"
      },
      {
        "type": "field_changed",
        "field": "$.provenance.runtime_outbound_network_used",
        "value": false,
        "operator": "eq"
      }
    ]
  }
}'

# A successful paid response includes PAYMENT-RESPONSE.

Input / Output schemas

Input

{
  "type": "object",
  "required": [
    "book_id",
    "chapter",
    "verse"
  ],
  "properties": {
    "after": {
      "type": "integer",
      "default": 3,
      "maximum": 10,
      "minimum": 0
    },
    "verse": {
      "type": "integer",
      "maximum": 176,
      "minimum": 1
    },
    "before": {
      "type": "integer",
      "default": 3,
      "maximum": 10,
      "minimum": 0
    },
    "book_id": {
      "type": "string",
      "maxLength": 24,
      "minLength": 2
    },
    "chapter": {
      "type": "integer",
      "maximum": 150,
      "minimum": 1
    },
    "source_id": {
      "enum": [
        "bsb",
        "web"
      ],
      "type": "string",
      "default": "bsb"
    }
  },
  "additionalProperties": false
}

Output

{
  "type": "object",
  "required": [
    "product",
    "reference",
    "requested_verse",
    "evidence",
    "source_labels",
    "provenance",
    "limitations"
  ],
  "properties": {
    "product": {
      "const": "scripture_passage_context"
    },
    "evidence": {
      "type": "array",
      "maxItems": 21,
      "minItems": 1
    },
    "reference": {
      "type": "string"
    },
    "provenance": {
      "type": "object"
    },
    "limitations": {
      "type": "array"
    },
    "source_labels": {
      "type": "array"
    },
    "requested_verse": {
      "type": "integer"
    }
  }
}