Sponsor a Solana transaction via Grid API
Sponsors a Solana transaction using the Grid API by Squads. The Grid API replaces the fee payer with a sponsored account so users don’t need SOL for gas. Only available for environments with SVM gas sponsorship enabled.
POST
Sponsor a Solana transaction via Grid API
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the environment
Required string length:
36Pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Example:
"95b11417-f18f-457f-8804-68e361f9164f"
Body
application/json
Request to sponsor a Solana transaction via Grid API
Base64 encoded unsigned Solana transaction (versioned transaction format)
Pattern:
^[A-Za-z0-9+/]+={0,2}$Response
Sponsored transaction
Response containing the sponsored Solana transaction
Base64 encoded transaction with Grid as the fee payer
Previous
Sponsor an EVM transaction via gasless relayRelays an EVM transaction through a gasless relayer so the user pays no gas.
Requires EVM gas sponsorship enabled for the environment.
Returns a request ID for tracking the relay status.
Next
Sponsor a Solana transaction via Grid API