Skip to main content

local_key_role

Function local_key_role 

Source
fn local_key_role(entry: &KeyEntry, is_admin: bool) -> &'static str
Expand description

Classify a local key entry’s role for display.

root when the key is the account EOA itself, admin when a decoded local authorization marks the key as a T6 admin key, otherwise access. This reflects only locally available data; use keychain is-admin for the authoritative on-chain role.