Send native value
Call a contract
With the raw provider
from field is set automatically to the user’s smart account. If you supply a from value, it is ignored.
How gas works in Mini Apps
When your Mini App runs inside the Startale App,eth_sendTransaction is gasless for the user. What happens:
- Context detection. When your page runs inside an iframe, the App SDK uses the Mini App wallet provider, so the request goes to the Startale App host instead of opening a popup.
- Conversion to a UserOperation. The host converts the request into an ERC-4337 UserOperation sent from the user’s smart account.
- Sponsorship. The host attaches its own paymaster. Nothing in your code selects it and nothing in the request carries it. Sponsorship is decided by the host, not by the Mini App.
-
Submission. The host submits the UserOperation to a bundler, which calls
handleOpson the EntryPoint contract. Gas is settled by Startale rather than by the user.
paymasterOptions in your code. See Gas for the caps that apply and how to handle them.
Gas in a standalone application
Outside the Startale App, gas is not sponsored. You configure a paymaster or the user pays. See Gas in a standalone application. For batched calls or atomic multi-step transactions, see Batched calls.Errors
See Errors for the full list.