Skip to main content
With ZeroDev and Dynamic, you can sponsor gas so your users don’t pay transaction fees. This page is the minimal path to get sponsorship working.

Prerequisites

1. Add the ZeroDev extension

Install the package and add the extension when creating your client. You need the EVM extension as well:
See Adding ZeroDev Extension for details.

2. Send a sponsored transaction

Use sendUserOperation with a wallet account. Sponsorship is on by default when you use a wallet account, so your users don’t pay gas:
That’s the basic flow: enable in dashboard → add extension → call sendUserOperation with a wallet account.

Optional: check if an operation can be sponsored

To show different UI when sponsorship isn’t available (e.g. unsupported network or paymaster limit), use canSponsorUserOperation before sending:
See canSponsorUserOperation for details.

When sponsorship is used

React

In React, set up the extensions at module level and call sendUserOperation inside a button handler:

More

Last modified on September 16, 2026