decodeValue

open fun decodeValue(coin: CoinType, input: Array<Byte>): Array<Byte>

* Decodes an Eth ABI value according to a given type.

Return

The serialized data of a `TW.EthereumAbi.Proto.ValueDecodingOutput` proto object.

Parameters

coin

EVM-compatible coin type.

input

The serialized data of `TW.EthereumAbi.Proto.ValueDecodingInput`.