Glitter Tron Poller class. Implements the GlitterPoller interface.

Hierarchy

  • GlitterTronPoller

Implements

Constructors

Properties

cursors: Record<BridgeType, Cursor[]>

Cursors object for tracking transaction cursors. The keys represent BridgeTypes and the values are arrays of Cursor objects.

network: BridgeNetworks = BridgeNetworks.TRON

Accessors

Methods

  • Parses the transaction ID and returns the partial bridge transaction.

    Async

    Returns

    A promise that resolves to the parsed partial bridge transaction or undefined.

    Parameters

    • sdkServer: GlitterSDKServer

      The Glitter SDK server instance.

    • txnID: string

      The transaction ID.

    • type: BridgeType

      The bridge type.

    Returns Promise<undefined | PartialTxn>

Generated using TypeDoc