{"version":1,"service":{"name":"Clash of Coins","description":"Agentic checkout for Clash of Coins","docs":"https://x402.clashofcoins.app/skill.md"},"resources":[{"method":"POST","path":"/agentic/x402/buy","protocol":"x402","surface":"sale","description":"Buy NFT lots with USDC and receive minted NFTs.","params":{"saleId":{"type":"integer","required":true,"description":"Sale identifier from the active sale catalog"},"quantity":{"type":"integer","required":false,"description":"How many NFTs to mint from the selected sale. Defaults to 1."},"beneficiary":{"type":"string","required":true,"description":"EVM wallet address that will receive the minted NFT."}},"items":[]},{"method":"POST","path":"/shop/x402/buy","protocol":"x402","description":"Buy in-game items for a player through x402 checkout.","params":{"itemId":{"type":"string","required":true,"description":"Item identifier from the catalog"},"quantity":{"type":"integer","required":false,"description":"How many copies of the item to buy. Defaults to 1."},"nickname":{"type":"string","required":false,"description":"Recipient player nickname in the game. Provide exactly one recipient identifier."},"address":{"type":"string","required":false,"description":"Recipient wallet address. Provide exactly one recipient identifier."},"payer":{"type":"string","required":false,"description":"Verified payment sender whose linked player receives the purchase."}},"recipientRequirement":{"oneOf":["nickname","address","payer"],"description":"Exactly one recipient identifier is required before buying. Listing offers works anonymously; adding one identifier requests a personalized catalog."},"items":[{"id":"ax1-hourly-resource-pack","displayName":"50 Technology Resource, 50 Infected Resource, 10 Loyality Resource, 300000 Soft Currency Resource","description":"Includes 50 technology-resource, 50 infected-resource, 10 loyality-resource, 300000 soft-currency-resource.","price":{"amount":"0.02","currency":"USDC"}},{"id":"ap-booster-1","displayName":"1 GAME ITEM","description":"Includes 1 GAME_ITEM.","price":{"amount":"3.591","currency":"USDC"}},{"id":"ap-booster-2","displayName":"5 GAME ITEM","description":"Includes 5 GAME_ITEM.","price":{"amount":"13.491","currency":"USDC"}},{"id":"soft-currency-booster-1","displayName":"1 GAME ITEM","description":"Includes 1 GAME_ITEM.","price":{"amount":"0.009","currency":"USDC"}},{"id":"soft-currency-booster-2","displayName":"5 GAME ITEM","description":"Includes 5 GAME_ITEM.","price":{"amount":"6.741","currency":"USDC"}},{"id":"virus-threat-booster","displayName":"1 GAME ITEM","description":"Includes 1 GAME_ITEM.","price":{"amount":"0.09","currency":"USDC"}},{"id":"agent:a-units-pack:1","displayName":"10 Hard Currency Resource","description":"Includes 10 hard-currency-resource.","price":{"amount":"0.09","currency":"USDC"}}],"surface":"shop"},{"method":"POST","path":"/shop/x402/player-lookup","protocol":"x402","description":"Look up the player linked to payer without payment. This read does not verify wallet ownership.","price":{"amount":"0","currency":"USD"},"params":{"payer":{"type":"string","required":true}},"surface":"shop"},{"method":"GET","path":"/x402/cheap-health","protocol":"x402","surface":"gateway","description":"Low-cost x402 gateway health probe for real settlement checks.","amountUsd":"0.001","amountAtomic":"1000","params":{},"items":[]},{"method":"POST","path":"/x402/report-tx","protocol":"x402","surface":"gateway","description":"Low-cost x402 endpoint for reporting successful transaction hashes. First call returns PAYMENT-REQUIRED; paid retry with the same JSON body persists the report.","authMode":"paid","rateLimited":false,"amountUsd":"0.001","amountAtomic":"1000","params":{"userId":{"type":"string","required":true},"txHash":{"type":"string","required":true,"pattern":"^0x[0-9a-fA-F]{64}$"}},"requestBody":{"required":true,"contentType":"application/json","additionalProperties":false,"example":{"userId":"telegram:123","txHash":"0x1111111111111111111111111111111111111111111111111111111111111111"}},"paymentFlow":{"unpaidProbeAllowsEmptyJsonBody":true,"retryHeader":"PAYMENT-SIGNATURE","preserveRequestBody":true,"requiredPaymentPayloadFields":["resource","accepted"]},"items":[]},{"method":"POST","path":"/craft/x402/burn","protocol":"x402","surface":"craft","description":"Transfer 1-20 approved ERC-721 tokens to the craft controller.","amountUsd":"0.001","amountAtomic":"1000"},{"method":"POST","path":"/craft/x402/accelerate","protocol":"x402","surface":"craft","description":"Charge an approved OWB amount to accelerate crafting.","amountUsd":"0.001","amountAtomic":"1000"}]}