Versioned Transactions with Lookup Tables
Address lookup tables (ALTs) allow you to fit more accounts in a single transaction by referencing them via a compact index.Lookup tables are only supported in the Classic SDK via
createTransaction(). The Kit SDK always creates versioned transactions.When to Use Lookup Tables
- Transactions with more than 32 accounts
- DeFi operations involving multiple programs
- Batch operations with repeated addresses
Error Handling
PaymasterError
The SDK throwsPaymasterError for API-related failures:
Common Error Scenarios
Retry Configuration
Configure automatic retries when creating the client:How Retries Work
With the configuration above:- Attempt 1: Immediate
- Attempt 2: After 1 second (1000ms)
- Attempt 3: After 2 seconds (1000ms × 2)
- Attempt 4: After 4 seconds (1000ms × 2 × 2)
Production Recommendations
Sign Without Sending
Sometimes you need to inspect or store a signed transaction before sending:- Classic (web3.js 1.x)
- Kit (web3.js 2.0)
Transaction Message Signing (Kit Only)
The Kit SDK supports signing from a transaction message directly:Serialized Transaction Methods
For low-level control, work directly with serialized bytes:Environment-Specific Configuration
Development
Staging
Production
Next Steps
- Manage Paymasters - Configure limits and settings
- Transaction History - View analytics
- Error Codes - Full error reference

