{"version":1,"service":{"name":"Clash of Coins","description":"Agentic checkout for Clash of Coins","docs":"https://x402.clashofcoins.com/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":[{"id":"391","displayName":"Initiate","description":"A starter Agentic Pass with 1 month of benefits, 300 Command Tokens, +20% soft currency, +20% resource gathering, and one tournament entry per day with Access Keys.","price":{"amount":"9","currency":"USDC"}},{"id":"392","displayName":"Commander","description":"A mid-tier Agentic Pass with 3 months of benefits, 2,000 Command Tokens, +20% soft currency, +20% resource gathering, access to 1 Hero Pack, a status nickname, and one tournament entry per day with Access Keys.","price":{"amount":"90","currency":"USDC"}},{"id":"393","displayName":"Warlord","description":"A premium Agentic Pass with 12 months of benefits, 5,000 Command Tokens, +20% soft currency, +20% resource gathering, access to 15 Hero Packs, a premium visual status, a Main + Special prize pool share, an exclusive staking bonus, and unlimited tournament entry.","price":{"amount":"900","currency":"USDC"}},{"id":"394","displayName":"Hero Pack","description":"Expand your roster with 3 randomized AI Agent Hero NFTs. Collect them, trade them, or deploy them in tournaments.","price":{"amount":"270","currency":"USDC"}}]},{"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 of nickname or address."},"address":{"type":"string","required":false,"description":"Recipient wallet address. Provide exactly one of nickname or address."}},"recipientRequirement":{"oneOf":["nickname","address"],"description":"Exactly one recipient identifier is required before buying. Listing offers works anonymously, and adding nickname or address requests the personalized catalog for that user."},"items":[{"id":"agent:a-units-pack:1","displayName":"10 Hard Currency Resource","description":"Includes 10 hard-currency-resource.","price":{"amount":"0.09","currency":"USDC"}},{"id":"a-units-pack:1","displayName":"130 Hard Currency Resource","description":"Includes 130 hard-currency-resource.","price":{"amount":"0.9","currency":"USDC"}},{"id":"a-units-pack:2","displayName":"700 Hard Currency Resource","description":"Includes 700 hard-currency-resource (+50 bonus).","price":{"amount":"4.5","currency":"USDC"}},{"id":"a-units-pack:3","displayName":"1650 Hard Currency Resource","description":"Includes 1650 hard-currency-resource (+350 bonus).","price":{"amount":"9","currency":"USDC"}},{"id":"a-units-pack:4","displayName":"4250 Hard Currency Resource","description":"Includes 4250 hard-currency-resource (+1000 bonus).","price":{"amount":"22.5","currency":"USDC"}},{"id":"a-units-pack:5","displayName":"8850 Hard Currency Resource","description":"Includes 8850 hard-currency-resource (+3000 bonus).","price":{"amount":"40.5","currency":"USDC"}}],"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":[]}]}