Skip to contents

Returns the hash of a block at a given height.

Usage

mc_get_block_hash(conn, height)

Arguments

conn

A connection object created by mc_connect.

height

Integer. The block height (0 for genesis block).

Value

A character string containing the block hash.

Examples

if (FALSE) { # \dontrun{
hash <- mc_get_block_hash(conn, 0)  # genesis block hash
} # }