TRANSACTION LIFECYCLE
Submit to the sidecar
Send a signed frame transaction through the gateway’s standard alternative-mempool path. Get the expected transaction hash without silently retrying writes.
API
client.sendFrameTransaction({ transaction })Usage
TYPESCRIPTsubmit.ts
const hash = await client.sendFrameTransaction({ transaction: signed,});// A submission hash is not a receipt.const receipt = await client.waitForFrameReceipt({ hash, expectedFrameCount: 2,});Examples use the configured client from Create a client.
Parameters
| Name | Type | Description |
|---|---|---|
transaction | FrameTx | A signed frame transaction for the configured chain. |
Returns
Promise<Hex> — the transaction hash acknowledged by the gateway.
Behavior to know
- This action uses eth_sendFrameTransaction and the upstream toWire conversion.
- An RPC timeout can occur after acceptance. Inspect error.context.transactionHash before trying again.