Glitter EVM Poller class. Implements the GlitterPoller interface.

Hierarchy

  • GlitterEVMPoller

Implements

Constructors

Properties

apiKey: undefined | string
apiURL: undefined | string
connect: undefined | EvmConnect
cursors: Record<BridgeType, Cursor[]>

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

network: BridgeNetworks

Accessors

Methods

  • Parses a transaction ID using the EvmV2Parser.

    Returns

    A promise that resolves to the parsed PartialBridgeTxn or undefined if not found.

    Parameters

    • sdkServer: GlitterSDKServer

      The Glitter SDK server instance.

    • txnID: string

      The ID of the transaction to parse.

    • type: BridgeType

      The type of the bridge.

    Returns Promise<undefined | PartialTxn>

Generated using TypeDoc