# get_account_by_id · FT4 Rell API · Chromia Docs (concept)

> @mount("ft4.get_ account_ by_ id")
query get_ account_ by_ id(id: byte_ array): immutable_ mirror_ struct< account >? Retrieves an account by its id. If no

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.external.accounts/get_account_by_id/

QUERY

# get\_account\_by\_id

```signature
@mount("ft4.get_account_by_id")
query get_account_by_id(id: byte_array): immutable_mirror_struct<account>?
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/external/accounts/queries.rell#lines-260)

Retrieves an account by its id. If no account with the specified
id exists, then this query will return `null`

**Parameters**

* **id** — id of the account to retrieve

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.external.accounts/get_account_by_id.html)Generated API reference, mirrored from the live docs
