Preparing search index...
The search index is not available
Rarimo JavaScript/Typescript SDK
Rarimo JavaScript/Typescript SDK
@rarimo/providers-evm
EthersProvider
Class EthersProvider
Hierarchy
BaseEVMProvider
EthersProvider
Implements
ProviderProxy
Index
Constructors
constructor
Properties
#address?
#chain
Id?
#private
#provider
Accessors
address
chain
Id
chain
Type
emitter
is
Connected
provider
Type
Methods
#emit
Event
#set
Listeners
add
Chain
clear
Handlers
connect
emit
get
Address
Url
get
Tx
Url
get
Web3
Provider
init
on
Account
Changed
on
Chain
Changed
on
Connect
on
Disconnect
on
Initiated
sign
And
Send
Tx
switch
Chain
Constructors
constructor
new
Ethers
Provider
(
provider
?
)
:
EthersProvider
Parameters
Optional
provider
:
Web3Provider
Returns
EthersProvider
Properties
Private
Optional
#address
#address
?:
string
Private
Optional
#chain
Id
#chain
Id
?:
ChainId
Private
#private
#private
:
any
Private
Readonly
#provider
#provider
:
Web3Provider
Accessors
address
get
address
(
)
:
undefined
|
string
Returns
undefined
|
string
chain
Id
get
chainId
(
)
:
undefined
|
ChainId
Returns
undefined
|
ChainId
chain
Type
get
chainType
(
)
:
ChainTypes
Returns
ChainTypes
emitter
get
emitter
(
)
:
EventEmitter
<
ProviderEventMap
>
Returns
EventEmitter
<
ProviderEventMap
>
is
Connected
get
isConnected
(
)
:
boolean
Returns
boolean
Static
provider
Type
get
providerType
(
)
:
Providers
Returns
Providers
Methods
Private
#emit
Event
#emit
Event
(
event
)
:
void
Parameters
event
:
ProviderEventBusEvents
Returns
void
Private
#set
Listeners
#set
Listeners
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
add
Chain
add
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
,
payload
)
:
void
Parameters
event
:
ProviderEventBusEvents
payload
:
ProviderEventPayload
Returns
void
get
Address
Url
get
Address
Url
(
chain
,
address
)
:
string
Parameters
chain
:
Chain
address
:
string
Returns
string
get
Tx
Url
get
Tx
Url
(
chain
,
txHash
)
:
string
Parameters
chain
:
Chain
txHash
:
string
Returns
string
get
Web3
Provider
get
Web3
Provider
(
)
:
Web3Provider
Returns
Web3Provider
init
init
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
on
Account
Changed
on
Account
Changed
(
cb
)
:
void
Parameters
cb
:
ProviderEventCallback
Returns
void
on
Chain
Changed
on
Chain
Changed
(
cb
)
:
void
Parameters
cb
:
ProviderEventCallback
Returns
void
on
Connect
on
Connect
(
cb
)
:
void
Parameters
cb
:
ProviderEventCallback
Returns
void
on
Disconnect
on
Disconnect
(
cb
)
:
void
Parameters
cb
:
ProviderEventCallback
Returns
void
on
Initiated
on
Initiated
(
cb
)
:
void
Parameters
cb
:
ProviderEventCallback
Returns
void
sign
And
Send
Tx
sign
And
Send
Tx
(
tx
)
:
Promise
<
TransactionResponse
>
Parameters
tx
:
TransactionRequestBody
Returns
Promise
<
TransactionResponse
>
switch
Chain
switch
Chain
(
chainId
)
:
Promise
<
void
>
Parameters
chainId
:
ChainId
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
#address
#chain
Id
#private
#provider
address
chain
Id
chain
Type
emitter
is
Connected
provider
Type
#emit
Event
#set
Listeners
add
Chain
clear
Handlers
connect
emit
get
Address
Url
get
Tx
Url
get
Web3
Provider
init
on
Account
Changed
on
Chain
Changed
on
Connect
on
Disconnect
on
Initiated
sign
And
Send
Tx
switch
Chain
Rarimo
Java
Script/
Typescript SDK
@rarimo/bridge
@rarimo/client
@rarimo/nft-
checkout
@rarimo/provider
@rarimo/providers-
evm
Coinbase
Provider
Ethers
Provider
Metamask
Provider
Eth
Provider
Rpc
Error
@rarimo/providers-
near
@rarimo/providers-
solana
@rarimo/react-
nft-
checkout
@rarimo/react-
provider
@rarimo/shared
@rarimo/swap
Generated using
TypeDoc