ethereum

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.
Description - Transfer Ether from one Ethereum account to another
 
Runtime Class - com.ibi.agents.XDEthereumTransferAgent

 

Configuration

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

Parameter Groups

  Parameter Type Description
* Wallet: string Destination account where the funds will be deposited
* Amount: string The amount of Ether (in wei) you wish to send to deposit to the specified wallet.
* - denotes required
  Parameter Type Description
  Gas Price: string Gas price in wei
  Gas Limit: string Maximum amount of gas that can be spent
* - denotes required
  Parameter Type Description
  Sleep Duration: integer Time in milli-seconds between attempts to get the transaction receipt
  Number of Attempts: integer Number of attempts to get the transaction receipt
* - denotes required
  Parameter Type Description
  Return: string Determines 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

 

Name Description
onFailParse Could not parse a document.
FailTimeout The operation timed out.
onFailOperation Could not perform the operation requested.
Description - Deploy a new Ethereum smart contract

Runtime Class - com.ibi.agents.XDEthereumDeployAgent


Configuration

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

Parameter Groups

 ParameterTypeDescription
*ABI File:stringPath to the Application Binary Interface which defines how to interact with the contract.
*Binary File:stringPath to the compiled contract binary file.
* - 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.
FailTimeoutThe operation timed out.
onFailOperationCould not perform the operation requested.
Description - Call a constant function to query the state of an Ethereum smart contract
 
Runtime Class - com.ibi.agents.XDEthereumCallConstantAgent

 

Configuration

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

Parameter Groups

  Parameter Type Description
* Address string The address of the smart contract to call
* ABI File: string Path to the Application Binary Interface which defines how to interact with the contract.
* Function string Name of the function to call in the smart contract
* - denotes required
  Parameter Type Description
  Format: string Syntax of the output document holding the function return parameters

Select from one of the following options:
  • JSON {json} - JSON
  • XML {xml} - XML
* - denotes required

 

Output Events

 

Name Description
onFailParse Could not parse a document.
onFailOperation Could not perform the operation requested.