Skip to main content
The Transaction API prepares Solana transactions for Swig wallet creation, transfers, swaps, and recovery. It does not replace required client authority signatures; responses include signature requests when the client must sign.

Auth

Use an API key:

Common request fields

Prepared transaction response

Most endpoints return a prepared transaction or a response containing prepared transactions.

Prepare a batch

POST /transaction/prepare/batch batches one or more supported operations for an existing Swig.

Prepare custom instructions

POST /transaction/prepare/custom builds one prepared Swig transaction from the Solana instructions supplied by the application.
The response is prepared only. The application still supplies any requested client authority signature and chooses direct or sponsored submission.

Create a wallet

POST /transaction/wallet/create
If policyId is omitted, initialUser is required and the API creates a no-recovery wallet policy for the caller’s organization.

Transfer SOL

POST /transaction/transfer/sol

Transfer SPL token

POST /transaction/transfer/spl-token

Jupiter swap

POST /transaction/swap/jupiter

Recovery

Recovery endpoints prepare transactions for the guardian flow.