Documentation
Github
Preparing search index...
filsnap-adapter-react
<internal>
State
Class State
Index
Constructors
constructor
Properties
snap
Methods
delete
get
has
set
Constructors
constructor
new
State
(
snap
:
SnapsProvider
)
:
State
Parameters
snap
:
SnapsProvider
Returns
State
Properties
snap
snap
:
SnapsProvider
Methods
delete
delete
(
origin
:
string
)
:
Promise
<
boolean
>
Parameters
origin
:
string
Returns
Promise
<
boolean
>
get
get
(
origin
:
string
,
)
:
Promise
<
|
undefined
|
{
derivationPath
:
string
;
network
:
Network
;
rpc
:
{
token
:
string
;
url
:
string
}
;
unit
?:
{
decimals
:
number
;
symbol
:
"FIL"
|
"tFIL"
}
;
}
,
>
Parameters
origin
:
string
Returns
Promise
<
|
undefined
|
{
derivationPath
:
string
;
network
:
Network
;
rpc
:
{
token
:
string
;
url
:
string
}
;
unit
?:
{
decimals
:
number
;
symbol
:
"FIL"
|
"tFIL"
}
;
}
,
>
has
has
(
origin
:
string
)
:
Promise
<
boolean
>
Parameters
origin
:
string
Returns
Promise
<
boolean
>
set
set
(
origin
:
string
,
config
:
{
derivationPath
:
string
;
network
:
Network
;
rpc
:
{
token
:
string
;
url
:
string
}
;
unit
?:
{
decimals
:
number
;
symbol
:
"FIL"
|
"tFIL"
}
;
}
,
)
:
Promise
<
{
derivationPath
:
string
;
network
:
Network
;
rpc
:
{
token
:
string
;
url
:
string
}
;
unit
?:
{
decimals
:
number
;
symbol
:
"FIL"
|
"tFIL"
}
;
}
,
>
Parameters
origin
:
string
config
:
{
derivationPath
:
string
;
network
:
Network
;
rpc
:
{
token
:
string
;
url
:
string
}
;
unit
?:
{
decimals
:
number
;
symbol
:
"FIL"
|
"tFIL"
}
;
}
Returns
Promise
<
{
derivationPath
:
string
;
network
:
Network
;
rpc
:
{
token
:
string
;
url
:
string
}
;
unit
?:
{
decimals
:
number
;
symbol
:
"FIL"
|
"tFIL"
}
;
}
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
snap
Methods
delete
get
has
set
Github
Documentation
Loading...