get_account_main_auth_descriptor
@mount("ft4.get_account_main_auth_descriptor")
query get_account_main_auth_descriptor(account_id: byte_array): (id: byte_array, account_id: byte_array, auth_type: auth_type, args: gtv, rules: gtv, created: integer)(source)
Retrieves the main auth descriptor of an account.
Throws an error if there is no main auth descriptor associated with the account. Common cases include:
the provided account id is the id of a system or lock account
there was a bug in the dapp code which deleted the main auth descriptor of a user account without adding a new one
Parameters
account_id
id of the account to fetch main auth descriptor of