|
@@ -175,7 +175,7 @@ Array<Operation> signdata({
|
|
|
|
|
|
The given `rawoperations` altered by the new operation(s).
|
|
|
|
|
|
-### finddataoperation
|
|
|
+### finddataoperations
|
|
|
|
|
|
This method will help to retrieve one or more DATA operations. DATA operations are special and will be heavily used, but the `getaccountoperations` method is already overloaded with parameters. Thats why we will introduce a new method that only searches for DATA operations.
|
|
|
|
|
@@ -186,6 +186,8 @@ Array<Operation> finddataoperations({
|
|
|
[GUID guid = null, ]
|
|
|
[UINT16 data_type = null ,]
|
|
|
[UINT16 data_sequence = null ,]
|
|
|
+ [UINT32 start = 0 ,]
|
|
|
+ [UINT16 max = 100 ,]
|
|
|
})
|
|
|
```
|
|
|
|
|
@@ -201,6 +203,10 @@ Array<Operation> finddataoperations({
|
|
|
The data sequence of the operation to search for. Optional.
|
|
|
- `data_type [UINT16]`
|
|
|
The data type of the operation to search for.
|
|
|
+- `start [UINT32]`
|
|
|
+ The start index to provide paging.
|
|
|
+- `max [UINT16]`
|
|
|
+ The maximum returned values.
|
|
|
|
|
|
While all parameters are optional, the method cannot handle a call to the method without any parameter.
|
|
|
|
|
@@ -208,6 +214,7 @@ While all parameters are optional, the method cannot handle a call to the method
|
|
|
|
|
|
- Either `sender` or `target` must be set
|
|
|
- If `data_sequence` is set, the `guid` must be provided.
|
|
|
+- Data is returned in descending order (latest block first).
|
|
|
|
|
|
## Rationale
|
|
|
|