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

> function parse_ blockchain_ single_ value_ from_ gtv(gtv: gtv): (allow_ all: boolean, allowed_ value: byte_ array?) Reads a GTV-encoded moduleArgs field co

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

FUNCTION

# parse\_blockchain\_single\_value\_from\_gtv

```signature
function parse_blockchain_single_value_from_gtv(gtv: gtv): (allow_all: boolean, allowed_value: byte_array?)
```

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

Reads a GTV-encoded moduleArgs field containing a single blockchain RID.

Throws `"CONFIG ERROR"` if the RID cannot be parsed as hex `byte_array`

**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_blockchain_single_value_from_gtv.html)Generated API reference, mirrored from the live docs
