validateaddress | Bitcoin

The validateaddress method checks if a given Bitcoin address is valid and provides detailed information about it. This includes whether the address is valid, its scriptPubKey, if it belongs to the wallet, and more.

👍

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • address (required): The Bitcoin address to validate.

Response

  • result — an object containing various details about the address, such as its validity, ownership, script type, associated public key, and more.
  • error — an object containing an error message if an error occurred, otherwise null.
  • id — an integer representing the ID of the request.

Use case

The validateaddress method is useful for verifying the validity of a Bitcoin address before sending transactions. It can also provide wallet-related information for addresses, aiding in wallet management and transaction preparation.

Try the validateaddress RPC method yourself

Language
Click Try It! to start a request and see the response here!