OnFlow.create_account

You're seeing just the function create_account, go back to OnFlow module for more information.
Link to this function

create_account(credentials, public_key)

View Source

Specs

create_account(OnFlow.Credentials.t(), hex_string()) ::
  {:ok, hex_string()} | transaction_result()

Creates a Flow account. Note that an existing account must be passed in as the first argument, since internally this is executed as a transaction on the existing account.

On success, it returns {:ok, address}, where address is a hex-encoded representation of the address.

On failure, it returns {:error, response} or {:error, :timeout}.