Function poll

  • Wait for a transaction to be mined

    Returns

    The transaction as it was mined

    Parameters

    • th: `th_${string}`

      The hash of transaction to poll

    • options: { blocks?: number; interval?: number; onNode: Node } & { _expectedMineRate?: number; _maxPollInterval?: number; _microBlockCycle?: number }

      Options

    Returns Promise<TransformNodeType<SignedTx>>

Generated using TypeDoc