Validate a Bitcoin address
bitcoin_address_infoValidate and classify one Bitcoin address: valid or not (with the reason), type (P2PKH, P2SH, P2WPKH, P2WSH, P2TR), witness version and scriptPubKey. Paid per call. Price: 2 sats or US$0.002 (USDC) per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addr | Yes | A Bitcoin address to validate | |
| l402 | No | Optional. After paying the Lightning invoice: '<token>:<preimage>'. | |
| pay_with | No | Optional. 'lightning' returns a BOLT11 invoice and a token instead of the x402 payment request. |