bitcoind.app
CommandsGuidesContact ↗
Home/Wallet/getaddressinfo
Wallet

getaddressinfo

Return information about the given bitcoin address. Some info requires the address to be in the wallet.

Parameters

addressstringREQUIRED
The bitcoin address

Returns

objectDetailed address information

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"getaddressinfo","params":["bc1q..."]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

{
  "address": "bc1q...",
  "scriptPubKey": "0014...",
  "ismine": true,
  "solvable": true,
  "desc": "wpkh([d34db33f/84'/0'/0'/0/0]02...)#...",
  "iswatchonly": false,
  "isscript": false,
  "iswitness": true,
  "witness_version": 0,
  "witness_program": "751e76e8...",
  "ischange": false,
  "labels": ["payments"]
}
← Previous
getaddressesbylabel
Next →
getbalances

More Wallet Commands

abandontransactioncreatewalletdumpprivkeygetbalancegetnewaddressgettransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