createBlockFilter
An Action for creating a new Block Filter.
Creates a Filter to listen for new block hashes that can be used with getFilterChanges
.
Usage
import { publicClient } from './client'
const filter = await publicClient.createBlockFilter()
// { id: "0x345a6572337856574a76364e457a4366", type: 'block' }