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
- If the application specifies this parameter then the iteration includes blocks with `gen_utime` >= `start_time`. Otherwise the iteration starts from zero state. Must be specified in seconds. Starting time to iterate from.endTime
- If the application specifies this parameter then the iteration includes blocks with `gen_utime` invalid input: '<' `end_time`. Otherwise the iteration never stops. Must be specified in seconds. Optional end time to iterate for.shardFilter
- If the application specifies this parameter and it is not an empty array then the iteration will include items related to accounts that belongs to the specified shard prefixes. Shard prefix must be represented as a string "workchain:prefix". Where `workchain` is a signed integer and the `prefix` if a hexadecimal representation if the 64-bit unsigned integer with tagged shard prefix. For example: "0:3800000000000000". Account address conforms to the shard filter if it belongs to the filter workchain and the first bits of address match to the shard prefix. Only transactions with suitable account addresses are iterated. Shard prefix filters.accountsFilter
- Application can specify the list of accounts for which it wants to iterate transactions. If this parameter is missing or an empty list then the library iterates transactions for all accounts that pass the shard filter. Note that the library doesn't detect conflicts between the account filter and the shard filter if both are specified. So it is an application responsibility to specify the correct filter combination. Account address filter.result
- List of the fields that must be returned for iterated items. This field is the same as the `result` parameter of the `query_collection` function. Note that iterated items can contain additional fields that are not requested in the `result`. Projection (result) string.includeTransfers
- If this parameter is `true` then each transaction contains field `transfers` with list of transfer. See more about this structure in function description. Include `transfers` field in iterated transactions.
- 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(Long startTime, Long 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
-
hashCode
-
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
-
endTime
-
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
-
includeTransfers
Returns the value of theincludeTransfers
record component.- Returns:
- the value of the
includeTransfers
record component
-