Skip to main content
Send transactions and wait for the final result in a single call. Sync methods are ideal for fast chains where you want immediate confirmation feedback.

Getting Started

1

Import Dependencies

2

Create Relayer Client

To create an API Key, visit the Gelato App and navigate to Relayer > API Keys.
3

Send Sync Transaction

Submit a transaction and wait for the final result:

Parameters

Return Type

The sync method returns a TransactionReceipt directly on success, or throws an error on failure:

Async vs Sync Comparison

Additional Resources