Skip to main content
Glama

Bankless Onchain MCP Server

Official
by Bankless

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" }

You must be authenticated.

Other Tools from Bankless Onchain MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bankless/onchain-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server