addressToH160 static method

String addressToH160(
  1. String address
)

Implementation

static String addressToH160(String address) {
  final decoded = base58.decode(address);
  final snipped = decoded.sublist(1, decoded.length - 4);
  //return [for (final x in snipped) x.toRadixString(16)].join();
  return snipped.toHex();
}