SmartStorageAbility.set(key: string, value: T)
Requires:
@ray-js/panel-sdk≥1.0.0
Description
Store data for the specified key
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Storage key |
value | T | Yes | Value to store; its serialized length must not exceed 900 characters (256 or less is recommended) |
Return Value
Type: Promise<boolean>
Storage operation result