BaseFeeOverflow

Event v210 → current #1

Emitted when base fee calculation would overflow.

View events on chain
Useful for: developersanalytics

The Big Picture

Rare edge case indicating extreme network load. Wait for conditions to normalize.

Use Cases

  • Monitor extreme congestion
  • Build alerts

Triggers

Preconditions

  • Fee calculation attempted
  • Result exceeds max

Effects

Postconditions

  • Fee capped at maximum

This event has no data fields.

Code Examples

import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443

const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);

// Subscribe to BaseFeeOverflow events
client.finalizedBlock$.subscribe(async (block) => {
  const events = await api.event.BaseFee.BaseFeeOverflow.get(block.hash);
  for (const evt of events) {
    console.log("BaseFeeOverflow:", evt.payload);
  }
});

Runtime Info

Pallet Index
25
Event Index
1
First Version
v210
Current Version
v411