@avalabs/avalanchejs
Version:
Avalanche Platform JS Library
22 lines • 976 B
TypeScript
import { BaseTx } from '../avax/baseTx';
import { Codec } from '../codec/codec';
import type { Serializable } from '../common/types';
import { TypeSymbols } from '../constants';
import { Id } from '../fxs/common';
import { L1Validator } from '../fxs/pvm/L1Validator';
import { Bytes } from '../primitives';
import { AbstractSubnetTx } from './abstractSubnetTx';
export declare class ConvertSubnetToL1Tx extends AbstractSubnetTx {
readonly baseTx: BaseTx;
readonly subnetID: Id;
readonly chainID: Id;
readonly address: Bytes;
readonly validators: L1Validator[];
readonly subnetAuth: Serializable;
_type: TypeSymbols;
constructor(baseTx: BaseTx, subnetID: Id, chainID: Id, address: Bytes, validators: L1Validator[], subnetAuth: Serializable);
getSubnetID(): Id;
static fromBytes(bytes: Uint8Array, codec: Codec): [ConvertSubnetToL1Tx, Uint8Array];
toBytes(codec: Codec): Uint8Array;
}
//# sourceMappingURL=convertSubnetToL1Tx.d.ts.map