Algorand Token V1 Parser class.

Hierarchy

  • AlgorandTokenV1Parser

Constructors

Methods

  • Handles a deposit of Algo tokens.

    Returns

    The updated partial transaction object.

    Parameters

    • txn: Record<string, any>

      The transaction object.

    • applicationArgs: any

      The application arguments.

    • partialTxn: PartialTxn

      The partial transaction object.

    Returns PartialTxn

  • Handles a refund of Algo tokens.

    Returns

    The updated partial transaction object.

    Parameters

    • txn: Record<string, any>

      The transaction object.

    • applicationArgs: any

      The application arguments.

    • partialTxn: PartialTxn

      The partial transaction object.

    Returns PartialTxn

  • Handles a release of Algo tokens.

    Returns

    The updated partial transaction object.

    Parameters

    • txn: Record<string, any>

      The transaction object.

    • applicationArgs: any

      The application arguments.

    • partialTxn: PartialTxn

      The partial transaction object.

    Returns PartialTxn

  • Processes a transaction.

    Returns

    A Promise that resolves to the updated partial transaction object.

    Parameters

    • sdkServer: GlitterSDKServer

      The Glitter SDK server instance.

    • txnID: string

      The ID of the transaction.

    • client: undefined | default

      The AlgodClient instance, if available.

    • indexer: undefined | default

      The IndexerClient instance, if available.

    Returns Promise<PartialTxn>

  • Handles a deposit of xSol tokens.

    Returns

    The updated partial transaction object.

    Parameters

    • txn: Record<string, any>

      The transaction object.

    • applicationArgs: any

      The application arguments.

    • partialTxn: PartialTxn

      The partial transaction object.

    Returns PartialTxn

  • Handles a refund of xSol tokens.

    Returns

    The updated partial transaction object.

    Parameters

    • txn: Record<string, any>

      The transaction object.

    • applicationArgs: any

      The application arguments.

    • partialTxn: PartialTxn

      The partial transaction object.

    Returns PartialTxn

  • Handles a release of xSol tokens.

    Returns

    The updated partial transaction object.

    Parameters

    • txn: Record<string, any>

      The transaction object.

    • applicationArgs: any

      The application arguments.

    • partialTxn: PartialTxn

      The partial transaction object.

    Returns PartialTxn

Generated using TypeDoc