Gas Sponsorship

Sponsor gas. Keep your users.

Pay gas on behalf of your users so their first transaction, and every one after, just works. There is nothing to buy and nothing to bridge.

100M+transactions sponsored
100+chains
sponsor.ts
import { createSmartAccountClient } from "permissionless"
import { toSafeSmartAccount } from "permissionless/accounts"
import { createPimlicoClient } from "permissionless/clients/pimlico"
import { http, parseEther } from "viem"
import { base } from "viem/chains"

const pimlicoUrl = "https://api.pimlico.io/v2/base/rpc?apikey=API_KEY"
const pimlicoClient = createPimlicoClient({ transport: http(pimlicoUrl) })

const account = await toSafeSmartAccount({
  client: publicClient,
  owners: [owner],
  version: "1.4.1",
})

// Gas is sponsored, so your user never sees a fee
const smartAccountClient = createSmartAccountClient({
  account,
  chain: base,
  bundlerTransport: http(pimlicoUrl),
  paymaster: pimlicoClient,
})

const txHash = await smartAccountClient.sendTransaction({
  to: "0x...",
  value: parseEther("0.1"),
})

Why it matters

Gas fees are a conversion tax

Asking a new user to buy a volatile token before they can touch your product is the single biggest drop-off point in onchain onboarding. Teams that sponsor gas remove that step entirely, so signup to first transaction becomes one motion.

You decide what to sponsor and how much. Your users just see your product working.

1

User signs up

Social login or passkey, and they have never owned crypto.

2

User takes an action

Mint, trade, or send: your app submits it as a smart account transaction.

3

Pimlico sponsors the gas

Our paymaster verifies your policy and pays the fee on-chain.

4

Transaction confirmed

Included in under 2 seconds on L2s. The user saw none of this.

Control

Sponsorship without blank checks

Every sponsorship runs through your policies: cap spend per transaction, per user, or per campaign, and target specific chains or contracts. Change limits in the dashboard and they apply instantly, with no code changes or redeploys.

Explore Sponsorship Policies

sp_onboarding_q3

New-user onboarding

Active
Sponsor first5 transactions / user
Max per transaction$1.00
Max per user$3.00
Campaign budget$5,000.00
ChainsBase, Arbitrum, Optimism
Budget used$1,860 / $5,000

Webhooks

Your rules decide every sponsorship

When dashboard policies aren't enough, Pimlico calls your server before sponsoring and you approve or reject each request in real time. KYC state, fraud signals, allowlists: any check you can code becomes a sponsorship rule.

Read the webhook guide

webhook.ts
// Pimlico calls your endpoint before sponsoring. You decide.
export async function POST(req: Request) {
  const { data } = await req.json()
  const { userOperation, chainId, sponsorshipPolicyId } = data.object

  // Your rules: KYC status, fraud signals, allowlists — anything
  const user = await lookupUser(userOperation.sender)

  return Response.json({
    sponsor: user.verified && !user.flagged,
  })
}

The graduation ramp

Sponsor first, stablecoins after

Sponsorship is the on-ramp, not the bill forever. The pattern most teams run: cover the first transactions under tight caps, then let users pay their own fees from the stablecoins they already hold.

When your caps are hit, users keep transacting on their own balance. One client and one policy engine cover both, so the switch is a config change, not a migration.

Explore ERC20 Gas Sponsorships

1

First transactions are sponsored

New users transact under your policy caps, with no balance needed at all.

2

They fund their account

Stablecoins land in the account, and there is still no native token to buy.

3

The same client switches to ERC-20 gas

Set the token in paymasterContext, and fees come out of the USDC, USDT, or 300+ other tokens they already hold on that chain.

Boosted Sponsorships

Sponsorship at its fastest: 34–43% quicker

When every millisecond of your flow counts, Boosted Sponsorships strip sponsorship down to its fastest form: pre-verified operations with no paymaster data attached, making them 34–43% faster end to end.

You settle gas by monthly invoice instead of per-operation on-chain deduction. Access is granted on request.

Talk to usRead the docs

1

Your app submits a user operation

No paymaster data to fetch and no extra signature round-trips.

2

