# promiseResultRaw

[**api**](https://limechain.gitbook.io/limechain-test/api) • **Docs**

***

[near-sdk-js v2.0.0](https://limechain.gitbook.io/limechain-test/packages) / [api](https://limechain.gitbook.io/limechain-test/api) / promiseResultRaw

## Function: promiseResultRaw()

> **promiseResultRaw**(`promiseIndex`): `Uint8Array`

Returns the result of the NEAR promise for the passed promise index.

### Parameters

• **promiseIndex**: [`PromiseIndex`](https://limechain.gitbook.io/limechain-test/utils/type-aliases/promiseindex)

The index of the promise to return the result for.

### Returns

`Uint8Array`

### Defined in

[packages/near-sdk-js/src/api.ts:822](https://github.com/dim-daskalov/near-sdk-js/blob/c95f5e9eab115df82feb9d8dca403e7b9c8c9534/packages/near-sdk-js/src/api.ts#L822)
