signedExtension method

  1. @override
(String, bool) signedExtension(
  1. String extension,
  2. Map info
)
override

Implementation

@override
(String, bool) signedExtension(String extension, Map info) {
  switch (extension) {
    case 'CheckMortality':
      return (info['era'], true);
    case 'CheckNonce':
      return (info['nonce'], true);
    /*  case 'ChargeAssetTxPayment':
      return ('${info['tip']}${info['assetId']}', true); */
    case 'CheckMetadataHash':
      return ('${info['mode']}', true);
    default:
      return ('', false);
  }
}