getnep17transfers Method
Returns all the NEP17 transaction information occurred in the specified address.
[!Note]
You must install the plugin TokensTracker, LevelDBStore, and RpcSever before you can invoke the method.
Parameter Description
address: The address to query the transaction information.
startTime | endTime: Optional. The UTC timestamp which records the asset start or end time (included).
If start and end timestamps are specified, transactions occurred in the time range are returned.
If only one timestamp is specified, transactions occurred since that time are returned.
If not specified, transactions in recent seven days are returned.
Configuration
Before invoking the method, you need to modify the following fields in the TokensTracker config.json file:
MaxResults: The maximum number of records. The exceeding portion will not be stored.
Network: Set it to the same value as Network in Neo-CLI config.json.
Example
Example 1 - Set the start time:
Request body:
Response body:
Example 2 - Set both timestamps:
Request body:
Response body: