⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

author_rotateKeys – Mythos JSON-RPC Method

Requests that the node generate new session keys and return the concatenated public keys. Collators and authorities use this call when rotating consensus keys without restarting their infrastructure.

Parameters

This method takes no parameters.

Returns

FieldTypeDescription
resultstringHex-encoded SCALE payload containing the new session public keys.

Request Example

{
"jsonrpc": "2.0",
"method": "author_rotateKeys",
"params": [],
"id": 1
}

Usage Notes

  • The node must be configured with --key privileges and the RPC endpoint must be protected—never expose this call to untrusted clients.
  • After rotating keys, submit a new session key transaction on Mythos so the on-chain validator set picks up the change.
  • Pair with author_hasKey for additional safety checks when automating rotations.