Skip to content
Eden Engine

Verified Contract ABI from the Blockscout Explorer

blockscout/contract-abi

The ABI of a verified smart contract on a chain's Blockscout explorer, with its name, language, compiler version and proxy type. The ABI is cut after about 20,000 characters (abi_truncated says so). An unverified contract answers is_verified false with no ABI. Read from the chain's public Blockscout explorer, which offers no SLA and can be slow, throttled or retire its keyless API. Served by Eden Engine; not an official product of Blockscout or of any chain.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

Blockscout

Chain data from the public Blockscout explorer of the chain you name (https://www.blockscout.com). Served by Eden Engine; not an official product of Blockscout or of any chain.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "blockscout/contract-abi" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "blockscout/contract-abi" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "blockscout/contract-abi", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "blockscout/contract-abi", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "chain",
    "address"
  ],
  "properties": {
    "chain": {
      "enum": [
        "ethereum",
        "celo",
        "ethereum-classic",
        "gnosis",
        "optimism",
        "scroll",
        "zksync-era",
        "unichain",
        "soneium",
        "neon",
        "rootstock",
        "arbitrum-nova",
        "astar",
        "camp",
        "creditcoin",
        "eden",
        "filecoin",
        "hashkey",
        "zilliqa",
        "kite",
        "shibarium",
        "data-network",
        "lisk",
        "mode",
        "ronin",
        "tac",
        "flow-evm"
      ],
      "type": "string",
      "description": "chain slug: the Blockscout explorer of that chain answers (ethereum, gnosis, scroll, lisk, mode, ronin, ...)"
    },
    "address": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "A 20-byte account or contract address: 0x followed by 40 hex digits."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "is_verified",
    "name",
    "language",
    "compiler_version",
    "proxy_type",
    "abi",
    "abi_entries",
    "abi_truncated"
  ],
  "properties": {
    "abi": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "type": [
              "string",
              "null"
            ]
          },
          "inputs": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "name",
                "type"
              ],
              "properties": {
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "indexed": {
                  "type": "boolean"
                },
                "components": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "name",
                      "type"
                    ],
                    "properties": {
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "components": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "name",
                            "type"
                          ],
                          "properties": {
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "type": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "components": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "name",
                                  "type"
                                ],
                                "properties": {
                                  "name": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "type": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "internalType": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                }
                              }
                            },
                            "internalType": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        }
                      },
                      "internalType": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  }
                },
                "internalType": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "outputs": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "name",
                "type"
              ],
              "properties": {
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "components": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "name",
                      "type"
                    ],
                    "properties": {
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "components": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "name",
                            "type"
                          ],
                          "properties": {
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "type": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "internalType": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          }
                        }
                      },
                      "internalType": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  }
                },
                "internalType": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "payable": {
            "type": "boolean"
          },
          "constant": {
            "type": "boolean"
          },
          "anonymous": {
            "type": "boolean"
          },
          "stateMutability": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "language": {
      "type": [
        "string",
        "null"
      ]
    },
    "proxy_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "abi_entries": {
      "type": [
        "number",
        "null"
      ]
    },
    "is_verified": {
      "type": "boolean"
    },
    "abi_truncated": {
      "type": "boolean"
    },
    "compiler_version": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "description": "The shaped answer of one Blockscout explorer (the same fields on every chain; null where a chain has none).",
  "additionalProperties": false
}