Skip to main content

Overview

API subject to change Polls Turnkey for the final result of a previously submitted Ethereum transaction. This function repeatedly calls getSendTransactionStatus until the transaction reaches a terminal state. Terminal states:
  • COMPLETED or INCLUDED → resolves with { txHash }
  • FAILED rejects with an error
Behavior:
  • Queries Turnkey every 500ms.
  • Stops polling automatically when a terminal state is reached.
  • Extracts the canonical on-chain hash via resp.eth.txHash when available.

Package: core

Defined in: clients/core.ts:2866

Parameters

params
PollTransactionStatusParams
required

Response

A successful response returns the following fields:
returns
TGetSendTransactionStatusResponse
required
A promise resolving to { txHash?: string } if successful.