Function deserializeFromScriptArgument

  • Deserialize a Script Transaction Argument. This function retrieves and deserializes various types of script transaction arguments based on the provided deserializer.

    Parameters

    • deserializer: Deserializer

      The deserializer used to read the script transaction argument.

    Returns TransactionArgument

    The deserialized script transaction argument.

    Error if the variant index is unknown.