UNPKG

o3-dapi-ont

Version:
15 lines (12 loc) 349 B
import { sendMessage } from '../../messaging'; import { Command } from '../../constants'; import { Signature } from './common'; interface SignMessageHashInput { messageHash: string; } export function signMessageHash(data: SignMessageHashInput): Promise<Signature> { return sendMessage({ command: Command.signMessageHash, data, }); }