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

> function parse_ blockchains_ from_ gtv(gtv: gtv): allowlist Reads a GTV-encoded moduleArgs field containing blockchain RIDs. Throws "CONFIG ERROR" if the c

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

FUNCTION

# parse\_blockchains\_from\_gtv

```signature
function parse_blockchains_from_gtv(gtv: gtv): allowlist
```

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

Reads a GTV-encoded moduleArgs field containing blockchain RIDs.

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

* a list of values is received, alongside which `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_blockchains_from_gtv.html)Generated API reference, mirrored from the live docs
