api • Docs
near-sdk-js v2.0.0 / api / promiseResult
promiseResult(promiseIndex): string
promiseIndex
string
Returns the result of the NEAR promise for the passed promise index as utf-8 string
• promiseIndex: PromiseIndex
PromiseIndex
The index of the promise to return the result for.
packages/near-sdk-js/src/api.ts:844arrow-up-right
Last updated 1 year ago