navio-blsct
    Preparing search index...

    Class CTxOut

    Represents a transaction output in a constructed confidential transaction. Also known as CTxOut on the C++ side.

    For code examples, see the ctx.py class documentation.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    blsctDataCache?: CTxOutBlsctData
    obj: any
    objSize: number

    Methods

    • Returns the `scriptPubKey' of the transaction output.

      • @returns The scriptPubKey of the output.

      Returns Script

    • Returns the token ID associated with the transaction output.

      Returns TokenId

      The token ID of the output.

    • Returns the value of the transaction output. *

      Returns number

      The value of the output.

    • Returns the vector predicate of the transaction output. *

      Returns string

      The vector predicate as a hexadecimal string.

    • Returns the underlying C++ object, transferring ownership from this instance to the caller.

      Returns any

      The underlying object of the instance.

    • Serializes the instance to a hexadecimal string.

      Returns string

      A hexadecimal string representation of the instance.

    • Returns the size of the underlying C++ object.

      Returns number

      The size of the underlying C++ object in bytes.

    • Returns a string representation of the instance.

      Returns string

      A string representation of the instance.

    • Deserializes a CTxOut from its hexadecimal representation.

      Parameters

      • this: new (obj: any) => CTxOut
      • hex: string

        The hexadecimal string to deserialize.

      Returns CTxOut

      A new CTxOut instance. w

    • Constucts a new instance using the provided object.

      Type Parameters

      Parameters

      • this: new (obj: any, objSize?: number) => T
      • obj: any

        The object to use for the new instance.

      Returns T

      A new instance of the class.

    • Constructs a new instance using the provided object and size.

      Type Parameters

      Parameters

      • this: new (obj: any) => T
      • obj: any

        The object to use for the new instance.

      • objSize: number

        The size of the object.

      Returns T

      A new instance of the class.