# createSolanaSponsoredTransaction | @account-kit/signer

> Overview of the createSolanaSponsoredTransaction function from @account-kit/signer

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function createSolanaSponsoredTransaction(
  instructions,
  connection,
  policyId,
  address,
): Promise<VersionedTransaction>;
```

Defined in: [account-kit/signer/src/utils/solana.ts:18](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/signer/src/utils/solana.ts#L18)

This function wraps instructions in a sponsored transaction using Alchemy's fee payer service

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `instructions`
      </td>

      <td>
        `TransactionInstruction`\[]
      </td>

      <td>
        The instructions to add sponsorship to
      </td>
    </tr>

    <tr>
      <td>
        `connection`
      </td>

      <td>
        `Connection`
      </td>

      <td>
        The connection to use
      </td>
    </tr>

    <tr>
      <td>
        `policyId`
      </td>

      <td>
        `string`
      </td>

      <td>
        The policy id to use
      </td>
    </tr>

    <tr>
      <td>
        `address`
      </td>

      <td>
        `string`
      </td>

      <td>
        The address to use
      </td>
    </tr>

  </tbody>
</table>

## Returns

`Promise`\<`VersionedTransaction`>

- The sponsored transaction