Queries

mev-shield-next-key

The MEV Shield ML-KEM-768 public key (0x-hex) used to encrypt shielded txs, or None.

View as Markdown

Category: Chain

Parameters

This read takes no parameters.

CLI

btcli query mev-shield-next-key --json

Python

Namespace method (autocomplete, signature help):

import bittensor as bt

sub = bt.Subtensor()
result = sub.chain.mev_shield_next_key()

Or dispatch by name, as an agent would:

result = sub.read("mev_shield_next_key")

Async is the same surface awaited: async with bt.Subtensor() as client:.

On-chain implementation

Every file is browsable under /code exactly as built into the runtime.