getchaintxstats
getchaintxstats ( nblocks "blockhash" )
Calculate statistics on the total count and transaction rate within the blockchain.
Argument #1 – nblocks
Type: numeric, optional, default=one month
Size of the window in number of blocks
Argument #2 – blockhash
Type: string, optional, default=chain tip
The hash of the block that ends the window.