getFunctionSignature

Get function signature from Ethereum ABI json

Return

the function type signature, of the form "baz(int32,uint256)", null if the abi is invalid.

Parameters

abi

The function ABI json string, for example: {"inputs":[{"internalType":"bool","name":"arg1","type":"bool"}],"name":"fun1","outputs":[],"stateMutability":"nonpayable","type":"function"}