{"uid":"cap_udRmltAUmrITWWGZIDuNw","slug":"chainquery-testmempoolaccept-4070ae62","name":"chainquery testmempoolaccept","description":"chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Test whether raw transactions would be accepted to the mempool, without broadcasting, via chainquery's independent full node. Bitcoin Core testmempoolaccept.","url":"https://x402.chainquery.com/v1/rpc/testmempoolaccept","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"params":{"type":"string","description":"optional: JSON-encoded array of positional RPC params"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"description":"testmempoolaccept result"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IRljq357Cr_TPIucG08Hn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Tests whether raw Bitcoin transactions would be accepted to the mempool without actually broadcasting them, via a chainquery full node.","exampleAgentPrompt":"Before I broadcast this Bitcoin transaction, can you test whether it would be accepted to the mempool using chainquery's full node? Here's the raw hex: 0200000001abc...","exampleUseCases":null,"resultDescription":"Returns a testmempoolaccept result object per Bitcoin Core RPC spec, including whether each transaction is accepted, the rejection reason if any, the transaction fee, and vsize. No transaction is broadcast to the network.","failureModes":["Invalid or malformed raw transaction hex returns rejection with reason field","Transaction with insufficient fee rate rejected with 'min relay fee not met'","Double-spend attempt returns 'txn-mempool-conflict'","Malformed params JSON returns an error","Network or node unavailability returns HTTP error","Payment not included or insufficient returns HTTP 402"],"whenToPreferThis":"Use this endpoint when you need to validate a fully signed raw Bitcoin transaction against real mainnet mempool rules before broadcasting it, without spending any funds or affecting the network state. Prefer this over local validation libraries when you need live mempool policy checks from an independent full node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:44:38.032Z","isFirstParty":false}