Function poll

  • Wait for a transaction to be 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>>

    The transaction as it was mined

Generated using TypeDoc