ExtrinsicPayload constructor

const ExtrinsicPayload({
  1. required Uint8List signer,
  2. required Uint8List method,
  3. required Uint8List signature,
  4. required int eraPeriod,
  5. required int blockNumber,
  6. required int nonce,
  7. required dynamic tip,
  8. Map<String, dynamic> customSignedExtensions = const <String, dynamic>{},
})

Create a new instance of ExtrinsicPayload

For adding assetId or other custom signedExtensions to the payload, use customSignedExtensions with key 'assetId' with its mapped value.

Implementation

const ExtrinsicPayload({
  required this.signer,
  required super.method,
  required this.signature,
  required super.eraPeriod,
  required super.blockNumber,
  required super.nonce,
  required super.tip,
  super.customSignedExtensions,
});