Skip to content

Author API

Reference

submitExtrinsic

Future<Uint8List> submitExtrinsic(Uint8List extrinsic)

Submit a fully formatted extrinsic for block inclusion. The type will be changed to Extrinsic later

submitAndWatchExtrinsic

Future<StreamSubscription<ExtrinsicStatus>> submitAndWatchExtrinsic(
Uint8List extrinsic, Function(ExtrinsicStatus) onData)

Submits and subscribe to watch an extrinsic until unsubscribed.