Readonlyaddress: stringThe address validated.
Optional ReadonlyisScript?: booleanWhether the address pays to a script.
ReadonlyisValid: trueThe address is valid on the node's chain.
Optional ReadonlyisWitness?: booleanWhether it is a witness address.
ReadonlyscriptPubKey: stringThe output script the address pays to, as hex.
Optional ReadonlywitnessProgram?: stringThe witness program, as hex.
Optional ReadonlywitnessVersion?: numberThe witness version: 2 for P2MR.
Readonlyerror: stringWhy, in the node's words.
ReadonlyerrorLocations: readonly number[]Indices of likely errors in the address, when the node can tell (Bech32 errors); otherwise empty.
ReadonlyisValid: falseThe address is not valid on the node's chain.
validateaddress. A P2MR address reportsisWitness: trueandwitnessVersion: 2.