[ControllerAttribute] public class BlockChainRPCController : FeatureController
Thetype exposes the following members.
Gets the best blockhash.
Gets the block. If verbosity is 0, returns a string that is serialized, hex-encoded data for block 'hash'. If verbosity is 1, returns an Object with information about block 'hash'. If verbosity is 2, returns an Object with information about block 'hash' and information about each transaction.
Returns an object containing various state info regarding blockchain processing.
Returns the number of blocks in the longest blockchain.
Returns hash of block in best-block-chain at height provided.
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'.
Get the block as a hex string. Get block as hex from chained header
Get the block as a hex string. Block hex
Function to get a verbose version of getblock with a string. ChainedHeader of block.Verbosity level (1, 2)
Function to get a verbose version of getblock with a string. Hash of block.Verbosity level (1, 2)
Return information about all known tips in the block tree, including the main chain as well as orphaned branches.
Compute statistics about the total number and rate of transactions in the chain.
Permanently marks a block as invalid, as if it violated a consensus rule. The hash of the block to invalidate.
Verifies blockchain database. 0 - Check reading blocks from chain 1 - Validate header of blocks