Pimlico sponsors off-chain

Three RPC calls disappear from the hot path entirely.

3

Settled by invoice

Gas is billed monthly instead of deducted on-chain per operation.

Proven at scale

The engine behind 100M+ sponsored transactions

100M+
transactions sponsored
250M+
total transactions processed
100+
chains supported
<2s
inclusion time on L2s
SOC 2 Type 1 certifiedOFAC sanctions screening24/7 supportAudited by OpenZeppelin & QuantstampCo-authors of ERC-4337, ERC-7677 & ERC-7679

Run it in production

Watch every sponsorship, end to end

Every sponsored operation is traceable in the dashboard from the moment it arrives: received, added to the mempool, submitted, and included on-chain, with millisecond timings and transaction hashes at every step.

When someone asks where a transaction went, you answer in seconds, not by grepping logs.

Track user operation

0xf3523157c238413335e2f5cb6325255d7103272bb7cf221a5779bf4f5840c1ef

Received

2026-06-11 20:01:13.054

Added to Mempool

2026-06-11 20:01:13.054 (+0ms)

Submitted

2026-06-11 20:01:13.341 (+287ms)

Tx Hash: 0x223b701f...

Included Onchain

2026-06-11 20:01:13.590 (+249ms)

Tx Hash: 0x223b701f...

Spend tracking on the dashboard

Every sponsored transaction itemized by policy, chain, and time, so you always know exactly where your gas budget went.

Custom alerts

Set alerts on spend and budget thresholds and get notified before a limit is hit, not after sponsorship stops.

EIP-7702

Gasless for plain EOAs. No migration.

Your users don't have to migrate to a smart account to go gasless. With EIP-7702, Pimlico sponsors transactions straight from existing EOAs, including batched, sponsored calls from external wallets via ERC-5792.

Read the EIP-7702 guide

1

EOA signs an authorization

An ordinary wallet, with no smart contract deployed and no assets moved.

2

Pimlico sponsors and bundles

The paymaster verifies your policy and pays the gas, same as any smart account.

3

Transaction confirmed

The account is unchanged: the user kept their address and their keys.

Works with your stack

Sponsor from every account and signer

Sponsorship plugs in beneath whatever smart account and signer you already chose. Each one below ships with a maintained, step-by-step guide.

Smart accounts

SafeSafe (multiple signers)KernelMetaMask Smart AccountsCoinbase WalletSimple AccountTrust WalletBiconomy NexusAlchemy Light Account

Social login

DynamicPrivyMagicWeb3AuthOpenfortParaParticle NetworkLit Protocol

Passkeys

Passkey (WebAuthn) signerPasskey (WebAuthn) server

Key management

TurnkeyFireblocksDFNS

Sponsor gas on the networks your users are already on

EthereumEthereum
BaseBase
ArbitrumArbitrum
OptimismOptimism
PolygonPolygon
BNB ChainBNB Chain
AvalancheAvalanche

Frequently asked questions

How am I billed for sponsored gas?

Pimlico fronts the gas on-chain and bills you the actual cost plus a 10% surcharge on mainnet (none on testnets). You see every sponsored transaction itemized in the dashboard, and Enterprise plans get lower pre-negotiated rates.

Full pricing details
Can I control how much I sponsor?

Yes. Sponsorship policies let you cap spend per transaction, per user, and per campaign, so a viral day never becomes a runaway bill. Policies are configured in the dashboard and apply instantly without redeploying.

Which chains does this work on?

Gas sponsorship works on all 100+ chains Pimlico supports, including Ethereum, Base, Arbitrum, Optimism, Polygon, and Gnosis. If you need a chain we have not launched yet, talk to us. We partner with new chains continuously.

Partner with us on gas
Do my users need a special wallet?

No. Every major smart account works out of the box, including Safe, Kernel, MetaMask Smart Accounts, and Coinbase Wallet. With EIP-7702, plain EOAs get sponsored transactions too, no migration required. If you are starting fresh, permissionless.js creates accounts in a few lines.

Start sponsoring gas in minutes

Free on testnets, pay-as-you-go in production. Or talk to us about enterprise rates and ecosystem programs.