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 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(Long startTime, Long 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
-
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 theshardFilterrecord component.- Returns:
- the value of the
shardFilterrecord component
-
accountsFilter
Returns the value of theaccountsFilterrecord component.- Returns:
- the value of the
accountsFilterrecord component
-
result
-
includeTransfers
Returns the value of theincludeTransfersrecord component.- Returns:
- the value of the
includeTransfersrecord component
-