import { AnyU8a } from '../../types'; import U8aFixed from '../../codec/U8aFixed'; /** * @name AccountId * @description * A wrapper around an AccountId/PublicKey representation. Since we are dealing with * underlying PublicKeys (32 bytes in length), we extend from U8aFixed which is * just a Uint8Array wrapper with a fixed length. */ export default class AccountId extends U8aFixed { constructor(value?: AnyU8a); static encode(value: Uint8Array): string; private static decodeAccountId; /** * @description Compares the value of the input to see if there is a match */ eq(other?: any): boolean; /** * @description Converts the Object to JSON, typically used for RPC transfers */ toJSON(): string; /** * @description Returns the string representation of the value */ toString(): string; /** * @description Returns the base runtime type name for this instance */ toRawType(): string; }