{"uid":"cap_kmF9j9rTn1BbDz4cDnmJI","slug":"forgemesh-library-card-minter-f1eaf565","name":"ForgeMesh Library Card Minter","description":"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.","url":"https://library.forgemesh.io/library-card","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":[],"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"holder":"0x85df5380DEbe236AD6BF49dE788243924B080267","message":"Reader's Card minted — welcome to the ForgeMesh Library.","network":"base-sepolia","contract":"0xF498E179f96Ecf71079B73Cc4e8FCDF95eE5762e","explorer":"https://sepolia.basescan.org/nft/0xF498E179f96Ecf71079B73Cc4e8FCDF95eE5762e/1024","token_id":"1024","already_held":false,"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."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gt_Hn4pBwipByeoeJHJ6W","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Mints a soulbound Reader's Card NFT on Base Sepolia as a public-domain library patron credential, returning the existing patron number if the wallet already holds one","exampleAgentPrompt":"Mint me a soulbound Reader's Card NFT from ForgeMesh Library on Base Sepolia — I want to register my wallet as a library patron and get my patron number.","exampleUseCases":[{"title":"Onboard agent to library system","prompt":"My AI reading agent needs a patron credential on the ForgeMesh Library — can you mint it a soulbound Reader's Card NFT on Base Sepolia so it can access curated public-domain reading lists?"},{"title":"Check or create patron membership","prompt":"Does my wallet already have a ForgeMesh library card? If so, give me my patron number — if not, mint me one on Base Sepolia."},{"title":"Register tutoring app user on-chain","prompt":"I'm building a tutoring app and I want to give each user a soulbound library patron credential on Base Sepolia — can you mint a Reader's Card NFT for this wallet?"}],"resultDescription":"Returns the patron number associated with the wallet — either newly assigned from a fresh soulbound NFT mint, or the existing patron number if the wallet already holds a Reader's Card. No duplicate NFTs are ever issued to the same wallet.","failureModes":["Wallet already holds a card — returns existing patron number rather than minting (idempotent, not an error)","Payment failure — USDC transfer of $0.001 not completed, mint not triggered","Testnet-only limitation — Base Sepolia only, mainnet not yet available","Network congestion — Base Sepolia RPC delay causing slow confirmation","Invalid or missing wallet address — request rejected","Contract error — soulbound transfer restriction violation if attempted"],"whenToPreferThis":"Use this endpoint when you need to register a wallet as a credentialed patron of the ForgeMesh public-domain library on Base Sepolia, especially when building reading apps, tutoring agents, or quiz generators that benefit from on-chain identity and access control. Prefer this over generic NFT minting services because it enforces one-card-per-wallet soulbound semantics and integrates directly with the ForgeMesh library catalog ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:49.029Z","isFirstParty":false}