Maksym
@maksymsherman
Is there a way to differentiate between account abstracted accounts/contracts and EOA-only accounts on-chain?
2 replies
0 recast
0 reaction
Adam Hodges 🔵-'
@hodges.eth
You can use eth_getCode to see if an account is a smart contract. It would be an implementation detail of the smart contract if it was 4337-compatible, so it's a little harder to discern if it's account abstracted. You could index userops/check the logs for the entrypoint contract?
1 reply
0 recast
0 reaction
Maksym
@maksymsherman
Thank you!
0 reply
0 recast
0 reaction