Description - Call a function in an Ethereum smart contract

Runtime Class - com.ibi.agents.XDEthereumCallAgent


Configuration

This action requires a Generics Configuration as well as the following required parameters.

Parameter Groups

 ParameterTypeDescription
*AddressstringThe address of the smart contract to call
*ABI File:stringPath to the Application Binary Interface which defines how to interact with the contract.
*Function:stringName of the function to call in the smart contract
* - denotes required
 ParameterTypeDescription
Amount:stringThe amount of Ether (in wei) you wish to deposit in the smart contract. This value must be 0 if the contract does not accept Ether.
Gas Price:stringGas price in wei
Gas Limit:stringMaximum amount of gas that can be spent
* - denotes required
 ParameterTypeDescription
Sleep Duration:integerTime in milli-seconds between attempts to get the transaction receipt
Number of Attempts:integerNumber of attempts to get the transaction receipt
* - denotes required
 ParameterTypeDescription
Return:stringDetermines what will be the contents of the output document.

Select from one of the following options:
  • Input Document {input}
  • TransactionReceipt as parsed XML {xml}
  • TransactionReceipt as parsed JSON {json}
* - denotes required

Output Events

NameDescription
onFailParseCould not parse a document.
onFailTimeoutThe operation timed out.
onFailOperationCould not perform the operation requested.