ethBlockTimestamp- The Ethereum timestamp in Unix epoch nanoseconds to search for corresponding block.
ethBlockNumber- The Ethereum block number to get the block's timestamp.
callin ethereum - we do not perform transactions from within our blockchain, mainly due to response time and finality considerations.
contractAddress- The Ethereum contract address with a 0x prefix
jsonAbi- The ABI of the call, as a JSON string
methodName- The method to call in the contract
out- The result of the contract call - this needs to be a pointer to the expected return value/struct, the struct members need to be defined as PascalCase style, see examples below
args- The variadic parameter list for the method you are calling on Ethereum
getValueswe use the following code in our Orbs contract:
ethContractAddress- The Ethereum contract address with a 0x prefix
jsonAbi- The ABI of the contract with the event, as a JSON string
ethTxHash- The Ethereum transaction address with a 0x prefix
eventName- The event to filter by
out- The event data, this needs to be a pointer to the expected return value/struct, the struct members need to be defined as PascalCase style. See an example below.
ethBlockNumber- The block number of the log requested
ethTxIndex- The transaction index in the block
GetTransactionLog()for the following event ABI: