WalletCapabilitiesResponse dictionary containing:
- Chain identifiers mapped to
WalletCapabilitiesValueobjects - Each
WalletCapabilitiesValueincludes:paymasterService: Information about paymaster supportsupported: Boolean indicating if paymaster service is available
- Chain Support
- Check capabilities per chain before feature-dependent operations
- Handle missing chain capabilities gracefully
- Verify feature support before initiating operations
- Error Handling
- Handle network failures when fetching capabilities
- Verify capability existence before access
- Consider fallback options for unsupported features
- Capability Changes
- Capabilities might change during runtime
- Consider refreshing capabilities periodically
- Don’t cache capabilities for extended periods