Full Client
createX402r() returns a client with all action groups. No type restrictions.
Role Presets
Role presets callcreateX402r() internally and narrow the TypeScript types so autocomplete only shows relevant methods. All three require walletClient.
Config Reference
Action Groups
Groups without their required address are
undefined on the client. Use optional chaining:
Extend
Add custom action groups with.extend():
ERC-8004 plugin
Theerc8004Actions plugin adds identity, reputation, and discovery action groups for on-chain agent identity and reputation:
identity.check()
Verifies an agent’s on-chain identity and optionally fetches their reputation summary in a single call. Both the verification and reputation lookup run in parallel.
Returns
CheckAgentResult:
reviewers or pass an empty array, reputation is null and only on-chain verification runs.
Next steps
Merchant Guide
Accept payments and capture funds.
Deploy Operator
Get the addresses for your client config.
