Search
Preparing search index...
The search index is not available
Home
WalletService
Class WalletService
Hierarchy
Service
WalletService
Index
Constructors
constructor
Properties
EOAAddress$
chain
chain
Id
provider
rpc
Bundler
Url
rpc
Url
wallet$
Accessors
EOAAddress
ether
Wallet
wallet
wallet
Provider
Methods
destroy
get
Wallet
Provider
init
sign
Message
sign
Typed
Data
Constructors
constructor
new
Wallet
Service
(
providerLike
:
WalletProviderLike
, options
:
WalletOptions
, rpcUrl
:
string
, chain
:
number
)
:
WalletService
Parameters
providerLike:
WalletProviderLike
options:
WalletOptions
rpcUrl:
string
chain:
number
Returns
WalletService
Properties
Readonly
EOAAddress$
EOAAddress$
:
Observable
<
string
>
chain
chain
:
number
Readonly
chain
Id
chain
Id
:
number
provider
provider
:
WalletProvider
Readonly
rpc
Bundler
Url
rpc
Bundler
Url
:
string
rpc
Url
rpc
Url
:
string
Readonly
wallet$
wallet$
:
ObjectSubject
<
Wallet
,
"address"
|
"providerType"
>
= new ObjectSubject<Wallet>()
Accessors
EOAAddress
get
EOAAddress
(
)
:
string
Returns
string
ether
Wallet
get
etherWallet
(
)
:
Partial
<
EtherWallet
>
Returns
Partial
<
EtherWallet
>
wallet
get
wallet
(
)
:
Wallet
Returns
Wallet
wallet
Provider
get
walletProvider
(
)
:
WalletProvider
Returns
WalletProvider
Methods
destroy
destroy
(
)
:
void
Returns
void
get
Wallet
Provider
get
Wallet
Provider
(
)
:
JsonRpcProvider
Returns
JsonRpcProvider
init
init
(
context
:
Context
)
:
void
Parameters
context:
Context
Returns
void
sign
Message
sign
Message
(
message
:
BytesLike
)
:
Promise
<
string
>
Parameters
message:
BytesLike
Returns
Promise
<
string
>
sign
Typed
Data
sign
Typed
Data
(
types
:
TypedDataField
[]
, message
:
any
, accountAddress
:
string
)
:
Promise
<
string
>
Parameters
types:
TypedDataField
[]
message:
any
accountAddress:
string
Returns
Promise
<
string
>
Globals
Wallet
Service
constructor
EOAAddress$
chain
chain
Id
provider
rpc
Bundler
Url
rpc
Url
wallet$
EOAAddress
ether
Wallet
wallet
wallet
Provider
destroy
get
Wallet
Provider
init
sign
Message
sign
Typed
Data