decodeParams

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

Decode a function input or output data according to a given ABI.

Return

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

Parameters

coin

EVM-compatible coin type.

input

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