createTileDocument
A helper method that creates Ceramic TileDocuments.
How to use?
const res = await orbis.createTileDocument(content, tags, schema, family = "orbis", awaitIndex = false);Parameters
content-objectcontaining contents of the JSON to be created (must be serializable)tags-arrayoptionalan array of tags to apply to this stream (strings)schema-stringoptionalstream ID of the schema for the streamfamily-stringoptionalfamily of which this stream is a part of"orbis"by defaultawaitIndex-booleanoptionalwhether the method should wait for the stream to be indexed by Orbis Nodes before resolving
Returns
{
status: 200,
doc: "k...",
result: "Success creating TileDocument."
}