eth_blockNumber
Returns the current latest block number.
Parameters
None
Returns
A hexadecimal of an integer representing the current block number the client is on.
Example
Replace <YOUR-API-KEY> with an API key from your MetaMask Developer dashboard.