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 'ChargeTransactionPayment':
      return (info['tip'], true);
    case 'CheckMetadataHash':
      return (info['mode'], true);
    default:
      return ('', false);
  }
}