web3wagmi
← All standards

ERC-7884 Operation Router

DraftERCcreated 2025-01-23

A protocol that enables smart contracts to redirect write operations to external systems.

Authors: Lucas Picollo (@pikonha), Alex Netto (@alextnetto), Nick Johnson (@arachnid)

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

OperationRouter0xa0b7b54e

Functions this standard introduces (1)

0xa0b7b54egetOperationHandler(bytes)view

Custom errors (3)

0xd37a223aFunctionNotSupported()
0x02a34203OperationHandledOnchain(uint256,address)
0x5d324fc4OperationHandledOffchain((string,string,uint64,address),string,(bytes,address,uint256))

What the specification covers

Compare with

Parsed from the canonical specification · discussion