FUNCTION

create_account_without_auth

function create_account_without_auth(account_id: byte_array, type: text): account

Creates an account without auth descriptor. Used to create different "system" account types that cannot be directly accessed, e.g. POOL, FEE, BLOCKCHAIN, ... accounts.

Can only be called from an operation.

Parameters

  • account_id — the created account id
  • type — account type specified as a free form text. Usually uppercase.
© 2024 Chromia