# types

**types** • **Docs**

***

[near-sdk-js v2.0.0](/near-sdk-js/packages.md) / types

## types

### References

#### AccountId

Re-exports [AccountId](/near-sdk-js/types/account_id/type-aliases/accountid.md)

***

#### Balance

Re-exports [Balance](/near-sdk-js/types/primitives/type-aliases/balance.md)

***

#### Base58Error

Re-exports [Base58Error](/near-sdk-js/types/public_key/classes/base58error.md)

***

#### BlockHeight

Re-exports [BlockHeight](/near-sdk-js/types/primitives/type-aliases/blockheight.md)

***

#### CurveType

Re-exports [CurveType](/near-sdk-js/types/public_key/enumerations/curvetype.md)

***

#### EpochHeight

Re-exports [EpochHeight](/near-sdk-js/types/primitives/type-aliases/epochheight.md)

***

#### Gas

Re-exports [Gas](/near-sdk-js/types/gas/type-aliases/gas.md)

***

#### GasWeight

Re-exports [GasWeight](/near-sdk-js/types/primitives/type-aliases/gasweight.md)

***

#### InvalidLengthError

Re-exports [InvalidLengthError](/near-sdk-js/types/public_key/classes/invalidlengtherror.md)

***

#### IteratorIndex

Re-exports [IteratorIndex](/near-sdk-js/types/vm_types/type-aliases/iteratorindex.md)

***

#### Nonce

Re-exports [Nonce](/near-sdk-js/types/primitives/type-aliases/nonce.md)

***

#### ONE\_NEAR

Re-exports [ONE\_NEAR](/near-sdk-js/types/primitives/variables/one_near.md)

***

#### ONE\_TERA\_GAS

Re-exports [ONE\_TERA\_GAS](/near-sdk-js/types/gas/variables/one_tera_gas.md)

***

#### ONE\_YOCTO

Re-exports [ONE\_YOCTO](/near-sdk-js/types/primitives/variables/one_yocto.md)

***

#### ParsePublicKeyError

Re-exports [ParsePublicKeyError](/near-sdk-js/types/public_key/classes/parsepublickeyerror.md)

***

#### PromiseError

Re-exports [PromiseError](/near-sdk-js/types/vm_types/enumerations/promiseerror.md)

***

#### PromiseResult

Re-exports [PromiseResult](/near-sdk-js/types/vm_types/enumerations/promiseresult.md)

***

#### PublicKey

Re-exports [PublicKey](/near-sdk-js/types/public_key/classes/publickey.md)

***

#### ReceiptIndex

Re-exports [ReceiptIndex](/near-sdk-js/types/vm_types/type-aliases/receiptindex.md)

***

#### StorageUsage

Re-exports [StorageUsage](/near-sdk-js/types/primitives/type-aliases/storageusage.md)

***

#### UnknownCurve

Re-exports [UnknownCurve](/near-sdk-js/types/public_key/classes/unknowncurve.md)

***

#### curveTypeFromStr

Re-exports [curveTypeFromStr](/near-sdk-js/types/public_key/functions/curvetypefromstr.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://near-sdk-js.gitbook.io/near-sdk-js/types.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
