Mints a soulbound Reader's Card NFT to the wallet that paid this call — a public-domain li
Mints a soulbound Reader's Card NFT to the wallet that paid this call — a public-domain library patron credential on Base. One card per wallet: if this wallet already holds one, you get its existing patron number back, no duplicate mint. TESTNET ONLY for now (Base Sepolia); mainnet launches after final art confirm.
1000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-26
updated
Provider
library.forgemesh.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x85df5380DEbe236AD6BF49dE788243924B080267",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"already_held": false,
"contract": "0xF498E179f96Ecf71079B73Cc4e8FCDF95eE5762e",
"explorer": "https://sepolia.basescan.org/nft/0xF498E179f96Ecf71079B73Cc4e8FCDF95eE5762e/1024",
"holder": "0x85df5380DEbe236AD6BF49dE788243924B080267",
"message": "Reader's Card minted — welcome to the ForgeMesh Library.",
"network": "base-sepolia",
"patron_number": "1024",
"tokenURI_note": "Metadata and SVG art render fully on-chain — call tokenURI(token_id) on the contract, or view it directly in any NFT-aware wallet or explorer.",
"token_id": "1024"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {},
"required": [],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"info": {
"required": false
},
"offer-receipt": {
"info": {
"offers": [
{
"acceptIndex": 0,
"format": "eip712",
"payload": {
"amount": "1000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "eip155:8453",
"payTo": "0x85df5380DEbe236AD6BF49dE788243924B080267",
"resourceUrl": "https://library.forgemesh.io/library-card",
"scheme": "exact",
"validUntil": 1787725850,
"version": 1
},
"signature": "0x86307e8b8d5476b278fe52baf0992a6a13e4618ee83076c80c963966e412417550becbbf33f18f37d893b278291446c2a96d973c63a6038f03f01a7a2735490e1c"
}
]
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"offers": {
"items": {
"properties": {
"acceptIndex": {
"type": "integer"
},
"format": {
"type": "string"
},
"payload": {
"properties": {
"amount": {
"type": "string"
},
"asset": {
"type": "string"
},
"network": {
"type": "string"
},
"payTo": {
"type": "string"
},
"resourceUrl": {
"type": "string"
},
"scheme": {
"type": "string"
},
"validUntil": {
"type": "integer"
},
"version": {
"type": "integer"
}
},
"required": [
"version",
"resourceUrl",
"scheme",
"network",
"asset",
"payTo",
"amount"
],
"type": "object"
},
"signature": {
"type": "string"
}
},
"required": [
"format",
"signature"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"offers"
],
"type": "object"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}Use it
curl
curl "https://library.forgemesh.io/library-card" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://library.forgemesh.io/library-card");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://library.forgemesh.io/library-card")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/13865.json, and this resource appears in /discovery/resources and /discovery/search.