agentek-eth

by NaniDAO
Verified

getSmartContracts

Retrieve smart contracts for specified blockchain networks using chain ID and query. Supports Solidity, Yul, and Viper languages for Ethereum-based automation and research.

Instructions

Get smart contract for the query

Input Schema

NameRequiredDescriptionDefault
chainYesChain ID for the blockchain network. Supports: 1, 137, 42161, 10, and 8453
languageNoOptional language to query explorer for
qYesQuery to get smart contracts for

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "chain": { "anyOf": [ { "enum": [ "1", "137", "42161", "10", "8453" ], "type": "string" }, { "allOf": [ { "type": "number" }, { "enum": [ "1", "137", "42161", "10", "8453" ], "type": "string" } ] } ], "description": "Chain ID for the blockchain network. Supports: 1, 137, 42161, 10, and 8453" }, "language": { "description": "Optional language to query explorer for", "enum": [ "solidity", "yul", "viper" ], "type": "string" }, "q": { "description": "Query to get smart contracts for", "type": "string" } }, "required": [ "chain", "q" ], "type": "object" }

You must be authenticated.

Other Tools from agentek-eth

Related Tools

ID: embaq2gcce