trait_keyless

Function decode_transactional_account

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

Decodes the provided keyless account and retrieves the AppAgentId and TransactionalId.

§Arguments

  • account - The keyless account to be decoded.

§Returns

Returns a Result containing the decoded (AppAgentId, TransactionalId) if successful, or a String if an error occurs during the decoding process.