Module java4ever.binding
Package tech.deplant.java4ever.binding
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns the value of theaccountsFilterrecord component.endTime()Returns the value of theendTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theincludeTransfersrecord component.result()Returns the value of theresultrecord component.String[]Returns the value of theshardFilterrecord component.Returns the value of thestartTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfCreateTransactionIterator
public ParamsOfCreateTransactionIterator(Number startTime, Number endTime, String[] shardFilter, String[] accountsFilter, String result, Boolean includeTransfers) Creates an instance of aParamsOfCreateTransactionIteratorrecord class.- Parameters:
startTime- the value for thestartTimerecord componentendTime- the value for theendTimerecord componentshardFilter- the value for theshardFilterrecord componentaccountsFilter- the value for theaccountsFilterrecord componentresult- the value for theresultrecord componentincludeTransfers- the value for theincludeTransfersrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-
shardFilter
Returns the value of theshardFilterrecord component.- Returns:
- the value of the
shardFilterrecord component
-
accountsFilter
Returns the value of theaccountsFilterrecord component.- Returns:
- the value of the
accountsFilterrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
includeTransfers
Returns the value of theincludeTransfersrecord component.- Returns:
- the value of the
includeTransfersrecord component
-