tupelo-wasm-sdk

Home > tupelo-wasm-sdk > Dag > resolveAt

Dag.resolveAt() method

Similar to resolve, but allows you to start at a specific tip of a dag rather than the current tip.

Signature:

resolveAt(tip: CID, path: Array<string> | string): Promise<IResolveResponse>;

Parameters

Parameter Type Description
tip CID The tip of the dag to start at
path Array<string> | string the path to find the value. Array form is deprecated, use string form (eg /path/to/data) instead

Returns:

Promise<IResolveResponse>