Documentation
Docs24. `ktn_` Methods (18 Methods)

24. ktn_ Methods (18 Methods)

These methods expose Kortana-specific architecture. Tooling should treat these as progressive enhancements.

24.1 Node Info

  • ktn_nodeInfo: Returns the node's version, active plugins, and network configuration.
  • ktn_syncStatus: Returns detailed synchronization metrics (blocks/sec, peers syncing from).

24.2 dPOH

  • ktn_getPoHInfo: Returns the current dPOH sequence, the tick rate, and generator status.

24.3 Validators

  • ktn_getValidators: Returns the current active validator set and their consensus weights.
  • ktn_getValidatorInfo: Returns deep metrics for a specific validator (missed slots, uptime, associated keys).
  • ktn_validatorSetChange: Streams changes to the active validator set.

24.4 Staking

  • ktn_getStakingInfo: Returns global staking parameters, total bonded DNR, total unbonding, and current APY estimates.

24.5 Slashing

  • ktn_getEquivocationEvidence: Retrieves raw cryptographic proofs of a validator double-signing (equivocating). This payload is formatted specifically so it can be directly dropped into a ReportEquivocation (Type 0x40) transaction for slashing execution and reporter rewards.

24.6 Epochs

  • ktn_getEpochInfo: Returns the current epoch number, blocks remaining until the boundary, and pending reward distribution data.
  • ktn_newEpoch: Returns historical epoch boundary summaries.

24.7 Governance

  • ktn_getGovernanceProposals: Returns a list of active, passed, and rejected governance proposals.
  • ktn_getParamStore: Returns the current state of the on-chain parameters (e.g., minimum stake, slash percentage, base fee configuration).

24.8 Mempool

  • ktn_getMempoolInfo: Returns the number of pending transactions, current size in bytes, and median priority fee.

24.9 Addresses

  • ktn_addressInfo: A specialized endpoint that can resolve both secp256k1 (0x...) and Ed25519 (ktn:) address formats, returning their unified state trie data.

24.10 Transactions

  • ktn_sendTransaction: An alternative to eth_sendRawTransaction optimized for submitting native protocol transactions (Stake, Unstake, Governance).

24.11 Subscriptions

  • ktn_subscribe, ktn_unsubscribe: WebSocket commands for Kortana-specific events.

24.12 Admin

  • ktn_shutdown: Safely flushes the WAL and shuts down the kortanad process. Requires a bearer token.