New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

2 min read

Method /account/harvests Nem (XEM)
connect with REST protocol

/account/harvests

info-circle-fill

Gets an array of harvest info objects for an account.

Parameters

address -

The address of the account.

hash -

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
        }
    ]
}
banner icon

Start Building with GetBlock RPCs for Free