Returns information about nodes that are mining (or have mining permission) on the blockchain.
Arguments
- conn
A connection object created by
mc_connect.- verbose
Logical. If
TRUE, returns additional details about each miner (e.g., mining status, last block mined). Default isFALSE.
Value
A data frame (via rpc_res_to_df) with miner information.
Typical columns: address, status, lastblocktime, etc.
See also
Other blockchain information:
mc_get_block(),
mc_get_block_hash(),
mc_get_blockchain_info(),
mc_get_chain_totals(),
mc_get_last_block_info(),
mc_list_blocks()
Examples
if (FALSE) { # \dontrun{
miners <- mc_list_miners(conn)
print(miners)
} # }