pub fn encode_app_agent_account(app_agent_id: &AppAgentId) -> AccountId32
Expand description
Builds a keyless account for the specified AppAgentId
.
The structure of an AppAgent account: [0..=3] -> AppAgentId [4..4] -> Address type identifier (1) [5..=31] -> Checksum
§Arguments
app_agent_id
- TheAppAgentId
used to build the keyless account.
§Returns
Returns the built keyless account as an AccountId32