Skip to content

561 Group Market

Raw Block to CIDv1

Browse

Raw Block to CIDv1

Name one raw block of up to 65536 exact caller bytes as CIDv1, raw multicodec 85, with SHA2-256 (default) or SHA2-512 and five selectable bases. Return numeric codec/hash codes, exact digest/binary CID and byte count. This names the supplied block; it does not encode a UnixFS/DAG file, upload, pin, store or retrieve it. Caller media type is a label. Full JSON escaping admitted; malformed carriers or unsupported options refuse before payment.

Seller-listed; delivery not independently established — A listing is not a completed purchase. The live HTTP 402 challenge supplies current payment terms.

Price preview
from $0.0012 USDC
Method
POST
Endpoint
https://market.561.group/v1/data/raw-block-cid-create
Seller
engineering
Source-rights state
not-declared
Offer NI
ni:///sha-256;CrR9x1b3uMHwjJs4VnGGBrk1JbvcZmY_XSL7t7YzU5A
Claim cell
ni:///sha-256;snJObRo5ZfoTLF0-SanKPHdFIO0ZCCWtTOr1Aye8j48
Operation law
ni:///sha-256;Omlw5pLJqmfYj2PNLF2dNRrEZbRksO7Pb-DOy952EU4
  • content-address
  • raw-block-cid-create
  • data
  • ni:///sha-256;CrR9x1b3uMHwjJs4VnGGBrk1JbvcZmY_XSL7t7YzU5A
  • @red-cup-engineering/multiformats-services-section
  • engineering

The seller offers this resource under the stated method and contract. The price is a preview, not payment authorization, settlement or a promise of delivery.

Request contract
{
  "maxBytes": 544768,
  "bodySchema": {
    "type": "object",
    "additionalProperties": false,
    "required": [
      "carrier"
    ],
    "properties": {
      "carrier": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "mediaType",
          "contentBase64"
        ],
        "properties": {
          "mediaType": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1024,
            "description": "Caller label, not authentication or content-format validation. Maximum 1024 UTF-8 bytes."
          },
          "contentBase64": {
            "type": "string",
            "maxLength": 87384,
            "description": "Canonical padded RFC 4648 Base64 of at most 65536 exact bytes; full JSON escaping admitted."
          }
        }
      },
      "algorithm": {
        "enum": [
          "sha2-256",
          "sha2-512"
        ]
      },
      "base": {
        "enum": [
          "base16",
          "base32",
          "base36",
          "base58btc",
          "base64url"
        ]
      }
    }
  }
}
Seller-declared request example
{
  "method": "POST",
  "url": "https://market.561.group/v1/data/raw-block-cid-create",
  "headers": {
    "accept": "application/json",
    "content-type": "application/json"
  },
  "body": {
    "carrier": {
      "mediaType": "application/octet-stream",
      "contentBase64": "aGVsbG8="
    },
    "algorithm": "sha2-256",
    "base": "base32"
  }
}
Unsigned request example (copy and run)
curl --include --request POST --header 'accept: application/json' --header 'content-type: application/json' --data-raw '{"carrier":{"mediaType":"application/octet-stream","contentBase64":"aGVsbG8="},"algorithm":"sha2-256","base":"base32"}' --url 'https://market.561.group/v1/data/raw-block-cid-create'

An unsigned request may still reach a service or may be refused before a 402 price quote. It does not authorize or settle a payment. Review the request and approve current terms separately.

Declared output

Private or unverified output fields were withheld from this public preview. Review the original source contract and actual installed terms before purchase.

{
  "schema": {
    "type": "object",
    "required": [
      "sourceVersion",
      "version",
      "codec",
      "base",
      "cid",
      "bytesBase64url",
      "multihash",
      "byteLength"
    ],
    "properties": {
      "sourceVersion": {
        "enum": [
          0,
          1
        ]
      },
      "version": {
        "const": 1
      },
      "codec": {
        "type": "integer",
        "minimum": 0
      },
      "base": {
        "type": "string"
      },
      "cid": {
        "type": "string",
        "maxLength": 1024
      },
      "bytesBase64url": {
        "type": "string"
      },
      "multihash": {
        "type": "object",
        "required": [
          "code",
          "digestLength",
          "digestBase64url",
          "bytesBase64url"
        ],
        "properties": {
          "code": {
            "type": "integer",
            "minimum": 0
          },
          "digestLength": {
            "type": "integer",
            "minimum": 0
          },
          "digestBase64url": {
            "type": "string"
          },
          "bytesBase64url": {
            "type": "string"
          }
        }
      },
      "byteLength": {
        "type": "integer",
        "minimum": 0,
        "maximum": 65536
      }
    }
  },
  "example": {
    "sourceVersion": 1,
    "version": 1,
    "codec": 85,
    "base": "base32",
    "cid": "bafkreibm6jg3ux5qumhcn2b3flc3tyu6dmlb4xa7u5bf44yegnrjhc4yeq",
    "bytesBase64url": "[unsafe or credential-bearing URL withheld]",
    "multihash": {
      "code": 18,
      "digestLength": 32,
      "digestBase64url": "[unsafe or credential-bearing URL withheld]",
      "bytesBase64url": "[unsafe or credential-bearing URL withheld]"
    },
    "byteLength": 5
  }
}

How to buy with x402

  1. Review the request before sending it. It may still reach a service. An admitted unpaid request receives HTTP 402 and a PAYMENT-REQUIRED header with its current amount, asset, network and payee.
  2. Your x402 client signs the accepted terms and repeats the same request with PAYMENT-SIGNATURE.
  3. A successful settled response contains the purchased result and its PAYMENT-RESPONSE receipt.

How x402 purchasing works

Source and machine access

The source SKU, claim cell and operation law above are the identities used by the machine catalogue and this page.

Need a correction or accessible service help? Report this offer problem. Do not include wallet recovery phrases, passwords, payment signatures or other secrets in an inquiry.