MCPcopy Index your code
hub / github.com/raiden-network/raiden / block_number

Method block_number

raiden/network/rpc/client.py:1073–1075  ·  view source on GitHub ↗

Return the most recent block.

(self)

Source from the content-addressed store, hash-verified

1071 )
1072
1073 def block_number(self) -> BlockNumber:
1074 """Return the most recent block."""
1075 return self.web3.eth.block_number
1076
1077 def get_block(self, block_identifier: BlockIdentifier) -> BlockData:
1078 """Given a block number, query the chain to get its corresponding block hash"""

Calls

no outgoing calls