Skip to main content
There are two ways to integrate Gelato Turbo Relayer into your application. Choose the approach that best fits your development workflow and requirements.

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
npm install @gelatocloud/gasless

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/gasless for simple relay transactions
  • Gasless SDK with 7702 Smart Account - Using @gelatocloud/gasless with EIP-7702 smart account features
  • API Endpoints - Direct HTTP requests to Gelato’s Relay API