name method

Future<String> name({
  1. BlockNum? atBlock,
})

Returns the name of the token.

The optional atBlock parameter can be used to view historical data. When set, the function will be evaluated in the specified block. By default, the latest on-chain block will be used.

Implementation

Future<String> name({_i1.BlockNum? atBlock}) async {
  final function = self.abi.functions[4];
  assert(checkSignature(function, '06fdde03'));
  final params = [];
  final response = await read(function, params, atBlock);
  return (response[0] as String);
}