561 Group Market

Brokerage Report Graphic Render

Renders one explicit FOUR-valued HarmoniousUnionDeltaPacket into byte-stable SVG and PNG artifacts, deterministically.

Price
$0.12 USDC per request
Network
Base mainnet, eip155:8453, settled in USDC through the Coinbase CDP facilitator
Method and URL
POST https://market.561.group/v1/report-graphics/render
Response type
application/json
Seller
Causeway Services (561 Group)

Input contract

Input that fails this contract is refused with a 4xx status before any payment is requested.

{
  "maxBytes": 102400,
  "bodySchema": {
    "type": "object",
    "properties": {
      "request": {
        "type": "object",
        "required": [
          "packet"
        ],
        "properties": {
          "packet": {
            "type": "object",
            "required": [
              "type",
              "period",
              "subscriptionDigest",
              "currentManifestDigest",
              "claims"
            ]
          }
        }
      }
    },
    "required": [
      "request"
    ]
  }
}

Example request

{
  "method": "POST",
  "url": "https://market.561.group/v1/report-graphics/render",
  "headers": {
    "accept": "application/json",
    "content-type": "application/json"
  },
  "body": {
    "request": {
      "packet": {
        "type": "HarmoniousUnionDeltaPacket",
        "period": "discovery-example",
        "subscriptionDigest": "sha256:public-example-subscription",
        "previousSuccessfulPublicationDigest": null,
        "currentManifestDigest": "sha256:public-example-manifest",
        "claims": []
      }
    }
  }
}

Output

{
  "schema": {
    "type": "object",
    "required": [
      "type",
      "packetDigest",
      "svgDigest",
      "svgBase64",
      "pngDigest",
      "pngBase64"
    ],
    "properties": {
      "type": {
        "const": "DeterministicReportGraphicArtifact"
      },
      "packetDigest": {
        "type": "string"
      },
      "svgProfile": {
        "type": "string"
      },
      "svgDigest": {
        "type": "string"
      },
      "svgBase64": {
        "type": "string"
      },
      "pngDigest": {
        "type": "string"
      },
      "pngBase64": {
        "type": "string"
      }
    }
  },
  "example": {
    "type": "DeterministicReportGraphicArtifact",
    "packetDigest": "ni:///sha-256;N5NidMb6YeK1Kq0vjHMHbKM1FNFF9r4QXgH6PF-1dO0",
    "packetBytes": "ni:///sha-256;N5NidMb6YeK1Kq0vjHMHbKM1FNFF9r4QXgH6PF-1dO0",
    "svgProfile": "RFC7996-safe SVG Tiny 1.2 subset",
    "svgDigest": "ni:///sha-256;4jbGSdE3XpVWFuWoaB-H1OV3i9L1pb7svc6C7uVod6s",
    "svgBase64": "PHN2ZyB4bWxucz0iaHR0cDov...",
    "pngDigest": "sha256:e0edbefdaecc62d7fed44a9497129437fabc01619ce7bb3099709f88d817828a",
    "pngBase64": "iVBORw0KGgoAAAANSUhE...",
    "rasterizedFromExactSvgDigest": "ni:///sha-256;4jbGSdE3XpVWFuWoaB-H1OV3i9L1pb7svc6C7uVod6s"
  }
}

How to buy with x402

  1. Send the request without payment. The server answers 402 Payment Required with a base64 JSON PAYMENT-REQUIRED header holding the amount, asset, network and payee.
  2. Have your wallet sign an EIP-3009 transferWithAuthorization for exactly those terms (an x402 client library does this for you).
  3. Repeat the identical request with the signed payload in the PAYMENT-SIGNATURE header.
  4. The server verifies, runs the operation, settles, and returns 200 with the result and a PAYMENT-RESPONSE header carrying the settlement receipt.

Read the price without paying

curl --include --request POST --header 'accept: application/json' --header 'content-type: application/json' --data-raw '{"request":{"packet":{"type":"HarmoniousUnionDeltaPacket","period":"discovery-example","subscriptionDigest":"sha256:public-example-subscription","previousSuccessfulPublicationDigest":null,"currentManifestDigest":"sha256:public-example-manifest","claims":[]}}}' --url 'https://market.561.group/v1/report-graphics/render'

This request authorizes nothing; it returns the live payment terms. Read the full explanation of x402.

Machine-readable