chain_eip7702_authorization
EIP-7702 authorization builder and checker — Build and check an EIP-7702 (Pectra) set-code authorization so an EOA can delegate to a smart-account contract. Pass delegate (the contract; the zero address clears a delegation) and authority (the EOA, to read its nonce live) or nonce. Returns the RLP tuple, the 0x05-prefixed preimage and the exact signingHash to sign raw, the nonce to use (and nonce+1 if the EOA sends the type-4 tx itself), the delegate's code status and the EOA's current delegation. Add signature (65-byte hex) or r, s, y_parity to verify one: recovers the signer, checks low-s, yParity, signer match and nonce, and returns a ready authorizationList item. Verdict READY_TO_SIGN, VALID, VALID_SIGNATURE, NONCE_USED, NONCE_TOO_HIGH, WRONG_SIGNER, WILL_BE_SKIPPED or INVALID_SIGNATURE. Optional: chain (base default, ethereum, arbitrum, optimism, polygon, avalanche, base-sepolia), any_chain=true for a chain_id 0 (all-chains) authorization. Read-only, nothing is signed or sent. Price: $0.003 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"delegate": "<delegate>",
"authority": "<authority>"
},
"name": "chain_eip7702_authorization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delegate | Yes | 0x63c0c19a282a1B52b07dD5a65b58948A07DAE32B | |
| authority | Yes | 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |