{"uid":"cap_fvT_3pRkGtgqGhgXEoMTy","slug":"nativebtc-optimized-block-template-txid-list-76f12f9f","name":"NativeBTC Optimized Block Template TxID List","description":"Full optimized block template txid list from the live Core v31 optimizer cache. Requests up to 4,000 txids, constrained by Bitcoin block weight. Returns ordered txids, template metadata, baseline-vs-optimized fee totals, mempool size, fee uplift, baseline comparison, coinbase value, and Ed25519 receipt metadata for Stratum V2 Job Declaration workflows.","url":"https://api.nativebtc.org/v1/template/optimized-txids","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"mode":"live_cached","txids":["81c97a6c5b98a1019095de132727cda868694fb5d92534ebb07e475619e38325"],"height":957401,"source":"core_v31_optimizer_cache","receipt":{"alg":"Ed25519","keyId":"08f55b7f4f76bd21","present":true},"success":true,"txCount":4000,"upliftBps":677.5,"mempoolSize":33741,"feeDeltaSats":85137,"coinbaseValue":313858787,"totalFeesSats":1343458,"baselineFeeSats":1258321,"baselineTxCount":3500,"optimizedFeeSats":1343458,"previousBlockHash":"00000000000000000000dbfaaa4541135bfcfe5928920609d213f621ef4ef8d9","optimizerOnlyCount":65}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ACSwk_Naf_0LuSMcviRKK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an optimized, fee-maximizing ordered list of up to 4,000 transaction IDs for a Bitcoin block template, with fee uplift metrics and Ed25519 receipt metadata for Stratum V2 Job Declaration workflows.","exampleAgentPrompt":"Pull the latest optimized block template txid list from the NativeBTC Core v31 cache — I need up to 4,000 txids ordered by fee priority with the fee uplift comparison and Ed25519 receipt for my Stratum V2 job declaration workflow.","exampleUseCases":null,"resultDescription":"An ordered list of up to 4,000 Bitcoin transaction IDs selected and ranked by the Core v31 optimizer to maximize block fees within Bitcoin block weight limits, along with template metadata, baseline vs. optimized fee totals, current mempool size, fee uplift figure, coinbase value, and an Ed25519-signed receipt suitable for Stratum V2 Job Declaration use.","failureModes":["Mempool data temporarily unavailable — optimizer cache miss or node sync lag","Payment not received or x402 payment header invalid — returns 402 Payment Required","Block weight constraint results in fewer than expected txids returned","Ed25519 signing service unavailable — receipt metadata missing or malformed","Rate limit exceeded for the $0.05 USDC per-call pricing tier","Malformed POST body — missing required fields returns 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when building a Bitcoin mining operation or pool that uses Stratum V2 Job Declaration protocol and needs a ready-to-use, fee-optimized ordered transaction set with cryptographic proof of template validity. It is specifically valuable when you want to compare baseline Core mempool ordering against an actively optimized selection to measure and capture fee uplift, rather than constructing a block template yourself from raw mempool data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:53.837Z","isFirstParty":false}