{
"version": 5,
"timestamp": 1708001167257,
"reference": "FfgFVyTV4oTM3T37ybkkx3Kh8ok4zue3J41e66rmRjuG",
"nxt-consensus": {
"base-target": 81,
"generation-signature": "LXKZz4cj7pLfN53CLeRWfBRZ4nmuNALwz4jqJ6VLQs74hq16tLca4GuwFSCnH8DuVPrKcPeHD4mMaqmH6eq5TYKbBgs75fDebdZkYED4TxejpWVAdMHhRhqDGy3WnV6sTcQ"
},
"transactionsRoot": "12Z1WPbRbZe6fBckDFhjWyXVeh8kz8Qe6NYcjBgmfKfv",
"id": "AFnb5mQteFNVmXmk44btuQEdvyw2hREi51PFDdUCUTSZ",
"features": [],
"desiredReward": -1,
"generator": "3MvbutkV3xapQVUcGBGWCongwfdH8LKTm8w",
"generatorPublicKey": "9bNzvarUWDCnAv4YrNKtSh6FQXQ94jFZNkciJNcH4dgj",
"stateHash": "53Q3v1SRdWXdverjNb51GZPFkXCwBpBhDyRqouEjUHSA",
"signature": "U9BiUKdsXVtG42hSR4m5hyinZD9sctq8FBY8azh3GYeSxrPjwXGo9FrPaLXNbeLjV7UbiDQ8Pcv44mw3GbKXGPd",
"blocksize": 3476,
"transactionCount": 4,
"totalFee": 1600000,
"reward": 600000000,
"rewardShares": {
"3MvbutkV3xapQVUcGBGWCongwfdH8LKTm8w": 200000000,
"3Myb6G8DkdBb8YcZzhrky65HrmiNuac3kvS": 200000000,
"3N13KQpdY3UU7JkWUBD9kN7t7xuUgeyYMTT": 200000000
},
"VRF": "J3audsgiCtKb8oyKBbFVsQbiAYYsZDJvh3qWyYx1muWf",
"fee": 1600000,
"previous": "2977336",
"height": "2977337",
"next": "2977338",
"transactions": [
{
"type": 4,
"id": "HycJbUFyVTG4DyLCkvvkGxwq5vGw4Gz1dnWqb2PQjTQm",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1708001180962,
"version": 2,
"sender": "3Myqjf1D44wR8Vko4Tr5CwSzRNo2Vg9S7u7",
"senderPublicKey": "9oYuF7V66UNpD2AgYHb6t2j9GYrf3c6hRvwtop6uD6Rx",
"proofs": [
"4J6mmHAHfQn7MmzPbJ33TWtGm1ZC6sc4tfDJ7SX9KaqUasbos1TgXA3KygE21rFhuaVWaBZZ1eWfCbvjtmcNi9DV"
],
"recipient": "3MvS7wTgkX5u49Pg1HHxxjwdj185g4K92ay",
"assetId": null,
"feeAsset": null,
"amount": 200000000,
"attachment-decoded": "",
"attachment": "",
"applicationStatus": "succeeded"
},
{
"type": 16,
"id": "SHyMEhvsPhTTiQCfQHbr9xt3McCRhAGPME8PtLz4bNY",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1708001183021,
"version": 2,
"chainId": 84,
"sender": "3N4pKfRQ9wdkFZVkALLcthgXYskQWgumUVa",
"senderPublicKey": "9Ba7tjxSEN6U2dAmug28HNQHjNyET1gRZVfrcmgTfsHC",
"proofs": [
"63D8Y83SJGgP115P7d8KYr3wMAySiyPLa2qRTe1AMNMe2w3Uqgbt32kCoKjMtVeMnZYS5uTsYmJdRDvZ7CFPNcBn"
],
"dApp": "3N9tKixzqTYWnEXQxrDQ5pBTGvQd6sFsvmV",
"payment": [
{
"amount": 10000000,
"assetId": "AxGKQRxKo4F2EbhrRq6N2tdLsxtMnpzQsS4QemV6V1W1"
}
],
"call": {
"function": "registerTask",
"args": [
{
"type": "string",
"value": "how can i find how many active wallet exists on the waves blockchain in a certain day?"
},
{
"type": "string",
"value": "chatgpt"
}
]
},
"applicationStatus": "succeeded"
},
{
"type": 16,
"id": "B5qN9MDdjm9NbHPNwmGTidmPNimCzN5emS8wmqNKKXzc",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1708001191514,
"version": 2,
"chainId": 84,
"sender": "3N9ttyLcRwDo7L4EmJkbS3ZFuQJygivupsL",
"senderPublicKey": "92ovWCy1Zf8CSsTLLLssC74m8yn5yPMqVp9fmVacou97",
"proofs": [
"3hxZxdLYcS1EKysdfHYpKpoVYe1xpxizzjaUhoxazabg6AV7WCoYFX4VBwtesNCZr6x21RPVn1waKcihFkzhzLqn"
],
"dApp": "3N9tKixzqTYWnEXQxrDQ5pBTGvQd6sFsvmV",
"payment": [],
"call": {
"function": "checkoutTask",
"args": [
{
"type": "string",
"value": "SHyMEhvsPhTTiQCfQHbr9xt3McCRhAGPME8PtLz4bNY_9Ba7tjxSEN6U2dAmug28HNQHjNyET1gRZVfrcmgTfsHC"
},
{
"type": "string",
"value": "chatgpt"
}
]
},
"applicationStatus": "succeeded"
},
{
"type": 16,
"id": "6n9SPZGXkQR2xT6eY6XGZGvzv2FXqW8ULo6bCStXs4ia",
"fee": 500000,
"feeAssetId": null,
"timestamp": 1708001206718,
"version": 2,
"chainId": 84,
"sender": "3N9ttyLcRwDo7L4EmJkbS3ZFuQJygivupsL",
"senderPublicKey": "92ovWCy1Zf8CSsTLLLssC74m8yn5yPMqVp9fmVacou97",
"proofs": [
"3hVEbQ1LZ7otViAJYWbysUqfA9S9cXovZPXSKyHP7P7JfbhpZgX4iRpvjYvryiwMEvnCT5X6rnbFTGp7XqyUXAT6"
],
"dApp": "3N9tKixzqTYWnEXQxrDQ5pBTGvQd6sFsvmV",
"payment": [],
"call": {
"function": "commitTask",
"args": [
{
"type": "string",
"value": "SHyMEhvsPhTTiQCfQHbr9xt3McCRhAGPME8PtLz4bNY_9Ba7tjxSEN6U2dAmug28HNQHjNyET1gRZVfrcmgTfsHC"
},
{
"type": "string",
"value": "To find out how many active wallets exist on the Waves blockchain in a certain day, you can use the Waves Node REST API. Follow the steps below:\n\n1. First, you need to set up a connection to the Waves Node API. You can use cURL or any HTTP client library in your preferred programming language.\n\n2. Make a GET request to the `/addresses` endpoint, specifying the number of transactions per page using the `limit` parameter and page number using the `page` parameter. The maximum allowed limit is 1000.\n\n3. Iterate over the response data, which contains a list of addresses and their transaction counts. Filter out the addresses that have a non-zero transaction count, as these are considered active wallets.\n\n4. Count the filtered addresses to get the total number of active wallets.\n\nHere is an example using PHP:\n\n```php\n<?php\n// Set the API endpoint\n$apiEndpoint = 'https://nodes.wavesnodes.com';\n\n// Specify the date in YYYY-MM-DD format\n$targetDate = '2022-01-01';\n\n// Set the limit of transactions per page\n$limit = 1000;\n\n// Initialize the page number\n$page = 1;\n\n// Initialize the total number of active wallets\n$totalActiveWallets = 0;\n\ndo {\n // Make a GET request to the /addresses endpoint\n $requestUrl = "{$apiEndpoint}/addresses?page={$page}&limit={$limit}";\n $response = file_get_contents($requestUrl);\n $data = json_decode($response, true);\n\n // Check if the response is successful\n if ($data['status'] === 'success') {\n // Iterate over the addresses\n foreach ($data['addresses'] as $address) {\n // Check if the address has non-zero transactions\n if ($address['transactionCount'] > 0) {\n $totalActiveWallets++;\n }\n }\n }\n\n $page++;\n} while (count($data['addresses']) > 0);\n\necho "Total active wallets on {$targetDate}: {$totalActiveWallets}";\n```\n\nReplace `$targetDate` with the date you want to count the active wallets for. Keep in mind that this method may take a significant amount of time for a large number of wallets, as it retrieves addresses in pages. Adjust the `$limit` value according to your needs."
}
]
},
"applicationStatus": "succeeded"
}
]
}