API shape
Swig’s backend services are defined as protobuf services and exposed over REST through gRPC JSON transcoding. The REST paths in this section come from the backendgoogle.api.http annotations.
Start here
Authentication
API keys, JSON encoding, and request conventions
Transactions
Prepare wallet creation, transfers, swaps, and recovery transactions
Wallets
Lookup Swigs and inspect balances, roles, policies, and token history
Paymaster
Sign, sponsor, and check paymaster balances
Identity
Identity provider login, OTP, passkeys, invites, and role operations
Ramp
Quote ramp flows, create sessions, and read ramp transaction state
API groups
| Group | Use it for |
|---|---|
| Transaction API | Preparing unsigned or partially signed Solana transactions for Swig wallet flows |
| Wallet API | Reading Swig wallet state, policies, balances, roles, and token history |
| Paymaster API | Signing or sponsoring transactions and checking paymaster balances |
| Identity API | Starting login flows, OTP/passkey flows, invites, and role operations |
| Ramp API | Creating fiat ramp quotes, sessions, and transaction-history views |

