changedInput schema / properties / address / description
Previous value: -"Bitcoin address to validate (can be any string)"New value: +"Bitcoin address to validate: 2 to 130 letters and digits (a P2PK public key in hex is 130);\nanything else answers 400, as mempool.space does"
changedInput schema / properties / address / examples
Previous value: -[
- "04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f",
- "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
- "not-a-valid-addr",
- "bc1qinvalid"
-]New value: +[
+ "04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f",
+ "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
+ "notavalidaddr",
+ "bc1qinvalid"
+]
removedOutput schema / $defs / AddrValidation
Removed value: -{
- "properties": {
- "address": {
- "type": [
- "string",
- "null"
- ]
- },
- "error": {
- "type": [
- "string",
- "null"
- ]
- },
- "error_locations": {
- "items": {
- "format": "uint",
- "minimum": 0,
- "type": "integer"
- },
- "type": [
- "array",
- "null"
- ]
- },
- "isscript": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "isvalid": {
- "type": "boolean"
- },
- "iswitness": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "scriptPubKey": {
- "type": [
- "string",
- "null"
- ]
- },
- "witness_program": {
- "type": [
- "string",
- "null"
- ]
- },
- "witness_version": {
- "format": "uint8",
- "maximum": 255,
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- }
- },
- "required": [
- "isvalid"
- ],
- "type": "object"
-}
addedOutput schema / $defs / Address
Added value: +{
+ "type": "string"
+}
addedOutput schema / $defs / AddressValidation
Added value: +{
+ "properties": {
+ "address": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/Address"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "error": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "error_locations": {
+ "items": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "isscript": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "isvalid": {
+ "type": "boolean"
+ },
+ "iswitness": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "scriptPubKey": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/Hex"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "witness_program": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/Hex"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "witness_version": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "isvalid"
+ ],
+ "type": "object"
+}
addedOutput schema / $defs / Hex
Added value: +{
+ "pattern": "^([0-9a-f]{2})*$",
+ "type": "string"
+}
changedOutput schema / $ref
Previous value: -"#/$defs/AddrValidation"New value: +"#/$defs/AddressValidation"