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 theaccountsFilter
record component.endTime()
Returns the value of theendTime
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theincludeTransfers
record component.result()
Returns the value of theresult
record component.String[]
Returns the value of theshardFilter
record component.Returns the value of thestartTime
record component.final String
toString()
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 aParamsOfCreateTransactionIterator
record class.- Parameters:
startTime
- the value for thestartTime
record componentendTime
- the value for theendTime
record componentshardFilter
- the value for theshardFilter
record componentaccountsFilter
- the value for theaccountsFilter
record componentresult
- the value for theresult
record componentincludeTransfers
- the value for theincludeTransfers
record 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 thestartTime
record component.- Returns:
- the value of the
startTime
record component
-
endTime
Returns the value of theendTime
record component.- Returns:
- the value of the
endTime
record component
-
shardFilter
Returns the value of theshardFilter
record component.- Returns:
- the value of the
shardFilter
record component
-
accountsFilter
Returns the value of theaccountsFilter
record component.- Returns:
- the value of the
accountsFilter
record component
-
result
Returns the value of theresult
record component.- Returns:
- the value of the
result
record component
-
includeTransfers
Returns the value of theincludeTransfers
record component.- Returns:
- the value of the
includeTransfers
record component
-