What is ERC-8004?
ERC-8004 defines a standard for on-chain autonomous agents represented as ERC-721 NFTs. Each agent has a unique token ID, an owner wallet, and optional metadata (name, image). Renvoy automatically detects when a payer wallet holds ERC-8004 agent NFTs and links those agents to settlement history. This lets you see which AI agents are making payments through your endpoints.How it works
When a settlement succeeds through Renvoy:- The payer wallet address is extracted from the settlement response
- Renvoy queries 8004scan to check if that wallet owns any ERC-8004 agent NFTs
- If agents are found, they are stored and attached to settlement history entries
- Agent info appears in history responses and in the dashboard UI
Supported networks
Agent detection works on all networks supported by 8004scan:Agents in settlement history
When agents are detected, they appear in theagents array on each settlement entry in history responses:
If the payer wallet has no agents, the
agents field is omitted.
Agents appear in all history endpoints:
GET /api/me/history(merchant, JWT auth)GET /api/v1/agent/history(agent, SIWE auth)GET /admin/history(admin)