Last updated 5 months ago
• Docs
/ / fromJSON
fromJSON(json): Promise< | >
json
Promise
Convert a DAG-JSON encoded twine into a twine instance
This is one of the primary ways to read twine data.
Throws an error if the data is invalid.
string | object
string
object
Promise< | >
Chain
Pulse