Bankless Onchain MCP Server

Official

get_source

Retrieve contract source code from specified blockchain networks using address and network parameters, enabling direct access to smart contract data.

Instructions

Gets the source code for a given contract on a specific network

Input Schema

NameRequiredDescriptionDefault
contractYesThe contract address
networkYesThe blockchain network (e.g., "ethereum", "base")

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "contract": { "description": "The contract address", "type": "string" }, "network": { "description": "The blockchain network (e.g., \"ethereum\", \"base\")", "type": "string" } }, "required": [ "network", "contract" ], "type": "object" }
ID: uawv4sbvqj