NODE OPERATORS Overview Running a Chainlink Node Fulfilling Requests Run an Ethereum Client Performing System Maintenance Connecting to a Remote Database Configuration Variables Enabling HTTPS Connections Best Security and Operating Practices Best Practices for Nodes on AWS Miscellaneous
ORACLE JOBS Migrating to v2 Jobs Jobs Cron Direct Request Flux Monitor Keeper Off-chain Reporting Webhook Tasks HTTP Bridge JSON Parse CBOR Parse ETH ABI Decode ETH ABI Decode Log ETH ABI Encode ETH Call ETH Tx Multiply Divide Any Mean Median Mode Sum
ETH Call Task
Makes a non-mutating contract call to the specified contract with the specified data payload.
Parameters
contract
: the address of the contract to call.data
: the data to attach to the call (including the function selector).
Outputs
An ABI-encoded byte array containing the return value of the contract function.
Example
encode_call [type="ethabiencode"
abi="checkUpkeep(bytes data)"
data=<{ "data": $(upkeep_data) }>]
call [type="ethcall"
contract="0xa36085F69e2889c224210F603D836748e7dC0088"
data="$(encode_call)"]
decode_result [type="ethabidecode"
abi="bool upkeepNeeded, bytes performData"
data="$(call)"]
encode_call -> call -> decode_result