ensure_account_without_auth

Finds or creates an account of specific type.

Can only be called from an operation.

Throws "MISMATCHING TYPE" if an account with given ID exists, but the type is not the one passed.

Parameters

account_id

account id to find

type

expected account type