prepareContractCall
Prepares a contract call by resolving the ABI function, parameters and encoded data. Optionally specify other properties such as value or gas price.
Example
Usage with a human-readable method signature:
Usage with explicit gas price and/or value:
Usage with a JSON ABI function object:
Usage with a the ABI defined on the contract:
Passing extra call data to the transaction
Parameters
Returns
A promise that resolves to the prepared transaction.