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

# Submit and Sponsor Transactions

The Developer SDK can prepare transactions, but your app still needs to submit
them. There are two models:

* send directly through your own RPC path
* sponsor submission through Swig's paymaster route

## Sponsor submission

Use `swig.transactions.sponsor(...)` when your server should hand the signed
transaction to Swig's sponsor path:

<CodeGroup dropdown>
  ```typescript TypeScript theme={null}
  await swig.transactions.sponsor({
    transaction: signed.transaction,
    transactionEncoding: signed.transactionEncoding,
    network: signed.network,
  });
  ```

  ```python Python theme={null}
  from swig_developer_sdk import SponsorSignedTransactionArgs

  await swig.transactions.sponsor(
      SponsorSignedTransactionArgs(
          transaction=signed.transaction,
          transaction_encoding=signed.transaction_encoding,
          network=signed.network,
      )
  )
  ```
</CodeGroup>

The client still signs first when authority signatures are required. Sponsoring
does not replace client authority signing.

## When sponsor submission fits

Use it when:

* your product wants gasless or paymaster-backed flows
* your backend already owns the post-signing submission step
* you want one server-owned path for ordered transaction submission

## Transaction categories still matter

These categories tell you what can go straight to send or sponsor:

* `clientAuthorityTransactions` / `client_authority_transactions` must be
  client-signed first
* `feePayerOnlyTransactions` / `fee_payer_only_transactions` can go straight
  to your fee payer or sponsor path
* `operatorSignedTransactions` / `operator_signed_transactions` are already
  operator-signed and just need final submission handling

## Portal admin vs runtime usage

This page is about runtime submission. If you need to create or manage a
paymaster in the dashboard, use the portal docs:

* [Paymaster](/examples/dev-portal/paymaster-overview)
* [Create Paymaster](/examples/dev-portal/create-paymaster)
* [Manage Paymasters](/examples/dev-portal/manage-paymaster)
