# Ethereum eth_newBlockFilter RPC method
Ethereum API method that creates a filter object to notify the arrival of a new block. To check if the state has changed, call eth_getFilterChanges.
Parameters:
none
Returns:
result
— returns a filter ID to be used when calling eth_getFilterChanges.
Example:
- web3.js
- web3.py
- eth.rb
- cURL
// Web3.js does not support this feature. See the Web3.js subscriptions page.