Preparing search index...
The search index is not available
Documentation
Documentation
@near-js/accounts
local-view-execution/storage
Storage
Class Storage
Hierarchy
Storage
Index
Constructors
constructor
Properties
block
Heights
cache
MAX_
ELEMENTS
Methods
load
save
Constructors
constructor
new
Storage
(
options
?
)
:
Storage
Parameters
options
:
StorageOptions
= ...
Returns
Storage
Properties
Private
block
Heights
block
Heights
:
Map
<
string
,
number
>
Private
Readonly
cache
cache
:
LRUMap
<
string
|
number
,
any
>
Private
Static
MAX_
ELEMENTS
MAX_
ELEMENTS
:
number
= 100
Methods
load
load
(
blockRef
)
:
StorageData
Parameters
blockRef
:
BlockReference
Returns
StorageData
save
save
(
blockHash
,
__namedParameters
)
:
void
Parameters
blockHash
:
string
__namedParameters
:
StorageData
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
block
Heights
cache
MAX_
ELEMENTS
load
save
Documentation
near-api-js - v2.1.4
@near-js/accounts - v0.1.4
@near-js/biometric-ed25519 - v0.4.0
@near-js/crypto - v0.0.5
@near-js/iframe-rpc - v0.0.2
@near-js/keystores - v0.0.5
@near-js/keystores-browser - v0.0.5
@near-js/keystores-node - v0.0.5
@near-js/providers - v0.0.7
@near-js/signers - v0.0.5
@near-js/transactions - v0.2.1
@near-js/types - v0.0.4
@near-js/utils - v0.0.4
@near-js/wallet-account - v0.0.7
Generated using
TypeDoc