OPERATION
register_account
@mount("ft4.admin.register_account")
operation register_account(auth_descriptor: auth_descriptor)Registers a new account on this chain.
Throws if not signed by the admin.
Throws if the account cannot be created. Common cases include:
- errors with the
argsfield:- some required flags are missing
- in multi-sig auth descriptors, the
required_signaturesfield:- is 0 or less
- is greater than the number of signers
- errors with the
rulesfield:rulesis notnull.to_gtv().to_bytes()
Parameters
- auth_descriptor — the main auth descriptor for the account
© 2024 Chromia