← Back to Blog

How to Check Arbitrum Wallet Balance with an AI Agent

Arbitrum is the largest Ethereum Layer 2 by total value locked — home to GMX, Uniswap v3, Camelot, and billions in institutional DeFi capital. Run an AI agent to query wallet balances, monitor DeFi exposure, and perform pre-deal counterparty checks at Ethereum security and L2 cost.

📈
Step 1
Create the Project Folder
Two files inside arbitrum-agent/ — agent.yaml and oe-config.json.
Step 2
Set Your Wallet Address
Add the target wallet to oe-config.json. Free Arbitrum RPC included.
Step 3
Run the Agent
One command — ETH balance on Arbitrum returned immediately.

What You Need


Create the Project Folder

Create a folder called arbitrum-agent/ and add these two files:

arbitrum-agent/
├── SKILL.md         # the portable skill (agentskills.io)
├── agent.yaml       # wires SKILL.md to your connector
└── oe-config.json  # LLM key + Arbitrum RPC + wallet address

The Skill Files

Arbitrum's native gas token is ETH — balances are returned in ETH, not ARB:

SKILL.md
---
name: arbitrum-agent
description: Check Arbitrum wallet balance
license: Apache-2.0
metadata:
  author: Open Enthrium
  version: "1.0"
---

You are a blockchain data agent. Use the tools to fetch data and respond concisely.

## Step 1: Check Balance
Get the ETH balance for the configured wallet address on Arbitrum.
Report the address and balance in ETH. Nothing else.
agent.yaml
name: Arbitrum Agent
description: Check Arbitrum wallet balance
connectors:
  - connection_name: Arbitrum
    connection_type: web3
skills:
  - path: ./
    trigger_type: auto

The Config File

arbitrum-one.publicnode.com is a free, reliable Arbitrum One RPC — no API key or signup:

{
  "llm": {
    "provider": "openai",
    "model": "gpt-4o",
    "apiKey": "sk-..."
  },
  "server": {
    "enabled": false,
    "port": 3333,
    "apiKey": "your-secret-api-key"
  },
  "connectors": [
    {
      "connection_name": "Arbitrum",
      "connection_type": "web3",
      "baseUrl": "https://arbitrum-one.publicnode.com",
      "walletAddress": "0xYOUR_WALLET_ADDRESS"
    }
  ]
}

🔥 Arbitrum One holds more than $15B in TVL. The wallets moving capital through GMX, Uniswap v3, and Camelot are all queryable through the same standard EVM RPC interface — no special API needed.

Download OE Runtime

OE Runtime — Direct Downloads

Run the Agent

From the parent folder containing your skill directory:

MethodBest forDownload
1 npx recommended No install needed — always runs the latest version —
2 Windows .exe Download once, run offline on Windows ⊞ Windows (.exe)
3 macOS binary Download once, run offline on Mac  macOS
4 Linux binary Server deployments, cron jobs, Docker 🐧 Linux
5 API Server integration Call from any app, webhook, or automation pipeline 📮 Postman Collection

1 npx recommended

npx -y @openenthrium/oe-runtime@latest ./arbitrum-agent

2 Windows

oe-runtime-win.exe ./arbitrum-agent

3 macOS

chmod +x oe-runtime-macos
./oe-runtime-macos ./arbitrum-agent

First run blocked? System Settings → Privacy & Security → Allow Anyway.

4 Linux

chmod +x oe-runtime-linux
./oe-runtime-linux ./arbitrum-agent

5 API Server integration

Add a "server" block to oe-config.json, then start with --serve:

{
  "llm": { ... },
  "server": { "enabled": true, "port": 3333, "apiKey": "your-secret-key" },
  "connectors": [ ... ]
}
npx -y @openenthrium/oe-runtime@latest --serve --config oe-config.json

Run with inline YAML:

curl -X POST http://localhost:3333/run \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-secret-key" \
  -d '{"yaml": "...", "params": {}}'

Or run from a file on the server:

curl -X POST http://localhost:3333/run-file \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-secret-key" \
  -d '{"file": "/path/to/agent.yaml", "params": {}}'

Enterprise Use Cases on Arbitrum