ContractInputsV3
Everything needed to send the transaction. Call method on contractAddress with
inputs.params, using methodABI.
contractAddressstring
The contract to call.
methodstring
Name of the method to call. Do not hardcode it.
methodABIobject
ABI fragment of method.
inputs object
params[]
Positional arguments for method, in order.
valuestring
msg.value for the call. Non-zero means the input is the chain's native coin.
0 means an ERC-20, which must be approved for contractAddress first.
ContractInputsV3
{
"contractAddress": "string",
"method": "string",
"methodABI": {},
"inputs": {
"params": [
null
],
"value": "string"
}
}