getaddressinfo (27.0.0 RPC) blockchain dumptxoutset getbestblockhash getblock getblockchaininfo getblockcount getblockfilter getblockfrompeer getblockhash getblockheader getblockstats getchainstates getchaintips getchaintxstats getdeploymentinfo getdifficulty getmempoolancestors getmempooldescendants getmempoolentry getmempoolinfo getrawmempool gettxout gettxoutproof gettxoutsetinfo gettxspendingprevout importmempool loadtxoutset preciousblock pruneblockchain savemempool scanblocks scantxoutset verifychain verifytxoutproof control getmemoryinfo getrpcinfo help logging stop uptime mining getblocktemplate getmininginfo getnetworkhashps getprioritisedtransactions prioritisetransaction submitblock submitheader network addnode clearbanned disconnectnode getaddednodeinfo getaddrmaninfo getconnectioncount getnettotals getnetworkinfo getnodeaddresses getpeerinfo listbanned ping setban setnetworkactive rawtransactions analyzepsbt combinepsbt combinerawtransaction converttopsbt createpsbt createrawtransaction decodepsbt decoderawtransaction decodescript descriptorprocesspsbt finalizepsbt fundrawtransaction getrawtransaction joinpsbts sendrawtransaction signrawtransactionwithkey submitpackage testmempoolaccept utxoupdatepsbt signer enumeratesigners util createmultisig deriveaddresses estimatesmartfee getdescriptorinfo getindexinfo signmessagewithprivkey validateaddress verifymessage wallet abandontransaction abortrescan addmultisigaddress backupwallet bumpfee createwallet dumpprivkey dumpwallet encryptwallet getaddressesbylabel getaddressinfo getbalance getbalances getnewaddress getrawchangeaddress getreceivedbyaddress getreceivedbylabel gettransaction getunconfirmedbalance getwalletinfo importaddress importdescriptors importmulti importprivkey importprunedfunds importpubkey importwallet keypoolrefill listaddressgroupings listdescriptors listlabels listlockunspent listreceivedbyaddress listreceivedbylabel listsinceblock listtransactions listunspent listwalletdir listwallets loadwallet lockunspent migratewallet newkeypool psbtbumpfee removeprunedfunds rescanblockchain restorewallet send sendall sendmany sendtoaddress sethdseed setlabel settxfee setwalletflag signmessage signrawtransactionwithwallet simulaterawtransaction unloadwallet upgradewallet walletcreatefundedpsbt walletdisplayaddress walletlock walletpassphrase walletpassphrasechange walletprocesspsbt zmq getzmqnotifications getaddressinfo "address" Return information about the given bitcoin address. Some of the information will only be present if the address is in the active wallet. Arguments: 1. address (string, required) The bitcoin address for which to get information. Result: { (json object) "address" : "str", (string) The bitcoin address validated. "scriptPubKey" : "hex", (string) The hex-encoded scriptPubKey generated by the address. "ismine" : true|false, (boolean) If the address is yours. "iswatchonly" : true|false, (boolean) If the address is watchonly. "solvable" : true|false, (boolean) If we know how to spend coins sent to this address, ignoring the possible lack of private keys. "desc" : "str", (string, optional) A descriptor for spending coins sent to this address (only when solvable). "parent_desc" : "str", (string, optional) The descriptor used to derive this address if this is a descriptor wallet "isscript" : true|false, (boolean) If the key is a script. "ischange" : true|false, (boolean) If the address was used for change output. "iswitness" : true|false, (boolean) If the address is a witness address. "witness_version" : n, (numeric, optional) The version number of the witness program. "witness_program" : "hex", (string, optional) The hex value of the witness program. "script" : "str", (string, optional) The output script type. Only if isscript is true and the redeemscript is known. Possible types: nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata, witness_v0_keyhash, witness_v0_scripthash, witness_unknown. "hex" : "hex", (string, optional) The redeemscript for the p2sh address. "pubkeys" : [ (json array, optional) Array of pubkeys associated with the known redeemscript (only if script is multisig). "str", (string) ... ], "sigsrequired" : n, (numeric, optional) The number of signatures required to spend multisig output (only if script is multisig). "pubkey" : "hex", (string, optional) The hex value of the raw public key for single-key addresses (possibly embedded in P2SH or P2WSH). "embedded" : { (json object, optional) Information about the address embedded in P2SH or P2WSH, if relevant and known. ... Includes all getaddressinfo output fields for the embedded address, excluding metadata (timestamp, hdkeypath, hdseedid) and relation to the wallet (ismine, iswatchonly). }, "iscompressed" : true|false, (boolean, optional) If the pubkey is compressed. "timestamp" : xxx, (numeric, optional) The creation time of the key, if available, expressed in UNIX epoch time. "hdkeypath" : "str", (string, optional) The HD keypath, if the key is HD and available. "hdseedid" : "hex", (string, optional) The Hash160 of the HD seed. "hdmasterfingerprint" : "hex", (string, optional) The fingerprint of the master key. "labels" : [ (json array) Array of labels associated with the address. Currently limited to one label but returned as an array to keep the API stable if multiple labels are enabled in the future. "str", (string) Label name (defaults to ""). ... ] } Examples: > bitcoin-cli getaddressinfo "bc1q09vm5lfy0j5reeulh4x5752q25uqqvz34hufdl" > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getaddressinfo", "params": ["bc1q09vm5lfy0j5reeulh4x5752q25uqqvz34hufdl"]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/