trait_keylessFunction decode_named_account
Source pub fn decode_named_account(
account: &AccountId32,
) -> Result<(AppAgentId, AddressName), String>
Expand description
Decodes the provided keyless account and retrieves the AppAgentId and
AddressName.
§Arguments
account - The keyless account to be decoded.
§Returns
Returns a Result containing the decoded (AppAgentId, AddressName) if successful,
or a String if an error occurs during the decoding process.