/** * Satstream API * Satstream API * * OpenAPI spec version: 1.0 * Contact: team@satstream.io * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ /** * * * @export * @interface ValidateAddressResult */ export interface ValidateAddressResult { /** * The bitcoin address validated * * @type {string} * @memberof ValidateAddressResult */ address?: string; /** * Error message, if any * * @type {string} * @memberof ValidateAddressResult */ error?: string; /** * Indices of likely error locations * * @type {Array} * @memberof ValidateAddressResult */ errorLocations?: Array; /** * If the key is a script * * @type {boolean} * @memberof ValidateAddressResult */ isscript?: boolean; /** * If the address is valid or not * * @type {boolean} * @memberof ValidateAddressResult */ isvalid?: boolean; /** * If the address is a witness address * * @type {boolean} * @memberof ValidateAddressResult */ iswitness?: boolean; /** * The hex-encoded scriptPubKey * * @type {string} * @memberof ValidateAddressResult */ scriptPubKey?: string; /** * The hex value of the witness program * * @type {string} * @memberof ValidateAddressResult */ witnessProgram?: string; /** * The version number of the witness program * * @type {number} * @memberof ValidateAddressResult */ witnessVersion?: number; }