Skip to main content
Plasma API method that returns the base fee for blob gas in Wei.

Parameters

None

Response

  • quantity — the current blob base fee in Wei

eth_blobBaseFee code examples

const { JsonRpcProvider } = require("ethers");

const provider = new JsonRpcProvider("CHAINSTACK_NODE_URL");

async function call() {
  const result = await provider.send("eth_blobBaseFee", []);
  console.log(result);
}

call();