upSubstateValue
upSubstateValue(
response):SubstateValue|null
Defined in: ootle/src/helpers/substate.ts:16
The decoded value of a fetched substate, or null if the indexer answered that the
requested version is down (only possible for a request with include_proof
that names the version).
The indexer serves the value CBOR-encoded (state.up.substate is base64); this decodes it.
Parameters
Section titled “Parameters”response
Section titled “response”IndexerGetSubstateResponse
Returns
Section titled “Returns”SubstateValue | null
Throws
Section titled “Throws”if the served value is not a valid SubstateValue encoding.