Skip to main content

get_mining_history

Returns the wallet's mining/staking history — the blocks this wallet has mined or staked a reward from.

Request

{
"id": 0,
"jsonrpc": "2.0",
"method": "get_mining_history",
"params": {
"v": 0
}
}

Request parameters

  • v - unix timestamp; only entries at or after this time are returned. Pass 0 to get the full history.

Response

{
"id": 0,
"jsonrpc": "2.0",
"result": {
"mined_entries": [{
"a": 1618000000000,
"h": 102000,
"t": 1712683857
}]
}
}

Response information

  • mined_entries - array of mined/staked block entries:
    • a - the mined amount (block reward), in atomic units.
    • h - the height of the mined/staked block.
    • t - the block's timestamp (unix time).