resolve_action_addr

Function resolve_action_addr 

Source
pub fn resolve_action_addr<T>(addr: &T) -> Result<HoloHash<Action>, WasmError>
Expand description

Resolve an AnyLinkableHash into an ActionHash

If the linkable’s primitive is a

  • Action - the action hash is simply returned
  • Entry - the action hash is pulled from the result of a get
  • External - results in an error