EIP-5792 defines a standard for smart contract wallets that introduced new JSON-RPC methods. These methods allow
batched, gas-sponsored, and conditional transactions through a simple interface.These endpoints make it easier for dapps and wallets to interact with smart accounts without needing to understand account abstraction internals like ERC-4337.EIP-5792 introduced the following functions:
As of 04/2025 EIP-5792 is still rolling out, and you can find a list of wallets that support it here.The example below show how to handle wallet_getCapabilities for atomic (batch transactions) and paymaster support, and sendCalls with for a batched transaction.