com.publicdomainrelay.temp.market.bids.x402

johnandersen777.bsky.social

Documentation

Includes pricing/payment terms and x402 endpoint for issuing a receipt against an accept.

main record

Includes pricing/payment terms and x402 endpoint for issuing a receipt against an accept.

Record Key tid Timestamp-based ID

Properties

cost unknown Required

Numeric price (integer or float) per the chosen frequency.

currency string Required

Currency code, e.g. 'USDC'.

frequency string Required

Billing frequency, e.g. 'monthly', 'hourly', 'one-time'.

prepay boolean Required

Whether payment is required before compute starts.

signatures ref network.attested.signature#signatures Required

badge.blue attestations over these payment terms. Must include the bidder's inline signature, attached at creation, so the advertised price and payment endpoint are non-repudiable.

url string Required

x402 payment endpoint URL. To settle payment the requester first mints a com.publicdomainrelay.temp.market.accepts.x402 record, then issues an x402-gated GET to `{url}/{accepts.x402 AT-URI}/{accepts.x402 CID}`; on payment the bidder mints and returns a com.publicdomainrelay.temp.market.receipts.x402 proof-of-payment record. That receipt is then used as the payload of the higher-level com.publicdomainrelay.temp.market.accept.

View raw schema
{
  "description": "Includes pricing/payment terms and x402 endpoint for issuing a receipt against an accept.",
  "key": "tid",
  "record": {
    "properties": {
      "cost": {
        "description": "Numeric price (integer or float) per the chosen frequency.",
        "type": "unknown"
      },
      "currency": {
        "description": "Currency code, e.g. 'USDC'.",
        "type": "string"
      },
      "frequency": {
        "description": "Billing frequency, e.g. 'monthly', 'hourly', 'one-time'.",
        "type": "string"
      },
      "prepay": {
        "description": "Whether payment is required before compute starts.",
        "type": "boolean"
      },
      "signatures": {
        "description": "badge.blue attestations over these payment terms. Must include the bidder's inline signature, attached at creation, so the advertised price and payment endpoint are non-repudiable.",
        "ref": "network.attested.signature#signatures",
        "type": "ref"
      },
      "url": {
        "description": "x402 payment endpoint URL. To settle payment the requester first mints a com.publicdomainrelay.temp.market.accepts.x402 record, then issues an x402-gated GET to `{url}/{accepts.x402 AT-URI}/{accepts.x402 CID}`; on payment the bidder mints and returns a com.publicdomainrelay.temp.market.receipts.x402 proof-of-payment record. That receipt is then used as the payload of the higher-level com.publicdomainrelay.temp.market.accept.",
        "type": "string"
      }
    },
    "required": [
      "cost",
      "currency",
      "frequency",
      "prepay",
      "url",
      "signatures"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@