UNPKG

@avalanche-sdk/interchain

Version:
22 lines 810 B
import { pvmSerial } from "@avalabs/avalanchejs"; /** * Parses a Warp signed message from a hex string. * * @param warpMsgHex - The hex string representing the signed message. * @returns The parsed WarpSignedMessage instance. {@link WarpMessage} */ export declare function parseWarpMessage(warpMsgHex: string): WarpMessage; /** * WarpSignedMessage class provides utility methods to build * and parse signed warp message from hex strings or values, and * access its properties. */ export declare class WarpMessage extends pvmSerial.warp.WarpMessage { static fromHex(warpMsgHex: string): WarpMessage; toHex(): string; /** * Do not use this method directly. */ static fromBytes(_bytes: never, _codec: never): [WarpMessage, Uint8Array]; } //# sourceMappingURL=warpMessage.d.ts.map