Preparing search index...
The search index is not available
TokenE | Webkit
TokenE | Webkit
@tokene/vue-web3-provider
TokenEProvider
Class TokenEProvider
Hierarchy
BaseEVMProvider
TokenEProvider
Implements
ProviderProxy
Index
Constructors
constructor
Properties
#private
#private
Accessors
address
chain
Id
chain
Type
emitter
is
Connected
raw
Provider
provider
Type
Methods
add
Chain
clear
Handlers
connect
emit
get
Address
Url
get
Hash
From
Tx
get
Tx
Url
init
on
Account
Changed
on
Before
Tx
Sent
on
Chain
Changed
on
Connect
on
Disconnect
on
Initiated
on
Tx
Confirmed
on
Tx
Sent
sign
And
Send
Tx
sign
Message
switch
Chain
Constructors
constructor
new
TokenEProvider
(
provider
:
RawProvider
)
:
TokenEProvider
Parameters
provider:
RawProvider
Returns
TokenEProvider
Properties
Private
#private
#private
:
any
Private
#private
#private
:
any
Accessors
address
get
address
(
)
:
undefined
|
string
Returns
undefined
|
string
chain
Id
get
chainId
(
)
:
undefined
|
ChainId
Returns
undefined
|
ChainId
chain
Type
get
chainType
(
)
:
CHAIN_TYPES
Returns
CHAIN_TYPES
emitter
get
emitter
(
)
:
EventEmitter
<
ProviderEventMap
>
Returns
EventEmitter
<
ProviderEventMap
>
is
Connected
get
isConnected
(
)
:
boolean
Returns
boolean
raw
Provider
get
rawProvider
(
)
:
RawProvider
Returns
RawProvider
Static
provider
Type
get
providerType
(
)
:
TokenE
Returns
TokenE
Methods
add
Chain
add
Chain
(
chain
:
Chain
)
:
Promise
<
void
>
Parameters
chain:
Chain
Returns
Promise
<
void
>
clear
Handlers
clear
Handlers
(
)
:
void
Returns
void
connect
connect
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
emit
emit
(
event
:
PROVIDER_EVENT_BUS_EVENTS
, payload
:
ProviderEventPayload
)
:
void
Parameters
event:
PROVIDER_EVENT_BUS_EVENTS
payload:
ProviderEventPayload
Returns
void
get
Address
Url
get
Address
Url
(
chain
:
Chain
, address
:
string
)
:
string
Parameters
chain:
Chain
address:
string
Returns
string
get
Hash
From
Tx
get
Hash
From
Tx
(
txResponse
:
TransactionResponse
)
:
string
Parameters
txResponse:
TransactionResponse
Returns
string
get
Tx
Url
get
Tx
Url
(
chain
:
Chain
, txHash
:
string
)
:
string
Parameters
chain:
Chain
txHash:
string
Returns
string
init
init
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
on
Account
Changed
on
Account
Changed
(
cb
:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
)
:
void
Parameters
cb:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
(
e
?:
ProviderEventPayload
)
:
void
Parameters
Optional
e:
ProviderEventPayload
Returns
void
Returns
void
on
Before
Tx
Sent
on
Before
Tx
Sent
(
cb
:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
)
:
void
Parameters
cb:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
(
e
?:
ProviderEventPayload
)
:
void
Parameters
Optional
e:
ProviderEventPayload
Returns
void
Returns
void
on
Chain
Changed
on
Chain
Changed
(
cb
:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
)
:
void
Parameters
cb:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
(
e
?:
ProviderEventPayload
)
:
void
Parameters
Optional
e:
ProviderEventPayload
Returns
void
Returns
void
on
Connect
on
Connect
(
cb
:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
)
:
void
Parameters
cb:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
(
e
?:
ProviderEventPayload
)
:
void
Parameters
Optional
e:
ProviderEventPayload
Returns
void
Returns
void
on
Disconnect
on
Disconnect
(
cb
:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
)
:
void
Parameters
cb:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
(
e
?:
ProviderEventPayload
)
:
void
Parameters
Optional
e:
ProviderEventPayload
Returns
void
Returns
void
on
Initiated
on
Initiated
(
cb
:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
)
:
void
Parameters
cb:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
(
e
?:
ProviderEventPayload
)
:
void
Parameters
Optional
e:
ProviderEventPayload
Returns
void
Returns
void
on
Tx
Confirmed
on
Tx
Confirmed
(
cb
:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
)
:
void
Parameters
cb:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
(
e
?:
ProviderEventPayload
)
:
void
Parameters
Optional
e:
ProviderEventPayload
Returns
void
Returns
void
on
Tx
Sent
on
Tx
Sent
(
cb
:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
)
:
void
Parameters
cb:
(
(
e
?:
ProviderEventPayload
)
=>
void
)
(
e
?:
ProviderEventPayload
)
:
void
Parameters
Optional
e:
ProviderEventPayload
Returns
void
Returns
void
sign
And
Send
Tx
sign
And
Send
Tx
(
tx
:
TxRequestBody
)
:
Promise
<
TransactionResponse
>
Parameters
tx:
TxRequestBody
Returns
Promise
<
TransactionResponse
>
sign
Message
sign
Message
(
message
:
string
)
:
Promise
<
string
>
Parameters
message:
string
Returns
Promise
<
string
>
switch
Chain
switch
Chain
(
chainId
:
ChainId
)
:
Promise
<
void
>
Parameters
chainId:
ChainId
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Token
E |
Webkit
@tokene/sdk
factories
@tokene/styles
@tokene/toasts
@tokene/toolkit
@tokene/ui-
kit
@tokene/vue-
web3-
provider
TokenEProvider
constructor
#private
#private
address
chain
Id
chain
Type
emitter
is
Connected
raw
Provider
provider
Type
add
Chain
clear
Handlers
connect
emit
get
Address
Url
get
Hash
From
Tx
get
Tx
Url
init
on
Account
Changed
on
Before
Tx
Sent
on
Chain
Changed
on
Connect
on
Disconnect
on
Initiated
on
Tx
Confirmed
on
Tx
Sent
sign
And
Send
Tx
sign
Message
switch
Chain
Generated using
TypeDoc