abstract fun lookupSchemaJson(agent: Agent, schemaId: String): Single<String>
Retrieves the schema from ledger
agent
- for which to lookup the schema.
schemaId
- is the schema ID to lookup.
Return
schema Json:
{
id: identifier of schema
attrNames: array of attribute name strings
name: schema's name string
version: schema's version string,
ver: version of the Schema json
}