Executed

Event v210 → current #0

Emitted when an Ethereum-format transaction is processed.

View events on chain
Useful for: developersanalyticswallets

The Big Picture

Bittensor supports Ethereum transactions via MetaMask, ethers.js, etc. This confirms Ethereum-format transactions were processed.

Use Cases

  • Track Ethereum tx confirmations
  • Build explorers
  • Monitor activity

From Chain Metadata

An ethereum transaction was successfully executed.

Triggers

Emitted by

Preconditions

  • Valid Ethereum tx
  • Signature valid
  • Sufficient gas balance

Effects

Postconditions

  • Tx in Ethereum block
  • Receipt generated

Side Effects

  • Updates CurrentTransactionStatuses
  • Updates CurrentReceipts

Event Data

#NameTypeDescription
0
from
H160 Sender's Ethereum address (H160)
1
to
H160 Recipient/contract address (H160)
2
transaction_hash
H256 Ethereum transaction hash (H256)
3
exit_reason
ExitReason Execution result (Succeed, Revert, Fatal, Error)
4
extra_data
Vec<u8> Vec Additional data like revert reason or return value

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 Executed events
client.finalizedBlock$.subscribe(async (block) => {
  const events = await api.event.Ethereum.Executed.get(block.hash);
  for (const evt of events) {
    console.log("Executed:", evt.payload);
  }
});

On-Chain Activity

Emission Frequency
●●●○○○ Active 100K–1M emissions

Regular feature-level activity

#32 most emitted event

As of block 7,429,232

Runtime Info

Pallet Index
21
Event Index
0
First Version
v210
Current Version
v411