openapi: 3.0.3 info: title: Chainstack Bitcoin Node API version: 1.0.0 description: Chainstack-managed RPC node API for the Bitcoin blockchain. Endpoints follow the canonical JSON-RPC over HTTPS interface for the network. Authenticate against your Chainstack node's per-node URL (e.g. https://nd-XXX-XXX-XXX.p2pify.com/). Merged from the Chainstack Developer Portal per-method fragments at https://github.com/chainstack/dev-portal/tree/main/openapi/bitcoin_node_api. contact: name: Chainstack API Support email: support@chainstack.com license: name: Chainstack Terms url: https://chainstack.com/terms-of-service/ servers: - url: https://{node_id}.p2pify.com/{api_key} description: Chainstack-managed node endpoint variables: node_id: default: nd-000-000-000 description: Your Chainstack node identifier api_key: default: description: Per-node access key tags: - name: General paths: /decoderawtransaction: post: tags: - General summary: Decoderawtransaction operationId: decodeRawTransaction requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: decoderawtransaction params: type: array items: type: string description: The raw transaction in hex format to decode. default: - 010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff5603b2c50c194d696e656420627920416e74506f6f6c206e0006071c93cbcdfabe6d6db50cdb1bd4713d7d8e48a75ce34c044bd84ee9f67e53dd443e3f24ccdabb687a100000000000000000006bf6dd49000000000000ffffffff05220200000000000017a91442402a28dd61f2718a4b27ae72a4791d5bbdade7876f81e0250000000017a9145249bdf2c131d43995cff42e8feee293f79297a8870000000000000000266a24aa21a9ed7a97cbb5b2366e5185da4ca412ca7ec1a3474c3ea2160e6fdf78d6f2924971c300000000000000002f6a2d434f5245012953559db5cc88ab20b1960faa9793803d0703375997be5a09d05bb9bac27ec60419d0b373f32b2000000000000000002b6a2952534b424c4f434b3a1d2a85762502a28245b3f5103a8f26ef0754f340b291af79649be425005ecdaf0120000000000000000000000000000000000000000000000000000000000000000000000000 id: type: integer default: 1 responses: '200': description: Details about the decoded transaction. content: application/json: schema: type: object properties: result: type: object description: Contains detailed information about the transaction, including its inputs, outputs, and various metadata. error: type: object id: type: integer /decodescript: post: tags: - General summary: Decodescript operationId: decodeScript requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: decodescript params: type: array items: type: string description: The hex-encoded script to decode. default: - 76a914af92ad98c7f77559f96430dfef2a6805b87b24f888ac id: type: integer default: 1 responses: '200': description: Details about the decoded script. content: application/json: schema: type: object properties: result: type: object description: Contains information about the script, such as its type, addresses involved, and if it's a segwit script. error: type: object id: type: integer /estimatesmartfee: post: tags: - General summary: Estimatesmartfee operationId: estimateSmartFee requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: estimatesmartfee params: type: array items: type: integer description: The number of blocks within which the transaction is expected to be confirmed. default: - 6 id: type: integer default: 1 responses: '200': description: The estimated fee per kilobyte for a transaction to be confirmed within the specified number of blocks. content: application/json: schema: type: object properties: result: type: object properties: feerate: type: number description: The estimated fee per kilobyte. blocks: type: integer description: The number of blocks within which the transaction is expected to be confirmed. description: Contains the estimated fee rate and the number of blocks. error: type: object id: type: integer /getbestblockhash: post: tags: - General summary: Getbestblockhash operationId: getBestBlockHash requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getbestblockhash id: type: integer default: 1 responses: '200': description: The hash of the best (tip) block content: application/json: schema: type: object properties: result: type: string error: type: object id: type: integer /getblock: post: tags: - General summary: Getblock operationId: getblock requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getblock params: type: array items: oneOf: - type: string description: The block hash example: 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f - type: integer description: The block height example: '0' default: - 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f id: type: integer default: 1 responses: '200': description: The requested block content: application/json: schema: type: object properties: result: type: object description: The block object error: type: object id: type: integer /getblockchaininfo: post: tags: - General summary: Getblockchaininfo operationId: getBlockchainInfo requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getblockchaininfo params: type: array items: {} default: [] id: type: integer default: 1 responses: '200': description: Various state info regarding blockchain processing content: application/json: schema: type: object properties: result: type: object description: An object containing various state info error: type: object id: type: integer /getblockfilter: post: tags: - General summary: Getblockfilter operationId: getBlockFilter requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getblockfilter params: type: array items: oneOf: - type: string description: The block hash example: 000000000000000000100c3c4b0b07a64612385408f6c7d97c422a5a0c1d859d - type: string description: The filter type example: basic default: - 000000000000000000100c3c4b0b07a64612385408f6c7d97c422a5a0c1d859d - basic id: type: integer default: 1 responses: '200': description: The BIP 157 content filter for the block content: application/json: schema: type: object properties: result: type: object description: An object containing the block filter error: type: object id: type: integer /getblockhash: post: tags: - General summary: Getblockhash operationId: getBlockHash requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getblockhash params: type: array items: type: integer description: The block height example: 836491 default: - 836491 id: type: integer default: 1 responses: '200': description: The hash of the block at the given height content: application/json: schema: type: object properties: result: type: string description: The block hash error: type: object id: type: integer /getblockheader: post: tags: - General summary: Getblockheader operationId: getblockheader requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getblockheader params: type: array items: oneOf: - type: string description: The block hash example: 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f - type: boolean description: If true, returns the blockheader as a hex-encoded string example: true default: - 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f - true id: type: integer default: 1 responses: '200': description: Information about the block header content: application/json: schema: type: object properties: result: type: object error: type: object id: type: integer /getblockstats: post: tags: - General summary: Getblockstats operationId: getBlockStats requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getblockstats params: type: array items: oneOf: - type: string description: The block hash example: 00000000000000000002d517d73d1abd09730ea69aa688207c281944300e8a50 - type: array description: An array of stats to include items: type: string enum: - avgfee - avgfeerate - avgtxsize - blockhash - feerate_percentiles - height - ins - maxfee - maxfeerate - maxtxsize - medianfee - mediantime - mediantxsize - minfee - minfeerate - mintxsize - outs - subsidy - swtotal_size - swtotal_weight - swtxs - time - total_out - total_size - total_weight - totalfee - txs - utxo_increase - utxo_size_inc default: - avgfee - avgfeerate - avgtxsize - blockhash - feerate_percentiles - height - ins - maxfee - maxfeerate - maxtxsize - medianfee - mediantime - mediantxsize - minfee - minfeerate - mintxsize - outs - subsidy - swtotal_size - swtotal_weight - swtxs - time - total_out - total_size - total_weight - totalfee - txs - utxo_increase - utxo_size_inc default: - 00000000000000000002d517d73d1abd09730ea69aa688207c281944300e8a50 - - avgfee - avgfeerate - avgtxsize - blockhash - feerate_percentiles - height - ins - maxfee - maxfeerate - maxtxsize - medianfee - mediantime - mediantxsize - minfee - minfeerate - mintxsize - outs - subsidy - swtotal_size - swtotal_weight - swtxs - time - total_out - total_size - total_weight - totalfee - txs - utxo_increase - utxo_size_inc id: type: integer default: 1 responses: '200': description: The requested block statistics content: application/json: schema: type: object properties: result: type: object description: An object containing the block statistics error: type: object id: type: integer /getblocktemplate: post: tags: - General summary: Getblocktemplate operationId: getBlockTemplate requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getblocktemplate params: type: array items: type: object properties: mode: type: string description: This must be set to 'template', 'proposal', or left unset. enum: - template - proposal capabilities: type: array items: type: string description: List of capabilities example: - coinbasetxn - workid - coinbase/append rules: type: array items: type: string description: A list of strings example: - segwit required: - mode example: - mode: template capabilities: - coinbasetxn - workid - coinbase/append rules: - segwit default: - mode: template capabilities: - coinbasetxn - workid - coinbase/append rules: - segwit id: type: integer default: 1 responses: '200': description: A block template or proposal for mining. content: application/json: schema: type: object properties: result: type: object description: The block template or proposal. error: type: object id: type: integer /getchaintips: post: tags: - General summary: Getchaintips operationId: getChainTips requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getchaintips params: type: array items: {} default: [] id: type: integer default: 1 responses: '200': description: Information about the current chain tips content: application/json: schema: type: object properties: result: type: array description: An array of chain tip information error: type: object id: type: integer /getchaintxstats: post: tags: - General summary: Getchaintxstats operationId: getChainTxStats requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getchaintxstats params: type: object properties: nblocks: type: integer description: The block height example: 100 blockhash: type: string description: The block hash example: 000000000000000000024b16f3c9bfd109d0c666dd8a694cfaeca1b6a0f0d112 required: - nblocks - blockhash default: nblocks: 100 blockhash: 000000000000000000024b16f3c9bfd109d0c666dd8a694cfaeca1b6a0f0d112 id: type: integer default: 1 responses: '200': description: Statistics about the total number and rate of transactions in the chain content: application/json: schema: type: object properties: result: type: object description: An object containing transaction statistics error: type: object id: type: integer /getconnectioncount: post: tags: - General summary: Getconnectioncount operationId: getConnectionCount requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getconnectioncount params: {} id: type: integer default: 1 responses: '200': description: The number of connections to other nodes. content: application/json: schema: type: object properties: result: type: integer description: The current number of connections to other nodes. error: type: object id: type: integer /getdifficulty: post: tags: - General summary: Getdifficulty operationId: getDifficulty requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getdifficulty params: {} id: type: integer default: 1 responses: '200': description: The current network difficulty content: application/json: schema: type: object properties: result: type: number description: The current network difficulty as a number error: type: object id: type: integer /getmemoryinfo: post: tags: - General summary: Getmemoryinfo operationId: getMemoryInfo requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getmemoryinfo params: type: array items: type: string enum: - stats - mallocinfo description: The mode in which memory information should be returned. 'stats' for a summary view, 'mallocinfo' for detailed XML format. default: - stats id: type: integer default: 1 responses: '200': description: Detailed information about the node's memory usage. content: application/json: schema: type: object properties: result: type: object description: Memory information in the requested format. error: type: object id: type: integer /getmempoolancestors: post: tags: - General summary: Getmempoolancestors operationId: getMempoolAncestors requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getmempoolancestors params: type: array items: type: string description: The transaction ID example: f6a4beaf3b26ae273d50eb8f6ea18e776932b4fefd24c8b915b94b6d22e89bc9 default: - f6a4beaf3b26ae273d50eb8f6ea18e776932b4fefd24c8b915b94b6d22e89bc9 id: type: integer default: 1 responses: '200': description: All in-mempool ancestors for the specified transaction content: application/json: schema: type: object properties: result: type: array description: An array of in-mempool ancestor transactions error: type: object id: type: integer /getmempooldescendants: post: tags: - General summary: Getmempooldescendants operationId: getMempoolDescendants requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getmempooldescendants params: type: array items: type: string description: The transaction ID example: 48b46e5905386ea21ff94d2be67dd7a75cc177c53e301d1ca29c5721d502793e default: - 48b46e5905386ea21ff94d2be67dd7a75cc177c53e301d1ca29c5721d502793e id: type: integer default: 1 responses: '200': description: All in-mempool descendants for the specified transaction content: application/json: schema: type: object properties: result: type: array description: An array of in-mempool descendant transactions error: type: object id: type: integer /getmempoolentry: post: tags: - General summary: Getmempoolentry operationId: getMempoolEntry requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getmempoolentry params: type: array items: type: string description: The transaction ID example: 48b46e5905386ea21ff94d2be67dd7a75cc177c53e301d1ca29c5721d502793e default: - 48b46e5905386ea21ff94d2be67dd7a75cc177c53e301d1ca29c5721d502793e id: type: integer default: 1 responses: '200': description: Detailed information about the specified transaction in the mempool content: application/json: schema: type: object properties: result: type: object description: Detailed information about the transaction in the mempool error: type: object id: type: integer /getmempoolinfo: post: tags: - General summary: Getmempoolinfo operationId: getMempoolInfo requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getmempoolinfo params: {} id: type: integer default: 1 responses: '200': description: Information about the current state of the transaction mempool content: application/json: schema: type: object properties: result: type: object description: Information about the transaction mempool error: type: object id: type: integer /getmininginfo: post: tags: - General summary: Getmininginfo operationId: getMiningInfo requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getmininginfo params: {} id: type: integer default: 1 responses: '200': description: Various mining-related information. content: application/json: schema: type: object properties: result: type: object description: Contains mining-related information such as blocks, current network hash rate, difficulty, and more. error: type: object id: type: integer /getnettotals: post: tags: - General summary: Getnettotals operationId: getNetTotals requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getnettotals params: {} id: type: integer default: 1 responses: '200': description: Network traffic statistics, including total bytes sent and received. content: application/json: schema: type: object properties: result: type: object description: Contains network traffic statistics. error: type: object id: type: integer /getnetworkhashps: post: tags: - General summary: Getnetworkhashps operationId: getNetworkHashPs requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getnetworkhashps params: type: array items: oneOf: - type: integer description: The number of blocks to calculate the average hash rate over. Default is 120. - type: integer description: The block height at which to calculate the hash rate. Default is -1, meaning the current height. default: - 120 - -1 id: type: integer default: 1 responses: '200': description: The estimated network hashes per second. content: application/json: schema: type: object properties: result: type: number description: The estimated number of hashes per second based on the last n blocks. error: type: object id: type: integer /getnetworkinfo: post: tags: - General summary: Getnetworkinfo operationId: getNetworkInfo requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getnetworkinfo params: {} id: type: integer default: 1 responses: '200': description: Detailed information about the node's network connections. content: application/json: schema: type: object properties: result: type: object description: Contains detailed information about the network connections. error: type: object id: type: integer /getnodeaddresses: post: tags: - General summary: Getnodeaddresses operationId: getNodeAddresses requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getnodeaddresses params: type: array items: type: integer description: The number of addresses to return. If 0 is specified, the node will return all known addresses. default: - 0 id: type: integer default: 1 responses: '200': description: A list of known network peer addresses. content: application/json: schema: type: object properties: result: type: array items: type: object properties: address: type: string description: The peer's network address. port: type: integer description: The peer's port. services: type: string description: The services offered by the peer. time: type: integer description: The last time the address was seen. error: type: object id: type: integer /getpeerinfo: post: tags: - General summary: Getpeerinfo operationId: getPeerInfo requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getpeerinfo params: {} id: type: integer default: 1 responses: '200': description: Information about each connected peer. content: application/json: schema: type: object properties: result: type: array items: type: object description: A list of objects containing information about each peer. error: type: object id: type: integer /getrawmempool: post: tags: - General summary: Getrawmempool operationId: getRawMempool requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getrawmempool params: {} id: type: integer default: 1 responses: '200': description: All transaction IDs in the mempool content: application/json: schema: type: object properties: result: type: array description: An array of transaction IDs in the mempool error: type: object id: type: integer /getrawtransaction: post: tags: - General summary: Getrawtransaction operationId: getRawTransaction requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getrawtransaction params: type: array items: oneOf: - type: string description: The transaction ID. - type: boolean description: Whether to return a detailed, decoded transaction instead of a hex-encoded string. default: - 0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62 - false id: type: integer default: 1 responses: '200': description: The hex-encoded transaction or transaction details. content: application/json: schema: type: object properties: result: oneOf: - type: string description: The hex-encoded transaction. - type: object description: The decoded transaction details, if requested. error: type: object id: type: integer /getrpcinfo: post: tags: - General summary: Getrpcinfo operationId: getRPCInfo requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: getrpcinfo params: {} id: type: integer default: 1 responses: '200': description: Detailed information about the RPC server. content: application/json: schema: type: object properties: result: type: object description: Information about the RPC server, including active commands and total duration. error: type: object id: type: integer /gettxout: post: tags: - General summary: Gettxout operationId: getTxOut requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: gettxout params: type: array items: type: string description: The transaction ID and index example: 0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62, 1 default: - 0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62 - 1 id: type: integer default: 1 responses: '200': description: Information about the specified transaction output content: application/json: schema: type: object properties: result: type: object description: Information about the transaction output error: type: object id: type: integer /gettxoutproof: post: tags: - General summary: Gettxoutproof operationId: getTxOutProof requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: gettxoutproof params: type: array items: type: string description: The transaction ID(s) for which the proof is requested example: - - 0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62 default: - - 0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62 id: type: integer default: 1 responses: '200': description: The merkle branch proof of the transaction inclusion in a block content: application/json: schema: type: object properties: result: type: string description: The hexadecimal string of the merkle branch proof error: type: object id: type: integer /gettxoutsetinfo: post: tags: - General summary: Gettxoutsetinfo operationId: getTxOutsetInfo requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: gettxoutsetinfo params: {} id: type: integer default: 1 responses: '200': description: Statistics about the unspent transaction output set content: application/json: schema: type: object properties: result: type: object description: Statistics about the unspent transaction output set error: type: object id: type: integer /listbanned: post: tags: - General summary: Listbanned operationId: listBanned requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: listbanned params: {} id: type: integer default: 1 responses: '200': description: A list of all banned IP addresses and subnets. content: application/json: schema: type: object properties: result: type: array items: type: object properties: address: type: string description: The banned IP address or subnet. banned_until: type: integer description: Timestamp in Unix time when the ban will be lifted. ban_created: type: integer description: Timestamp in Unix time when the ban was created. ban_reason: type: string description: Reason for the ban. description: Details about each banned IP address or subnet. error: type: object id: type: integer /ping: post: tags: - General summary: Ping operationId: ping requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: ping params: {} id: type: integer default: 1 responses: '200': description: Confirmation that the ping was sent to all connected peers. content: application/json: schema: type: object properties: result: description: The result is always null, indicating the ping was sent. error: type: object id: type: integer /preciousblock: post: tags: - General summary: Preciousblock operationId: preciousBlock requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: preciousblock params: type: array items: type: string description: The hash of the block to be treated as precious example: 000000000000000000011cefb2db6b82b6ae69b4ec06eedc81fc85d16f97865d default: - 000000000000000000011cefb2db6b82b6ae69b4ec06eedc81fc85d16f97865d id: type: integer default: 1 responses: '200': description: Acknowledgement that the block has been marked as precious content: application/json: schema: type: object properties: result: type: string description: The result is always null, indicating the request was processed. Actual type is 'null'. nullable: true error: type: object id: type: integer /prioritisetransaction: post: tags: - General summary: Prioritisetransaction operationId: prioritiseTransaction requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: prioritisetransaction params: type: array items: oneOf: - type: string description: The transaction ID. - type: integer description: The priority delta (increase in priority). - type: integer description: The fee delta in satoshis (increase in fee). example: - 0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62 - 0 - 10000 default: - 0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62 - 0 - 10000 id: type: integer default: 1 responses: '200': description: Confirmation that the transaction priority was increased. content: application/json: schema: type: object properties: result: type: boolean description: True if the transaction priority was successfully increased, false otherwise. error: type: object id: type: integer /uptime: post: tags: - General summary: Uptime operationId: uptime requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: uptime params: {} id: type: integer default: 1 responses: '200': description: The total uptime of the server in seconds content: application/json: schema: type: object properties: result: type: integer description: The uptime of the server in seconds error: type: object id: type: integer /validateaddress: post: tags: - General summary: Validateaddress operationId: validateAddress requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: validateaddress params: type: array items: type: string description: The Bitcoin address to validate. default: - bc1pmvg0vjl7cgayamkd4kvgyktx5849gul67c85pygvt52mpwmx6dtqp92l8r id: type: integer default: 1 responses: '200': description: Information about the validation of the address. content: application/json: schema: type: object properties: result: type: object properties: isvalid: type: boolean description: Whether the address is a valid Bitcoin address. address: type: string description: The Bitcoin address validated (if valid). scriptPubKey: type: string description: The hex-encoded scriptPubKey generated by the address. ismine: type: boolean description: Whether the address belongs to the wallet (if wallet support is enabled). iswatchonly: type: boolean description: Whether the address is watch-only (if wallet support is enabled). isscript: type: boolean description: Whether the address is a script. script: type: string description: The type of script, if `isscript` is true. hex: type: string description: The hex-encoded redeemScript (for P2SH) or witnessScript (for P2WSH), if applicable. addresses: type: array items: type: string description: Array of addresses associated with the script (for multisig scripts). sigsrequired: type: integer description: Number of signatures required (for multisig scripts). pubkey: type: string description: The hex-encoded public key (for P2PKH and P2WPKH addresses). iscompressed: type: boolean description: Whether the public key is compressed. account: type: string description: DEPRECATED. The account associated with the address (will be removed in future versions). timestamp: type: integer description: Timestamp of the address if known. hdkeypath: type: string description: The HD keypath, if the address is HD wallet related. hdseedid: type: string description: The Hash160 of the HD seed. hdmasterfingerprint: type: string description: The fingerprint of the master key. labels: type: array items: type: string description: User-assigned labels for the address. error: type: object id: type: integer /verifychain: post: tags: - General summary: Verifychain operationId: verifyChain requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: verifychain params: type: array items: type: integer description: 'The check level (0-4, default: 3)' example: 3 default: - 3 id: type: integer default: 1 responses: '200': description: The result of the blockchain verification content: application/json: schema: type: object properties: result: type: boolean description: The result of the verification error: type: object id: type: integer /verifytxoutproof: post: tags: - General summary: Verifytxoutproof operationId: verifyTxOutProof requestBody: required: true content: application/json: schema: type: object properties: jsonrpc: type: string default: '1.0' method: type: string default: verifytxoutproof params: type: array items: type: string description: The proof of inclusion for a transaction in a block example: 00e0002000471175ec71a72541c100f21bb79f9da0e5ca98259a000000000000000000004769eae15b51056127304c5dec6d94c7840f8f922c0b65bc32177cb46ce05de9b8c10866d36203175dae051fdc0a00000d625aa7b5510f7c003624338259d21544e61ccb3666792dde9734b7621d2cf80bb81ffa45657310bdc47ad3b3f5e5346c150d4fc1b98a5446cc560c6f38f7156138761aab058be861e51fe52ea7cf7b4914a1e1b159ecebe46b51db0ec5cfd4c2324ae9c132169d1f133981632895c216a8e3c3d3a9cea545fade4c0ab8b626a2791862728b657abbdb06dedcc3faabee9d72ce6b8252b45fc99d6fe0f79cec401e1a431774d8830b962e5dee97fc96f4f85f84a6e50b986a37b35318537a81f3f8c604554e5b4f5ca4b4437caa3b0723896396532c1985d52f42f915084534c6bedb4ded1238781d23be0173b94ca25d7faff2832ac99fa16b2f9b219ff276062f100d4b7ce774ba405fbad36b65165e2e5aece3e0b9718886d7b24708be5ae72d10911e9301811b19fcb218ce7dfee31729f4ef56a3d8f31670865a039b3678b34fcb47f12bd157a064339c3e91a960c5a14b9e8da9c8ce211a02bb94e7165a1668d8a17663e95adcdacdbc8e8ab793e8796fda9b270ca957e67aa33dc95cff158cb2ff6882064942ef545612a8eceb3c60415d677d170f4351ede1f7a8807504ff1f0000 default: - 00e0002000471175ec71a72541c100f21bb79f9da0e5ca98259a000000000000000000004769eae15b51056127304c5dec6d94c7840f8f922c0b65bc32177cb46ce05de9b8c10866d36203175dae051fdc0a00000d625aa7b5510f7c003624338259d21544e61ccb3666792dde9734b7621d2cf80bb81ffa45657310bdc47ad3b3f5e5346c150d4fc1b98a5446cc560c6f38f7156138761aab058be861e51fe52ea7cf7b4914a1e1b159ecebe46b51db0ec5cfd4c2324ae9c132169d1f133981632895c216a8e3c3d3a9cea545fade4c0ab8b626a2791862728b657abbdb06dedcc3faabee9d72ce6b8252b45fc99d6fe0f79cec401e1a431774d8830b962e5dee97fc96f4f85f84a6e50b986a37b35318537a81f3f8c604554e5b4f5ca4b4437caa3b0723896396532c1985d52f42f915084534c6bedb4ded1238781d23be0173b94ca25d7faff2832ac99fa16b2f9b219ff276062f100d4b7ce774ba405fbad36b65165e2e5aece3e0b9718886d7b24708be5ae72d10911e9301811b19fcb218ce7dfee31729f4ef56a3d8f31670865a039b3678b34fcb47f12bd157a064339c3e91a960c5a14b9e8da9c8ce211a02bb94e7165a1668d8a17663e95adcdacdbc8e8ab793e8796fda9b270ca957e67aa33dc95cff158cb2ff6882064942ef545612a8eceb3c60415d677d170f4351ede1f7a8807504ff1f0000 id: type: integer default: 1 responses: '200': description: The transaction IDs included in the proof content: application/json: schema: type: object properties: result: type: array items: type: string description: The list of transaction IDs verified by the proof error: type: object id: type: integer