UNPKG

@avalabs/avalanchejs

Version:
14 lines 576 B
import type { Codec } from '../../codec'; import { TypeSymbols } from '../../constants'; import { Id } from '../../fxs/common'; import { Bytes, Int } from '../../primitives'; export declare class WarpUnsignedMessage { readonly networkId: Int; readonly sourceChainId: Id; readonly payload: Bytes; _type: TypeSymbols; constructor(networkId: Int, sourceChainId: Id, payload: Bytes); static fromBytes(bytes: Uint8Array, codec: Codec): [WarpUnsignedMessage, Uint8Array]; toBytes(codec: Codec): Uint8Array; } //# sourceMappingURL=unsignedMessage.d.ts.map