{"uid":"cap_3EvBghJ1LUzAQV2_zOrBL","slug":"chainquery-createmultisig-cf39ad49","name":"chainquery createmultisig","description":"chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Build an m-of-n multisig address and redeem script from public keys. Bitcoin Core createmultisig.","url":"https://x402.chainquery.com/v1/rpc/createmultisig","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":"createmultisig result"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"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_MMHWkOFgLX2Zj0RhrPkoy","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":"Builds an m-of-n multisig Bitcoin address and its redeem script from a set of public keys via Bitcoin Core's createmultisig RPC","exampleAgentPrompt":"Create a 2-of-3 multisig Bitcoin address using these three compressed public keys: 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798, 02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5, and 02f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the multisig address, the hex-encoded redeem script, and a descriptor string that can be used to reconstruct the script — mirroring the Bitcoin Core createmultisig RPC output.","failureModes":["Invalid or malformed public key causes RPC error","m exceeds number of provided keys (e.g. 3-of-2)","params JSON array is malformed or not properly URL-encoded","Payment of $0.005 USDC not provided or insufficient — returns HTTP 402","Bitcoin Core node unavailable — upstream RPC error","Unsupported address type value causes parameter rejection"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate a Bitcoin multisig address and redeem script without managing a Bitcoin Core node or obtaining an API key — especially useful for custody, escrow, or shared-wallet workflows that need pay-per-call access billed in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:39:48.120Z","isFirstParty":false}