@avalabs/avalanchejs
Version:
Avalanche Platform JS Library
15 lines • 637 B
TypeScript
import { Int } from '../../primitives';
import { Address } from '../common/address';
import { TypeSymbols } from '../../constants';
import type { Codec } from '../../codec';
export declare class PChainOwner {
readonly threshold: Int;
readonly addresses: Address[];
_type: TypeSymbols;
constructor(threshold: Int, addresses: Address[]);
getAddresses(): Address[];
static fromBytes(bytes: Uint8Array, codec: Codec): [PChainOwner, Uint8Array];
toBytes(codec: Codec): Uint8Array;
static fromNative(addresses: readonly Uint8Array[], threshold?: number): PChainOwner;
}
//# sourceMappingURL=pChainOwner.d.ts.map