@fuel-ts/account v0.94.6 • Docs
Class: abstract
StorageAbstract
Constructors
new StorageAbstract()
new StorageAbstract():
StorageAbstract
Returns
Methods
clear()
abstract
clear():Promise
<void
>
Returns
Promise
<void
>
Defined in
packages/account/src/wallet-manager/types.ts:66
getItem()
abstract
getItem(key
):Promise
<undefined
|null
|string
>
Parameters
• key: string
Returns
Promise
<undefined
| null
| string
>
Defined in
packages/account/src/wallet-manager/types.ts:64
removeItem()
abstract
removeItem(key
):Promise
<void
>
Parameters
• key: string
Returns
Promise
<void
>
Defined in
packages/account/src/wallet-manager/types.ts:65
setItem()
abstract
setItem(key
,value
):Promise
<void
>
Parameters
• key: string
• value: string
Returns
Promise
<void
>
Defined in
packages/account/src/wallet-manager/types.ts:63