Synchronous transaction methods wait for the final result instead of returning a task ID. These methods are specifically designed for fast chains and chains with Flashblocks enabled, where transaction confirmation times are minimal.Documentation Index
Fetch the complete documentation index at: https://docs.gelato.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Overview
| Method | Returns | Use Case |
|---|---|---|
sendTransaction | Task ID | Fire and forget, poll status separately |
sendTransactionSync | Final status | Wait for result in one call |
How It Works
- Single Call - Submit transaction and receive final status in one API call
- Built-in Waiting - SDK handles polling internally until transaction completes or times out
- Immediate Feedback - Returns transaction receipt on success, or error details on failure
- Timeout Protection - Configurable timeout prevents indefinite waiting
Code Example
Additional Resources
- Send Sync Transactions How-To - Step-by-step implementation guide
- Tracking Requests - How to track transaction status