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.

APIclient.sendFrameTransaction({ transaction })

Usage

TYPESCRIPT
submit.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

NameTypeDescription
transactionFrameTxA 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.
NEXT UPRead frame receipts