Overview
By default, Smart Account Kit submits transactions directly via the Stellar RPC. Configure arelayerUrl to route submissions through a relayer proxy that sponsors fees - making your app effectively gasless for end users.
Setup
transfer(), signAndSubmit(), and executeAndSubmit() calls automatically route through the relayer.
Bypassing the Relayer
To use RPC directly for a specific operation:Relayer Protocol
The relayer proxy must accept POST requests with one of two formats: ForinvokeHostFunction flows (func + auth):
Using RelayerClient Directly
Access the relayer client directly viakit.relayer: