pub fn decode_account(account: AccountId32) -> BlockchainAddressInfo
Expand description
Decodes and verifies the correctness of a keyless account.
§Arguments
account
- The keyless account to be decoded and verified.
§Returns
Returns a Result
containing the decoded open part of the keyless account as a tuple of
(AddressType, AppAgentId, Option<TransactionalId>, Option<AddressName>)
if the decoding and verification are successful,
or a String
if an error occurs during decoding or verification.