decodeContractCall

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

Decode a contract call (function input) according to an ABI json.

Return

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

Parameters

coin

EVM-compatible coin type.

input

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