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