home / safety / eip-7702-authorization-toollocal
EIP-7702 Authorization and Delegation Checker
Build the hash an EIP-7702 authorisation signs, or check whether a wallet's code delegates to a contract.
eip-7702-authorization-toolready · runs in this browser
Runs locally in your browser. Nothing you type is sent anywhere.
safety tools · free · runs in your browser · no sign-up · no wallet
01 // about this tool
Since the Pectra upgrade, a normal wallet can sign an authorisation that makes it run a contract's code. That is useful for smart accounts and dangerous if a phishing site asks for it. This builds the exact hash, or reads a wallet's code to see if it delegates.
02 // how to use it
- Enter the chain ID, contract and nonce, or paste an account's code from eth_getCode.
- Press Run.
- Never sign an authorisation you did not expect.
03 // faq
What does chain ID 0 mean?
The authorisation works on every chain, which makes it more dangerous.
How do I undo a delegation?
Sign a new authorisation to the zero address.