[][src]Function casperlabs_contract::contract_api::runtime::get_key

pub fn get_key(name: &str) -> Option<Key>

Returns the requested named Key from the current context.

The current context is either the caller's account or a stored contract depending on whether the currently-executing module is a direct call or a sub-call respectively.