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

> function parse_ account_ ids_ from_ gtv(gtv: gtv): (allowlist: allowlist , require_ same: boolean) Reads a GTV-encoded moduleArgs field containing account 

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies/parse_account_ids_from_gtv/

FUNCTION

# parse\_account\_ids\_from\_gtv

```signature
function parse_account_ids_from_gtv(gtv: gtv): (allowlist: allowlist, require_same: boolean)
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/accounts/strategies/config_utils.rell#lines-116)

Reads a GTV-encoded moduleArgs field containing account IDs.

Throws `"CONFIG ERROR"` if the config cannot be parsed. Common cases are:

* a list of values is received, alongside which `CURRENT_ACCOUNT_REF` or `ANY_REF` are found
* IDs cannot be parsed as hex `byte_array`s

**Parameters**

* **gtv** — the GTV-encoded configuration to parse

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