serializeValueWithOptions

utilsDocs


near-sdk-js v2.0.0 / utils / serializeValueWithOptions

Function: serializeValueWithOptions()

serializeValueWithOptions<DataType>(value, __namedParameters): Uint8Array

Type Parameters

DataType

Parameters

value: DataType

__namedParameters: Pick<GetOptions<DataType>, "serializer"> = ...

Returns

Uint8Array

Defined in

packages/near-sdk-js/src/utils.ts:150

Last updated