Skip to content

getFeeBurnt

Get the total burnt transaction fee by 1559.

Usage

example.ts
import { publicClient } from "./client";
 
const totalBurntFee = await publicClient.getFeeBurnt();

Returns

bigint

The total burnt transaction fee (in drip).

JSON-RPC Method

cfx_getFeeBurnt