Gelato Gasless SDK
The@gelatocloud/gasless SDK provides the simplest integration path for gasless transactions using Gelato Relay.
- Simple transaction relay without smart account or implementing EIP-7702 Smart Account
- Built-in support for sponsored and ERC-20 payment methods
- Automatic gas estimation and transaction polling
Relay API Endpoints
For maximum flexibility or non-JavaScript environments, interact directly with Gelato’s Relay API endpoints.- Language-agnostic integration via standard HTTP requests
- Full control over request/response handling
- Supports sponsored and ERC-20 payment methods
- Useful for backend services, mobile apps, or custom implementations
- Requires manual transaction construction
Code Examples
Throughout this section, code examples are presented in three tabs:- Gasless SDK - Using
@gelatocloud/gaslessfor simple relay transactions - Gasless SDK with 7702 Smart Account - Using
@gelatocloud/gaslesswith EIP-7702 smart account features - API Endpoints - Direct HTTP requests to Gelato’s Relay API