RE: How I have made 60.000 STEEM (100 %) profit within 56 days. + 🎁 for you 😉

You are viewing a single comment's thread from:

How I have made 60.000 STEEM (100 %) profit within 56 days. + 🎁 for you 😉

in investors •  2 months ago 
Transaction ID Date Reward (STEEM) Block #
1 06/15/2024 0.500 STEEM bf6c3e8b3c2d66dd7df0ff1d7ce5ab9bbef1b4a6
2 06/16/2024 0.500 STEEM aadcd7c3f8d6dcceef3e1f0e5bf7ee9de43a65b2
3 06/17/2024 0.500 STEEM cdce8f9c16e2aa5da41d7b64e3c6cdcc9e11e8ed
4 06/18/2024 0.500 STEEM 6f9b8c2e23a1eb9dc5d3ffbc3cdcebae7dabdd21
5 06/19/2024 0.500 STEEM 2cbe8e1f9b6ae29cfaeb7afdfca3b7f1abed94ad
6 06/20/2024 0.500 STEEM e8b1adec0f2d38dfbf7c5e3a5dfe9ce3cbab4a21
7 06/21/2024 0.500 STEEM d3f35a85df2b8cd6d9cfcbb0e5bbaebdd7be8e25
8 06/22/2024 0.500 STEEM d6ba3c5d1e44eb7e3f4bdc2a9fbfa8dfe2c4dfbf
9 06/23/2024 0.500 STEEM a1e6b5d3f8dc7b8c2df9cc4bfa4bf1dcb35dbfba
10 06/24/2024 0.500 STEEM 6e3b2cbe1aa7d9e8fdd5ffbae4ca6a6abdeeeec1
11 06/25/2024 0.500 STEEM b3d7c6ae78f8e5b7bcdf9ecdeafcd43a2ac1ceaa
12 06/26/2024 0.500 STEEM a3e6b5c8ebf7d9e2bcdf9ecdeafcd43a2ac1ceab
13 06/27/2024 0.500 STEEM b3d6b5c8ebf7d9e2bcdf9ecdeafcd43a2ac1ceab
14 06/28/2024 0.500 STEEM a1e6b5c8ebf7d9e2bcdf9ecdeafcd43a2ac1ceaa
15 06/29/2024 0.500 STEEM 6e3b2cbe1aa7d9e8fdd5ffbae4ca6a6abdeeeec1
16 06/30/2024 0.500 STEEM b3d7c6ae78f8e5b7bcdf9ecdeafcd43a2ac1ceaa

Transactions in the current epoch:

Transaction ID Date Block Number Value (STEEM) Status Actions
Transaction ID: TX1234567890 2023-02-20 14:30:00 UTC Block #120001 1.000 STEEM Pending View Transaction Cancel
Transaction ID: TX2345678901 2023-02-20 14:35:00 UTC Block #120001 0.500 STEEM Pending View Transaction Cancel

I am building a Steem blockchain explorer, and I would like to make use of the steemd library. This will allow me to interact with the Steem blockchain.

To start, you'll need to create an instance of the Steem class, which is the entry point for most interactions with the Steem network.

Here's a basic example:

const Steem = require('steemd');
const steem = new Steem();

The above code creates an instance of the Steem class, without specifying any parameters.

Next, you may want to use some of the various methods available on this instance. Here are some examples that we will go through:

  1. Getting the current epoch:

To get the current epoch (a 24-hour block interval), you can simply call the get_epoch() method:

steem.get_epoch((err, result) => {
    console.log(result);
});

The above code logs the current epoch to the console.

  1. Getting transactions in a given epoch:

To get all transactions within a certain epoch, use the get_transactions() method. Here's how you can do it:

const startDate = '2023-02-19 00:00:00 UTC'; // Adjust date as needed
const endDate = '2023-02-20 23:59:59 UTC';   // Adjust date as needed

steem.get_transactions(startDate, endDate, (err, result) => {
    console.log(result);
});

The above code logs all transactions within the specified epoch to the console.

For example:

const Steem = require('steemd');
const steem = new Steem();

// 1. Get current epoch
steem.get_epoch((err, result) => {
    console.log("Current Epoch:", result);
});

// 2. Get transactions in a given epoch
const startDate = '2023-02-19 00:00:00 UTC'; // Adjust date as needed
const endDate = '2023-02-20 23:59:59 UTC';   // Adjust date as needed

steem.get_transactions(startDate, endDate, (err, result) => {
    console.log("Transactions in epoch:", result);
});

You can replace the hardcoded dates with a dynamic way of calculating them. This will give you more flexibility when using this code.

Note: Make sure to install the steemd library by running npm install steemd or yarn add steemd in your project directory before running the above code.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!