> ## Documentation Index
> Fetch the complete documentation index at: https://docs.starknet.io/llms.txt
> Use this file to discover all available pages before exploring further.

# AVNU Paymaster

> Paymaster integration for covering transaction gas costs on behalf of users

<img src="https://mintcdn.com/starkware-9575960b/Dy5qvEgMdOdPzC_A/assets/starkzap/avnu-paymaster.png?fit=max&auto=format&n=Dy5qvEgMdOdPzC_A&q=85&s=283a064100fa1f821993f379a5c9eea9" alt="AVNU Paymaster integration hero" width="1024" height="576" data-path="assets/starkzap/avnu-paymaster.png" />

## Overview

[AVNU Paymaster](https://docs.avnu.fi/docs/paymaster/index) enables two modes of gas payment on Starknet:

* **Gasfree**: You sponsor all gas costs for your users
* **Gasless**: Users pay gas in any supported token (USDC, USDT, etc.) instead of STRK

AVNU pioneered paymaster on Starknet and powers 50+ dApps. Starkzap integrates seamlessly with AVNU Paymaster for sponsored transactions.

<Info>
  **For complete setup instructions and detailed configuration**, see the [Paymasters Guide](/build/starkzap/paymasters) which covers both AVNU Paymaster and Cartridge's built-in paymaster with step-by-step instructions, code examples, and best practices.
</Info>

## Quick Reference

### When to Use AVNU Paymaster

* ✅ Using **Privy** strategy for wallet connection
* ✅ Using **Private Key** strategy (server-side)
* ✅ Want to sponsor all gas fees for users (gasfree mode)
* ✅ Want users to pay gas in tokens instead of STRK (gasless mode)

### Basic Configuration

```typescript theme={null}
import { StarkZap } from "starkzap";

const sdk = new StarkZap({
  network: "mainnet",
  paymaster: {
    nodeUrl: "https://starknet.paymaster.avnu.fi",
    headers: { "x-paymaster-api-key": "your-api-key-here" },
  },
});
```

### Supported Tokens (Gasless Mode)

USDC, USDT, DAI, ETH, STRK, WBTC, solvBTC, LBTC, EKUBO, NSTR, LORDS, wstETH, and more.

## Resources

* [Paymasters Guide](/build/starkzap/paymasters) - Complete setup and configuration guide
* [AVNU Paymaster Documentation](https://docs.avnu.fi/docs/paymaster/index)
* [AVNU Portal](https://portal.avnu.fi) - Get your API key
* [Propulsion Program](https://docs.avnu.fi/docs/paymaster/propulsion-program) - Gas subsidies up to \$1M
