Bankless Onchain MCP Server provides a middleware between AI models and blockchain data, enabling LLMs to interact with smart contracts, fetch events, and access transaction information across multiple networks. Developed by Bankless Engineering, it implements tools for reading contract state, retrieving proxy implementations, fetching ABIs and source code, filtering event logs, and accessing transaction history. The server requires a Bankless API token for authentication and is particularly valuable for blockchain analysis, smart contract interaction, and on-chain data exploration workflows without requiring users to leave their conversation interface.
Read contract state from a blockchain. Parameters: network (string, required), contract (string, required), method (string, required), inputs (array, required), outputs (array, required). Returns an array of contract call results.
Gets the proxy address for a given network and contract. Parameters: network (string, required), contract (string, required). Returns the implementation address for the proxy contract.
Fetches event logs for a given network and filter criteria. Parameters: network (string, required), addresses (array, required), topic (string, required), optionalTopics (array, optional). Returns an object containing event logs matching the filter criteria.
Builds an event topic signature based on event name and arguments. Parameters: network (string, required), name (string, required), arguments (array, required). Returns a string containing the keccak256 hash of the event signature.
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!