ABI snippets with examples
Each smart contract exposes ABIs for direct use in Web3 apps and agents.
AutomationRegistry ABI Fragment
[
{
"name": "registerTask",
"type": "function",
"inputs": [
{ "name": "condition", "type": "bytes" },
{ "name": "action", "type": "bytes" }
],
"outputs": [
{ "name": "taskId", "type": "uint256" }
]
}
]
ethers.js Example Usage:
const registry = new ethers.Contract(REGISTRY_ADDRESS, abi, signer);
const tx = await registry.registerTask(conditionBytes, actionBytes);
Last updated