Class TransactionParser

Hierarchy

  • TransactionParser

Constructors

Properties

nExtension: {
    decode: ((buf: Uint8Array) => {
        k: Uint8Array;
        kr: Uint8Array;
        kzero: Uint8Array;
        n: number | Long;
        pubkey: Uint8Array;
        refgid: Uint8Array;
        t: number | Long;
    });
    encode: ((data: Omit<InExtension, "selector">) => Uint8Array);
} = ...

Type declaration

  • decode: ((buf: Uint8Array) => {
        k: Uint8Array;
        kr: Uint8Array;
        kzero: Uint8Array;
        n: number | Long;
        pubkey: Uint8Array;
        refgid: Uint8Array;
        t: number | Long;
    })
      • (buf: Uint8Array): {
            k: Uint8Array;
            kr: Uint8Array;
            kzero: Uint8Array;
            n: number | Long;
            pubkey: Uint8Array;
            refgid: Uint8Array;
            t: number | Long;
        }
      • Parameters

        • buf: Uint8Array

        Returns {
            k: Uint8Array;
            kr: Uint8Array;
            kzero: Uint8Array;
            n: number | Long;
            pubkey: Uint8Array;
            refgid: Uint8Array;
            t: number | Long;
        }

        • k: Uint8Array

          nExtension k.

        • kr: Uint8Array

          nExtension kr.

        • kzero: Uint8Array

          nExtension kzero.

        • n: number | Long

          nExtension n.

        • pubkey: Uint8Array

          nExtension pubkey.

        • refgid: Uint8Array

          nExtension refgid.

        • t: number | Long

          nExtension t.

  • encode: ((data: Omit<InExtension, "selector">) => Uint8Array)
      • (data: Omit<InExtension, "selector">): Uint8Array
      • Parameters

        • data: Omit<InExtension, "selector">

        Returns Uint8Array

nReduction: {
    decode: ((buf: Uint8Array) => {
        k: Uint8Array;
        n: number | Long;
        refgid: Uint8Array;
        t: number | Long;
    });
    encode: ((data: Omit<InReduction, "selector">) => Uint8Array);
} = ...

Type declaration

  • decode: ((buf: Uint8Array) => {
        k: Uint8Array;
        n: number | Long;
        refgid: Uint8Array;
        t: number | Long;
    })
      • (buf: Uint8Array): {
            k: Uint8Array;
            n: number | Long;
            refgid: Uint8Array;
            t: number | Long;
        }
      • Parameters

        • buf: Uint8Array

        Returns {
            k: Uint8Array;
            n: number | Long;
            refgid: Uint8Array;
            t: number | Long;
        }

        • k: Uint8Array

          nReduction k.

        • n: number | Long

          nReduction n.

        • refgid: Uint8Array

          nReduction refgid.

        • t: number | Long

          nReduction t.

  • encode: ((data: Omit<InReduction, "selector">) => Uint8Array)
      • (data: Omit<InReduction, "selector">): Uint8Array
      • Parameters

        • data: Omit<InReduction, "selector">

        Returns Uint8Array

tExtension: {
    decode: ((buf: Uint8Array) => {
        n: number | Long;
        refgid: Uint8Array;
        t: number | Long;
    });
    encode: ((data: Omit<ItExtension, "selector">) => Uint8Array);
} = ...

Type declaration

  • decode: ((buf: Uint8Array) => {
        n: number | Long;
        refgid: Uint8Array;
        t: number | Long;
    })
      • (buf: Uint8Array): {
            n: number | Long;
            refgid: Uint8Array;
            t: number | Long;
        }
      • Parameters

        • buf: Uint8Array

        Returns {
            n: number | Long;
            refgid: Uint8Array;
            t: number | Long;
        }

        • n: number | Long

          tExtension n.

        • refgid: Uint8Array

          tExtension refgid.

        • t: number | Long

          tExtension t.

  • encode: ((data: Omit<ItExtension, "selector">) => Uint8Array)
      • (data: Omit<ItExtension, "selector">): Uint8Array
      • Parameters

        • data: Omit<ItExtension, "selector">

        Returns Uint8Array

tReduction: {
    decode: ((buf: Uint8Array) => {
        n: number | Long;
        refgid: Uint8Array;
        t: number | Long;
    });
    encode: ((data: Omit<ItReduction, "selector">) => Uint8Array);
} = ...

Type declaration

  • decode: ((buf: Uint8Array) => {
        n: number | Long;
        refgid: Uint8Array;
        t: number | Long;
    })
      • (buf: Uint8Array): {
            n: number | Long;
            refgid: Uint8Array;
            t: number | Long;
        }
      • Parameters

        • buf: Uint8Array

        Returns {
            n: number | Long;
            refgid: Uint8Array;
            t: number | Long;
        }

        • n: number | Long

          tReduction n.

        • refgid: Uint8Array

          tReduction refgid.

        • t: number | Long

          tReduction t.

  • encode: ((data: Omit<ItReduction, "selector">) => Uint8Array)
      • (data: Omit<ItReduction, "selector">): Uint8Array
      • Parameters

        • data: Omit<ItReduction, "selector">

        Returns Uint8Array

selectors: Record<TransactionType, Uint8Array> = ...

Methods

  • Parameters

    • buf: Uint8Array
    • Optional gid: Uint8Array

    Returns Promise<{
        n: number;
        refgid: Uint8Array;
        t: number;
        txType: TransactionType;
    }>

Generated using TypeDoc