I am playing with Cosmos Blockchain and trying to get Block details inputting its height. For this purpose I am trying to use CosmPy module.
I found a function inside the library that allows you to do exaclty what I want that is called
GetBlockByHeight()
But I am unable to use it since it require the block height (got it) and a self parameter (?) when I try to call it using:
from cosmpy.tendermint.interface import CosmosBaseTendermint
print(CosmosBaseTendermint.GetBlockByHeight(block_height))
What code should I use to properly call the function?