⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
xem

NEM (XEM)

Method: GET /account/harvests

dropdown
GET

/account/harvests

Gets an array of harvest info objects for an account.

Parameters

address - string

The address of the account.

hash - string

The 256 bit sha3 hash of the block up to which harvested blocks are returned.

Request

curl --location --request GET 'https://xem.getblock.io/account/harvests?address=NCXIQA4FF5JB6AMQ53NQ3ZMRD3X3PJEWDJJJIGHT&hash=ff8f8d88a65d499165c2e4fa1c95bd4d5366f71d7a62efc21b0df39b6c80613a' \
 --header 'x-api-key: YOUR-API-KEY' \
 --header 'Content-Type: application/json'


Response

{
    "data": [
        {
            "difficulty": 22388850229680,
            "height": 3943916,
            "id": 3944044,
            "timeStamp": 238670475,
            "totalFee": 0
        },
        {
            "difficulty": 21579979856892,
            "height": 3943904,
            "id": 3944032,
            "timeStamp": 238669743,
            "totalFee": 0
        }
    ]
}