Glitter Solana V1 Parser class.

Hierarchy

  • SolanaV1Parser

Constructors

Methods

  • Private

    Retrieves the routing information for a V1 bridge transaction.

    Static

    Returns

    The routing information for the V1 bridge transaction.

    Parameters

    • fromNetwork: string

      The network of the source token.

    • fromAddress: string

      The address of the source token.

    • fromToken: string

      The symbol or identifier of the source token.

    • fromTxnID: string

      The transaction ID on the source network.

    • toNetwork: string

      The network of the destination token.

    • toAddress: string

      The address of the destination token.

    • toToken: string

      The symbol or identifier of the destination token.

    • toTxnID: string

      The transaction ID on the destination network.

    • units: BigNumber

      The number of units being transferred.

    • decimals: number

      The decimal places of the tokens.

    Returns Routing

  • Private

    Retrieves a partial bridge transaction for V1 SOL release.

    Static

    Returns

    The partial bridge transaction for V1 SOL release.

    Parameters

    • sdkServer: GlitterSDKServer

      The Glitter SDK server object.

    • txn: ParsedTransactionWithMeta

      The parsed transaction with metadata.

    • data_bytes: Uint8Array

      The data bytes for the transaction.

    • partialTxn: PartialTxn

      The partial bridge transaction object.

    Returns PartialTxn

  • Private

    Retrieves a partial bridge transaction for V1 SOL deposit.

    Static

    Returns

    The partial bridge transaction for V1 SOL deposit.

    Parameters

    • sdkServer: GlitterSDKServer

      The Glitter SDK server object.

    • txn: ParsedTransactionWithMeta

      The parsed transaction with metadata.

    • data_bytes: Uint8Array

      The data bytes for the transaction.

    • partialTxn: PartialTxn

      The partial bridge transaction object.

    Returns PartialTxn

  • Private

    Retrieves a partial bridge transaction for V1 SOL finalize.

    Static

    Returns

    The partial bridge transaction for V1 SOL finalize.

    Parameters

    • sdkServer: GlitterSDKServer

      The Glitter SDK server object.

    • txn: ParsedTransactionWithMeta

      The parsed transaction with metadata.

    • data_bytes: Uint8Array

      The data bytes for the transaction.

    • partialTxn: PartialTxn

      The partial bridge transaction object.

    Returns PartialTxn

  • Private

    Retrieves a partial bridge transaction for V1 xALGO deposit.

    Static

    Returns

    The partial bridge transaction for V1 xALGO deposit.

    Parameters

    • sdkServer: GlitterSDKServer

      The Glitter SDK server object.

    • txn: ParsedTransactionWithMeta

      The parsed transaction with metadata.

    • data_bytes: Uint8Array

      The data bytes for the transaction.

    • partialTxn: PartialTxn

      The partial bridge transaction object.

    Returns PartialTxn

  • Private

    Retrieves a partial bridge transaction for V1 xALGO finalize.

    Static

    Returns

    The partial bridge transaction for V1 xALGO finalize.

    Parameters

    • sdkServer: GlitterSDKServer

      The Glitter SDK server object.

    • txn: ParsedTransactionWithMeta

      The parsed transaction with metadata.

    • data_bytes: Uint8Array

      The data bytes for the transaction.

    • partialTxn: PartialTxn

      The partial bridge transaction object.

    Returns PartialTxn

  • Private

    Retrieves a partial bridge transaction for V1 xALGO release.

    Static

    Returns

    The partial bridge transaction for V1 xALGO release.

    Parameters

    • sdkServer: GlitterSDKServer

      The Glitter SDK server object.

    • txn: ParsedTransactionWithMeta

      The parsed transaction with metadata.

    • data_bytes: Uint8Array

      The data bytes for the transaction.

    • partialTxn: PartialTxn

      The partial bridge transaction object.

    Returns PartialTxn

Generated using TypeDoc