getFilterLogs
Returns a list of event logs since the filter was created.
Note: getFilterLogs is only compatible with event filters.
Usage
import { } from "cive";
import { } from "./client";
const = await .({
: "cfx:...",
: (
"event Transfer(address indexed, address indexed, uint256)"
),
});
const = await .({ });
[{ ... }, { ... }, { ... }]import { , } from "cive";
import { } from "cive/chains";
export const = ({
: ,
: (),
});Returns
A list of event logs.
Parameters
filter
- Type:
Filter
An event filter.
const = await .();
const = await .({
,
});