Skip to content
BaseHub by wbnns Updated

Reference for Agents on Base

Reference for Agents on Base

BaseHub

Append .md to any doc URL for raw Markdown. The endpoints below are agent-targeted feeds.

What's new

Full changelog
  • Site

    Added a Builder Codes integration guide

    Builder Codes attribute onchain activity to an app, wallet, or agent through an ERC-8021 calldata suffix. The guide covers Wagmi and Viem client setup, the wallet-side dataSuffix capability, and the agent registration API.

  • Site

    Added the B20 invariants and conformance tests

    Thirty-six normative guarantees the precompiles hold to, plus the fifty-three scenarios that exercise them. Covers policy gating, role renunciation, supply caps, pauses, permit, and deterministic factory addresses.

  • Network

    Public Base RPC endpoints are HTTP only

    No WebSocket transport is offered on mainnet.base.org or sepolia.base.org, so eth_subscribe and the newHeads and logs streams are unavailable. Subscription clients need a WebSocket-capable provider.

  • Site

    Deploy guide moved to Base's Foundry build

    Stock forge and cast abort with call to non-contract address against Base precompiles. The guide now installs base-forge, base-cast, and base-anvil, which register those addresses.

  • Network

    Node providers page retired for the Base Services Hub

    Base deleted its standalone node providers page and pointed all eleven references at one directory covering RPC, explorers, wallets, and tooling. The RPC breakdown stays on BaseHub.

Introduction

Why Base, how to connect, and how to deploy your first contract.

Network

Contracts, bridges, fees, faucets, finality, and chain differences.

API reference

Every JSON-RPC method on Base, with parameters and examples.

Flashblocks

The 200ms preconfirmation protocol — overview, integration, and spec.

Run a node

Build, deploy, and operate a Base node — Docker, config, monitoring.

Architecture & crates

System design and seventy-plus Rust crates inside base/base.

Connect

Talk to Base in one line

Mainnet and Sepolia public endpoints, ready for any RPC client.

cast block-number --rpc-url https://mainnet.base.org
Stream Flashblocks

Subscribe to 200ms preconfirmations

WebSocket stream of mini-blocks delivered five times per slot.

wscat -c wss://mainnet.base.org/flashblocks