using Nethereum.Hex.HexTypes;
using Nethereum.JsonRpc.Client;
using Nethereum.RPC.Infrastructure;
namespace Nethereum.RPC.Eth.Blocks
{
///
/// eth_blockNumber
/// Returns the number of most recent block.
/// Parameters
/// none
/// Returns
/// QUANTITY - integer of the current block number the client is on.
/// Example
/// Request
/// curl -X POST --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":83}'
/// Result
/// {
/// "id":83,
/// "jsonrpc": "2.0",
/// "result": "0x4b7" // 1207
/// }
///
public class EthBlockNumber : GenericRpcRequestResponseHandlerNoParam, IEthBlockNumber
{
public EthBlockNumber(IClient client) : base(client, ApiMethods.eth_blockNumber.ToString())
{
}
}
}