function createSolanaSponsoredTransaction(
instructions,
connection,
policyId,
address,
): Promise<VersionedTransaction>;Defined in: account-kit/signer/src/utils/solana.ts:18
This function wraps instructions in a sponsored transaction using Alchemy's fee payer service
| Parameter | Type | Description |
|---|---|---|
|
| The instructions to add sponsorship to |
|
| The connection to use |
|
| The policy id to use |
|
| The address to use |
Promise<VersionedTransaction>
- The sponsored transaction