FUNCTION
parse_blockchains_from_gtv
function parse_blockchains_from_gtv(gtv: gtv): allowlistReads 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_REFare found - IDs cannot be parsed as hex
byte_arrays
Parameters
- gtv — the GTV-encoded configuration to parse
© 2024 Chromia