Onchain MCP
未认领Bringing the bankless onchain API to MCP
安装
npx @bankless/onchain-mcp工具(16 个)
addresses
(array, required): List of contract addresses to filter events
arguments
(array, required): Event arguments types, each containing:
build_event_topic
contract
(string, required): The contract address
get_events
get_proxy
inputs
(array, required): Input parameters for the method call, each containing:
method
(string, required): The contract method to call
name
(string, required): Event name (e.g., "Transfer(address,address,uint256)")
network
(string, required): The blockchain network (e.g., "ethereum", "polygon")
optionalTopics
(array, optional): Optional additional topics (can include null values)
outputs
(array, required): Expected output types, each containing:
read_contract
topic
(string, required): Primary topic to filter events
type
(string): The type of the input parameter (e.g., "address", "uint256")
value
(any): The value of the input parameter