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<int>
.
Parameters:
- addr: The Filecoin address to decode as a string.
Returns:
A List<int>
representing the decoded Filecoin address
Implementation
@override
List<int> decodeAddr(String addr, [Map<String, dynamic> kwargs = const {}]) {
return _FilAddrUtils.decodeAddr(addr, FillAddrTypes.secp256k1);
}