Syntax:
com.ibi.agents.XDEthereumCallAgent
iIT Service Object:
format: Ethereum Call Agent
Description: Calls a function in an Ethereum smart contract.
Parameters:
|
Parameter |
Description |
|---|---|
|
Client Address * |
The URL to the Ethereum client. |
|
Wallet File * |
The path to the wallet file containing the account credentials. |
|
Password * |
The password to read the wallet file. |
|
Gas Price |
The gas price in wei. |
|
Gas Limit |
The maximum amount of gas that can be spent. |
|
Smart Contract Address * |
The address of the smart contract to call. |
|
Value |
The amount of Ether (in wei) you wish to deposit in the smart contract (if the function is payable). |
|
ABI File * |
The path to the smart contract ABI file. |
|
Function * |
The name of the function to call in the smart contract. |
|
Sleep Duration |
the time in milli-seconds between attempts to get the transaction receipt. |
|
Number of Attempts |
The number of attempts to get the transaction receipt. |
|
Return |
Determines the contents of the output document. |
Edges:
The following table lists the available Line Edges for the Ethereum Call Agent Service (com.ibi.agents.XDEthereumCallAgent).
|
Line Edge |
Description |
|---|---|
|
OnError |
An exception occurred during execution. |
|
OnSuccess |
The operation was successful. |
|
OnFailure |
A fail condition occurred during execution. |
|
success |
The operation was successful. |
|
fail_parse |
Could not parse a document. |
|
fail_timeout |
The operation timed out. |
|
fail_operation |
Could not perform the operation requested. |