getblockheader
If verbose is false, returns a string that is serialized, hex-encoded data for blockheader ‘hash’. If verbose is true, returns an Object with information about blockheader ‘hash’.
This method will use 10
Compute Units.
Reference: Here
Parameters
blockhash
- string, required
The block hash
verbose
- boolean, optional, default=true
true for a json object, false for the hex-encoded data
Returns (for verbose = true)
Returns (for verbose = false)
Name | Type | Description |
---|---|---|
hex | string | A string that is serialized, hex-encoded data for block ‘hash’ |
Last updated