What are Magic Actions?
Magic Actions let you attach one or more call handlers that run automatically on the Solana base layer immediately after an Ephemeral Rollup (ER) commit. Use committed state as inputs to orchestrate multi-step workflows in a single transaction.- State sync: propagate ER changes to base-layer accounts
- Cross-program composition: invoke other programs after commit
- Automated workflows: chain complex operations from one commit
- Event-driven actions: branch logic based on committed state
How it works
- Delegate accounts to an Ephemeral Rollup
- Execute low-latency transactions on Ephemeral Rollup
- Commit to base layer with attached call handlers while staying delegated
- Handlers execute automatically using the freshly committed state