Record Class Net.ParamsOfCreateTransactionIterator

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Net.ParamsOfCreateTransactionIterator
Record Components:
startTime - Starting time to iterate from. If the application specifies this parameter then the iterationincludes blocks with `gen_utime` >= `start_time`.Otherwise the iteration starts from zero state.

Must be specified in seconds.

endTime - Optional end time to iterate for. If the application specifies this parameter then the iterationincludes blocks with `gen_utime` < `end_time`.Otherwise the iteration never stops.

Must be specified in seconds.

shardFilter - Shard prefix filters. If the application specifies this parameter and it is not an empty arraythen the iteration will include items related to accounts that belongs tothe specified shard prefixes.Shard prefix must be represented as a string "workchain:prefix".Where `workchain` is a signed integer and the `prefix` if a hexadecimalrepresentation if the 64-bit unsigned integer with tagged shard prefix.For example: "0:3800000000000000".Account address conforms to the shard filter ifit belongs to the filter workchain and the first bits of address match tothe shard prefix. Only transactions with suitable account addresses are iterated.
accountsFilter - Account address filter. Application can specify the list of accounts for whichit wants to iterate transactions.

If this parameter is missing or an empty list then the library iteratestransactions for all accounts that pass the shard filter.

Note that the library doesn't detect conflicts between the account filter and the shard filterif both are specified.So it is an application responsibility to specify the correct filter combination.

result - Projection (result) string. List of the fields that must be returned for iterated items.This field is the same as the `result` parameter ofthe `query_collection` function.Note that iterated items can contain additional fields that arenot requested in the `result`.
includeTransfers - Include `transfers` field in iterated transactions. If this parameter is `true` then each transaction contains field`transfers` with list of transfer. See more about this structure in function description.
Enclosing class:
Net

public static record Net.ParamsOfCreateTransactionIterator(Number startTime, Number endTime, String[] shardFilter, String[] accountsFilter, String result, Boolean includeTransfers) extends Record
  • Constructor Details

    • ParamsOfCreateTransactionIterator

      public ParamsOfCreateTransactionIterator(Number startTime, Number endTime, String[] shardFilter, String[] accountsFilter, String result, Boolean includeTransfers)
      Creates an instance of a ParamsOfCreateTransactionIterator record class.
      Parameters:
      startTime - the value for the startTime record component
      endTime - the value for the endTime record component
      shardFilter - the value for the shardFilter record component
      accountsFilter - the value for the accountsFilter record component
      result - the value for the result record component
      includeTransfers - the value for the includeTransfers record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • startTime

      public Number startTime()
      Returns the value of the startTime record component.
      Returns:
      the value of the startTime record component
    • endTime

      public Number endTime()
      Returns the value of the endTime record component.
      Returns:
      the value of the endTime record component
    • shardFilter

      public String[] shardFilter()
      Returns the value of the shardFilter record component.
      Returns:
      the value of the shardFilter record component
    • accountsFilter

      public String[] accountsFilter()
      Returns the value of the accountsFilter record component.
      Returns:
      the value of the accountsFilter record component
    • result

      public String result()
      Returns the value of the result record component.
      Returns:
      the value of the result record component
    • includeTransfers

      public Boolean includeTransfers()
      Returns the value of the includeTransfers record component.
      Returns:
      the value of the includeTransfers record component