Skip to content
Cive

createBlockFilter

Creates a Filter to listen for new block hashes that can be used with getFilterChanges.

Usage

import {  } from "./client";
 
const  = await .(); 
 
{ id: "0x...", type: 'block' }

Returns

Filter

JSON-RPC Methods

cfx_newBlockFilter