Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.27 KB

File metadata and controls

13 lines (10 loc) · 1.27 KB
title NodeInterface overview
description Overview of Arbitrum's NodeInterface, a virtual contract at address 0xc8 accessible only via RPCs. Provides gas estimation, proof construction, and other node-level utilities not available onchain.
user_story As a developer, I want to understand what the NodeInterface is so I can use its RPC-only methods for gas estimation and other utilities.
content_type concept
displayed_sidebar arbitrumEssentialsSidebar

The Arbitrum Nitro software includes a special NodeInterface contract available at address 0xc8 that is only accessible via RPCs (it's not actually deployed onchain and thus can't be called by smart contracts). The way it works is that the node uses Geth's InterceptRPCMessage hook to detect messages sent to the address 0xc8, and swaps out the message it's handling before deriving a transaction from it.

The reference page contains information about all methods available in the NodeInterface.