{"uid":"cap_29KjbzI3BwG1HW7kIB1M0","slug":"chainquery-estimaterawfee-2524becc","name":"chainquery estimaterawfee","description":"chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Raw fee-estimate data from the node's fee estimator for a confirmation target. Bitcoin Core estimaterawfee.","url":"https://x402.chainquery.com/v1/rpc/estimaterawfee","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":"estimaterawfee result"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"params":"[6]"}}},"response":{"result":{"long":{"pass":{"endrange":1000,"inmempool":0,"startrange":0,"leftmempool":145.18,"withintarget":177834.33,"totalconfirmed":183052.22},"decay":0.99931,"scale":24,"feerate":0.00001},"short":{"fail":{"endrange":1050,"inmempool":0,"startrange":1000,"leftmempool":1.05,"withintarget":1572.55,"totalconfirmed":1658.21},"pass":{"endrange":1103,"inmempool":0,"startrange":1050,"leftmempool":0.18,"withintarget":918.03,"totalconfirmed":938.86},"decay":0.962,"scale":1,"feerate":0.00001081},"medium":{"fail":{"endrange":1050,"inmempool":0,"startrange":1000,"leftmempool":14.59,"withintarget":11885.9,"totalconfirmed":12886.03},"pass":{"endrange":1103,"inmempool":0,"startrange":1050,"leftmempool":3.76,"withintarget":5930.08,"totalconfirmed":6237.99},"decay":0.9952,"scale":2,"feerate":0.00001081}}}},"exampleRequest":{"params":"[6]"},"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TnRWuDlqWBzJILDnQiaHv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns raw fee estimation data from a Bitcoin Core node for a given confirmation target, via pay-per-call x402 protocol.","exampleAgentPrompt":"What does Bitcoin Core's raw fee estimator return for a confirmation target of 6 blocks — give me the full bucket breakdown including pass and fail stats?","exampleUseCases":null,"resultDescription":"A JSON object containing the raw output of Bitcoin Core's estimaterawfee RPC call: per-confirmation-target fee rate data including short, medium, and long horizon buckets, each with pass/fail statistics, fee rates, start/end ranges, and the number of transactions in each bucket.","failureModes":["Invalid or missing confirmation target param returns RPC error","Malformed JSON in params query string returns parse error","Payment not processed or x402 payment header missing/invalid returns 402","Node temporarily unavailable returns 5xx","Confirmation target out of supported range (1-1008) returns RPC error"],"whenToPreferThis":"Use this endpoint when you need granular, raw fee estimation data from a real Bitcoin Core node without provisioning your own infrastructure or API key — especially useful for fee analysis, building custom fee selection logic, or debugging fee estimator behavior. Prefer over estimatesmartfee when you need the full histogram/bucket data rather than a single recommended fee rate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:57:14.722Z","isFirstParty":false}