Function decode_app_agent_account

Source
pub fn decode_app_agent_account(
    account: &AccountId32,
) -> Result<AppAgentId, String>
Expand description

Decodes the provided keyless account and retrieves the corresponding AppAgentId.

§Arguments

  • account - The keyless account to be decoded.

§Returns

Returns a Result containing the AppAgentId decoded from the keyless account if successful, or a String if an error occurs during the decoding process.