{"uid":"cap_t1EHUW2RqU2gp0N2u6Ww3","slug":"minebean-gridmining-strategy-advisor-8673f363","name":"MineBean GridMining Strategy Advisor","description":"Decentralized mining protocol on Base","url":"https://api.minebean.com/api/strategy/decide","method":"POST","headers":{},"bodySchema":{"type":"object","required":["strategy"],"properties":{"params":{"type":"object","description":"Optional strategy-specific block-selection params. Unknown keys are silently ignored."},"strategy":{"enum":["sniper","anti-winner","anti-loser","nostradamus"],"type":"string","description":"Which strategy to evaluate. One strategy per call."}}},"responseSchema":{"type":"object","required":["strategy","blocks","blockMask","amountWei","fire","reason","tx","timing","freshness"],"properties":{"tx":{"type":["object","null"],"properties":{"to":{"type":"string","description":"GridMining contract address."},"data":{"type":"string","description":"ABI-encoded calldata for deploy(blocks)."},"value":{"type":"string","description":"ETH value to send, in wei (decimal string)."},"chainId":{"type":"integer","description":"Base mainnet = 8453."}},"description":"Pre-encoded GridMining.deploy(uint8[]) blueprint. Null when fire=false."},"fire":{"type":"boolean","description":"Recommended action. True = deploy; false = skip this round."},"blocks":{"type":"array","items":{"type":"integer","maximum":24,"minimum":0},"description":"Block IDs (0-24) to deploy to."},"reason":{"type":"string","description":"Human-readable rationale for the fire/skip decision."},"timing":{"type":"object","properties":{"roundId":{"type":"string"},"roundEndTime":{"type":"integer","description":"Unix seconds."},"roundStartTime":{"type":"integer","description":"Unix seconds."}}},"strategy":{"type":"string","description":"Echo of the requested strategy."},"amountWei":{"type":"string","description":"EV-optimal total deployment amount in wei (decimal string). '0' when fire=false."},"blockMask":{"type":"integer","description":"Bitmask form of `blocks` (bit i set if block i is included)."},"freshness":{"type":"object","properties":{"computedAt":{"type":"string","format":"date-time"},"responseId":{"type":"string","format":"uuid","description":"Unique ID for this recommendation; quote in support requests."},"gridUpdatedAt":{"type":["string","null"],"format":"date-time"},"pricesUpdatedAt":{"type":["string","null"],"format":"date-time"}}},"expectedRoiPct":{"type":["number","null"],"description":"Expected ROI percent at the math-optimal amount. May be negative when fire=false. Null on cold-start (nostradamus without history)."},"amountFormatted":{"type":"string","description":"Same amount formatted in ETH."},"beanpotPoolFormatted":{"type":"string","description":"Current beanpot pool size in BEAN."}}},"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_-nKC26djO1HdN4vqGN50R","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":"Evaluates a named mining strategy against current grid conditions and returns a fire/skip decision with optimal block targets and pre-encoded transaction data for deploying to the Base GridMining contract","exampleAgentPrompt":"Check if I should deploy to the GridMining contract this round using the 'nostradamus' strategy — give me the recommended blocks, expected ROI, and the ready-to-sign transaction if it's a go.","exampleUseCases":null,"resultDescription":"Returns a structured object containing: a boolean fire flag (deploy or skip), array of recommended block IDs (0-24), a bitmask representation of those blocks, the EV-optimal deployment amount in wei, a human-readable rationale string, pre-encoded ABI calldata and ETH value for the GridMining.deploy() call on Base (chainId 8453), expected ROI percentage, round timing info (roundId, start/end unix timestamps), and freshness metadata including computation timestamp, response UUID, and last grid/price update times.","failureModes":["Unknown strategy name — returns error if the strategy string is not recognized","Cold-start null ROI — nostradamus strategy may return null for expectedRoiPct when no historical data exists","Stale grid data — freshness fields may indicate outdated grid or price snapshots","fire=false with null tx — when skip is recommended, the tx field is null and amountWei is '0'","Network issues to Base — upstream chain data unavailability may cause errors or degraded freshness","Payment failure — x402 payment of 0.1 USDC required per call; missing or invalid payment results in 402 response"],"whenToPreferThis":"Use this endpoint when you need a fully automated, strategy-driven recommendation for whether and where to deploy in the Base GridMining protocol — especially when you want pre-encoded transaction calldata ready to sign rather than computing block selection yourself. Prefer this over manual analysis when you need EV-optimal amounts, bitmask encoding, and round timing in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:38:45.945Z","isFirstParty":false}