# curveTypeFromStr

[**types/public\_key**](..) • **Docs**

***

[near-sdk-js v2.0.0](../../../packages) / [types/public\_key](..) / curveTypeFromStr

## Function: curveTypeFromStr()

> **curveTypeFromStr**(`value`): [`CurveType`](../enumerations/curvetype)

### Parameters

• **value**: `string`

### Returns

[`CurveType`](../enumerations/curvetype)

### Defined in

[packages/near-sdk-js/src/types/public\_key.ts:49](https://github.com/near/near-sdk-js/blob/b58ac04fc6dff2f1120e9098c0cb059493486598/packages/near-sdk-js/src/types/public_key.ts#L49)
