tupelo-wasm-sdk

Home > tupelo-wasm-sdk > ChainTree > resolveData

ChainTree.resolveData() method

resolveData is the mirror image of setData. It starts at the data section of a ChainTree. This allows you to ignore the “tree/data” part of a path (as is done in setData)

Signature:

resolveData(path: string): Promise<import("./dag/dag").IResolveResponse>;

Parameters

Parameter Type Description
path string the path (starting after /tree/data) you want to resolve

Returns:

Promise<import("./dag/dag").IResolveResponse>