Skip to content
LangChain

api.onesource.io for LangChain

network.moonbeam.next/api-onesource-io

ERC20 token balance for any Ethereum wallet - USDC, USDT, DAI, or any token - via balanceOf (eth_cal

client:LangChain transport:streamable-http tools:5

Install api.onesource.io in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "api-onesource-io": {
            "transport": "streamable_http",
            "url": "https://next.moonbeam.network/api/acp/x402/seller/api-onesource-io/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

What LangChain can do once it is connected

api.onesource.io in other clients