web3wagmi
← All standards

ERC-7947 Account Abstraction Recovery Interface

DraftERCcreated 2025-05-07

Universal mechanism to recover a smart account's access via custom recovery providers.

Author: Artem Chystiakov (@arvolear)

ERC-165 interface ids

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

IAccountRecovery0x59d52f71
IRecoveryProvider0x47510661

Functions this standard introduces (8)

0x180e8d5caddRecoveryProvider(address,bytes)payable
0xe33ec8f4getRecoveryData(address)view
0x1ed13d1brecover(bytes,bytes)
0x15494a7drecoverAccess(bytes,address,bytes)
0xbb76cd3crecoveryProviderAdded(address)view
0xefe4256cremoveRecoveryProvider(address)payable
0x4610b70asubscribe(bytes)payable
0xfcae4484unsubscribe()payable

Events (5)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0x3fc4c1dda4075c5c8417ebfe2ec08abaf3b5051ea626000d9fa4f75cccdd59d3AccessRecovered(bytes)
0xcb04f32e0f8176670722ad5b482ed3ea060316661c09646d47ccc77cf2b85d6bRecoveryProviderAdded(address)
0xe524219e4acfab9c45426a605188269298abf84da45ea0248020f54304522814RecoveryProviderRemoved(address)
0x6e32fa66acf7bc54d58bee249c9b7fa5538cc09283d022f2f974534581a10402AccountSubscribed(address)
0x6d37183569257c17ac7faa5073758483fc3155ec66b01edacd96f1748017175bAccountUnsubscribed(address)

What the specification covers

Compare with

Parsed from the canonical specification · discussion