{"uid":"cap_LBgx9YFRerAQpHZJFcpmp","slug":"battleship-command-bomb-attack-1548d548","name":"Battleship Command - Bomb Attack","description":"Purchase a bomb attack on a specific coordinate in the battleship game. Each bomb costs 0.10 USDC and can result in a hit, miss, or sinking a ship. Successful attacks may earn rewards from the prize pool. Send coordinates {x, y} in POST body with X-PAYMENT header. View current game state at https://battleship.nanupanda.com//api/game/state","url":"https://battleship.nanupanda.com/api/bomb","method":"POST","headers":{},"bodySchema":{"type":"object","required":["x","y"],"properties":{"x":{"type":"integer","description":"X coordinate (0-29) for bomb attack"},"y":{"type":"integer","description":"Y coordinate (0-29) for bomb attack"}}},"responseSchema":{"result":{"enum":["hit","miss","sunk"],"type":"string","description":"Attack result"},"message":{"type":"string","description":"Descriptive message about the attack"},"success":{"type":"boolean","description":"Whether the attack was successful"},"coordinates":{"type":"object","description":"Attacked coordinates {x, y}"},"bomberAddress":{"type":"string","description":"Address of the attacking player"},"transactionHash":{"type":"string","description":"Payment transaction hash"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qGapy8kZAB17ONd99cApI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases a bomb attack on a specific grid coordinate in an on-chain battleship game, returning hit/miss/sunk result and potential prize pool rewards.","exampleAgentPrompt":"Attack coordinate (14, 22) in the battleship game for me — spend the 0.10 USDC to drop a bomb there and tell me if it's a hit, miss, or sunk.","exampleUseCases":null,"resultDescription":"Returns whether the attack was a hit, miss, or sunk a ship; a descriptive message; the attacked coordinates; the bomber's address; and the payment transaction hash.","failureModes":["Invalid coordinates outside 0-29 range returns error","Insufficient or missing USDC payment via X-PAYMENT header returns 402","Already-bombed coordinate may return error or miss","Network or blockchain congestion may cause timeout","Invalid payment header format returns 400"],"whenToPreferThis":"Use this endpoint when an agent needs to make a paid move in the on-chain battleship game at nanupanda.com, specifically to bomb a grid coordinate and retrieve the attack outcome. Prefer over reading game state (which is a GET endpoint) when the goal is to actually play/attack.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:39:06.473Z","isFirstParty":false}