@roochnetwork/rooch-sdk
Version:
14 lines (13 loc) • 391 B
TypeScript
import { Bytes } from '../types/index.js';
export declare const ROOCH_BECH32_PREFIX = "rooch";
export declare const ROOCH_ADDRESS_LENGTH = 32;
export declare abstract class Address {
protected rawAddress: string;
constructor(input: string);
abstract toBytes(): Bytes;
toStr(): string;
toShortStr(shortOpt?: {
start: number;
end: number;
}): string;
}