Search
Preparing search index...
The search index is not available
@earthwallet/sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
InjectedProvider
Interface InjectedProvider
Hierarchy
ProviderInterface
InjectedProvider
Index
Properties
has
Subscriptions
is
Connected
list
Providers
start
Provider
Methods
clone
connect
disconnect
on
send
subscribe
unsubscribe
Properties
Readonly
has
Subscriptions
has
Subscriptions
:
boolean
Readonly
is
Connected
is
Connected
:
boolean
list
Providers
list
Providers
:
(
)
=>
Promise
<
ProviderList
>
Type declaration
(
)
:
Promise
<
ProviderList
>
Returns
Promise
<
ProviderList
>
start
Provider
start
Provider
:
(
key
:
string
)
=>
Promise
<
ProviderMeta
>
Type declaration
(
key
:
string
)
:
Promise
<
ProviderMeta
>
Parameters
key:
string
Returns
Promise
<
ProviderMeta
>
Methods
clone
clone
(
)
:
ProviderInterface
Returns
ProviderInterface
connect
connect
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
disconnect
disconnect
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
on
on
(
type
:
ProviderInterfaceEmitted
, sub
:
ProviderInterfaceEmitCb
)
:
(
)
=>
void
Parameters
type:
ProviderInterfaceEmitted
sub:
ProviderInterfaceEmitCb
Returns
(
)
=>
void
(
)
:
void
Returns
void
send
send<T>
(
method
:
string
, params
:
unknown
[]
)
:
Promise
<
T
>
Type parameters
T =
any
Parameters
method:
string
params:
unknown
[]
Returns
Promise
<
T
>
subscribe
subscribe
(
type
:
string
, method
:
string
, params
:
unknown
[]
, cb
:
ProviderInterfaceCallback
)
:
Promise
<
number
|
string
>
Parameters
type:
string
method:
string
params:
unknown
[]
cb:
ProviderInterfaceCallback
Returns
Promise
<
number
|
string
>
unsubscribe
unsubscribe
(
type
:
string
, method
:
string
, id
:
number
|
string
)
:
Promise
<
boolean
>
Parameters
type:
string
method:
string
id:
number
|
string
Returns
Promise
<
boolean
>
Globals
Injected
Provider
has
Subscriptions
is
Connected
list
Providers
start
Provider
clone
connect
disconnect
on
send
subscribe
unsubscribe
Generated using
TypeDoc