submitExtrinsic static method

Future<Uint8List> submitExtrinsic(
  1. Provider provider,
  2. Uint8List extrinsic
)

Submits the extrinsic to the chain and returns the hash of the transaction.

Implementation

static Future<Uint8List> submitExtrinsic(
    Provider provider, Uint8List extrinsic) async {
  return await AuthorApi(provider).submitExtrinsic(extrinsic);
}