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

# Sponsored Transactions

### Sponsored Transactions

Sponsored transactions are the ability to pay for another user’s transaction fees. To do this, the Fuse operator must enable the sponsored feature in his project and deposit some funds into the paymaster contract. The SDK provides a middleware to check if the project is sponsored and the amount of funds available for sponsoring.

To use this feature, you must first initialize the SDK with the `withPaymaster` parameter set to `true`.

<PlatformTabs groupId="sdk" activeOptions={["web","flutter"]}>
  <PlatformTabItem value="web">
    ```typescript theme={null}
    import {FuseSDK} from "@fuseio/fusebox-web-sdk";

    const apiKey = "API_KEY";
    const fuseSDK = await FuseSDK.init(apiKey, credentials, {
      withPaymaster: true,
    });
    ```
  </PlatformTabItem>

  <PlatformTabItem value="flutter">
    ```dart theme={null}
    import 'package:fuse_wallet_sdk/fuse_wallet_sdk.dart';
    final apiKey = 'API_KEY';
    final privateKey = EthPrivateKey.fromHex('YOUR_PRIVATE_KEY');
    final fuseSDK = await FuseSDK.init(apiKey, privateKey, withPaymaster: true);
    ```
  </PlatformTabItem>
</PlatformTabs>
