export type AddressType = 'p2pkh' | 'p2sh'; export interface DecodedAddress { prefix: string; type: AddressType; hash: string; } export interface TypeAndHash { type: AddressType; hash: string; }