ETHAddress.fromBytes constructor

ETHAddress.fromBytes(
  1. List<int> addrBytes
)

Creates an ETHAddress instance from a bytes representing the address.

Implementation

factory ETHAddress.fromBytes(List<int> addrBytes) {
  return ETHAddress(BytesUtils.toHexString(addrBytes, prefix: "0x"));
}