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 ABI Encode Task
Encodes a bytes payload according to ETH ABI encoding, typically in order to perform an ETH Call or an ETH Tx.
Parameters
abi
: a canonical ETH ABI argument string. Should be formatted exactly as in Solidity. Each argument must be named. If a method name is provided, the 4-byte method signature is prepended to the result. Examples:uint256 foo, bytes32 bar, address[] baz
fulfillRequest(bytes32 requestID, uint256 answer)
data
: a map of the values to be encoded. The task will make a best effort at converting values to the appropriate types.
Outputs
A byte array.
Example
encode [type="ethabiencode"
abi="fulfillRequest(bytes32 requestID, uint256 answer)"
data=<{
"requestID": $(foo),
"answer": $(bar)
}>]