Synchronous Send Txn extends the standard Ethereum JSON-RPC interface with a powerful new method: eth_sendRawTransactionSync
. Unlike the standard
eth_sendRawTransaction
that immediately returns just a transaction hash, this add-on waits for the transaction to be mined and returns the complete transaction receipt.
🚀 Synchronous Transaction Processing
- Eliminates the need for manual polling of transaction receipts
- Automatically waits up to 60 seconds for transaction confirmation
- Returns the full transaction receipt in standard
eth_getTransactionReceipt
format
⛓️ Full L2 Compatibility
- Base Network: Includes L1 fee breakdown (
l1Fee
,l1GasUsed
,l1GasPrice
) - Optimism & Arbitrum: Supports L2-specific receipt fields
- Works seamlessly with standard receipts
🛡️ Robust Error Handling
- Proper JSON-RPC error responses for timeouts and failures
- Validates raw transaction format before broadcasting
- Graceful handling of network connectivity issues
🧩 Use Cases
- DApp Backends: Simplify transaction workflows by getting receipts in a single call
- Trading Bots: Immediate confirmation of trade execution without polling
- Payment Processing: Synchronous confirmation for financial transactions
- Smart Contract Deployment: Know instantly when contracts are deployed and get the address
💡 Benefits
- Reduced Complexity: One call instead of send + polling loop
- Lower Latency: No need for multiple round trips
- Better UX: Immediate feedback for transaction status
- L2 Optimized: Get complete fee breakdown for Layer 2 networks
Perfect for developers building on modern Ethereum infrastructure who need reliable, synchronous transaction processing with comprehensive L2 support.