import { sendMessage } from '../../messaging'; import { Command } from '../../constants'; import { Parameter } from './common'; interface InvokeReadInput { scriptHash: string; operation: string; args?: Parameter[]; network: string; } export function invokeRead(data: InvokeReadInput): Promise { return sendMessage({ command: Command.invokeRead, data, }); }