inject method

Future<void> inject()

Injects this

It must be run after sign because it needs result.signature to be set

Implementation

Future<void> inject() async {
  await _catchHttpError<void>(() async {
    if (result.signature == null) throw ArgumentError.notNull('result.signature');

    result.id = await rpcInterface.injectOperation(result.signature!.hexIncludingPayload);
  });
}