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

# Paymaster usage

Sponsored Transactions are an important part of Account Abstraction.

When creating a batch of transacions to send via a paymaster and have them sponsored,
you first must get an api key to do so, details of this can be found [here](/arka/intro).

Then when using the [Etherspot Batches tag](/transaction-kit/components/EtherspotBatches)
we can add paymaster values like so:

```javascript theme={null}
<EtherspotBatches
paymaster={{
    url: "https://arka.etherspot.io",
    api_key: "etherspot_public_key",
    context: { mode: "sponsor" }
}}
>
</EtherspotBatches>
```

If the address is whitelisted with the paymaster for this api\_key, then the
transaction will be sponsored. You can learn more about Arka API calls [here](/arka/api-calls/whitelist-an-address).
