decodeAddr method
Decodes a Filecoin address of the specified address type.
This method decodes a Filecoin address by calling the internal utility method
_FilAddrUtils.decodeAddr
. It expects the address type to be provided as
FillAddrTypes.secp256k1
. The decoded address is returned as a List
Parameters:
- addr: The Filecoin address to decode as a string.
Returns: A List
Implementation
@override
List<int> decodeAddr(String addr, [Map<String, dynamic> kwargs = const {}]) {
return _FilAddrUtils.decodeAddr(addr, FillAddrTypes.secp256k1);
}