Skip to content
LangChain

arbitrum transaction preflight for LangChain

io.github.naur9n/arbitrum-transaction-preflight

Paid Arbitrum transaction simulation and risk scoring for wallets and AI agents.

client:LangChain transport:stdio runtime:npm

Install arbitrum transaction preflight in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "arbitrum-transaction-preflight": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "arbitrum-mpp-transaction-preflight"],
        }
})

tools = await client.get_tools()

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

arbitrum transaction preflight in other clients