Preparing search index...
The search index is not available
@lit-protocol/js-sdk
@lit-protocol/js-sdk
pkp-client/src
ethers
ethers
providers
JsonRpcProvider
Class JsonRpcProvider
Hierarchy
ethers
.
ethers
.
providers
.
BaseProvider
JsonRpcProvider
JsonRpcBatchProvider
StaticJsonRpcProvider
Web3Provider
WebSocketProvider
IpcProvider
Index
Constructors
constructor
Properties
_event
Loop
Cache
_next
Id
_pending
Filter
connection
Accessors
_cache
Methods
_start
Event
_start
Pending
_stop
Event
_uncached
Detect
Network
detect
Network
get
Signer
get
Unchecked
Signer
list
Accounts
perform
prepare
Request
send
default
Url
hexlify
Transaction
Constructors
constructor
new
Json
Rpc
Provider
(
url
?:
string
|
ConnectionInfo
, network
?:
Networkish
)
:
JsonRpcProvider
Parameters
Optional
url:
string
|
ConnectionInfo
Optional
network:
Networkish
Returns
JsonRpcProvider
Properties
_event
Loop
Cache
_event
Loop
Cache
:
Record
<
string
,
Promise
<
any
>
>
_next
Id
_next
Id
:
number
_pending
Filter
_pending
Filter
:
Promise
<
number
>
Readonly
connection
connection
:
ConnectionInfo
Accessors
_cache
get
_cache
(
)
:
Record
<
string
,
Promise
<
any
>
>
Returns
Record
<
string
,
Promise
<
any
>
>
Methods
_start
Event
_start
Event
(
event
:
Event
)
:
void
Parameters
event:
Event
Returns
void
_start
Pending
_start
Pending
(
)
:
void
Returns
void
_stop
Event
_stop
Event
(
event
:
Event
)
:
void
Parameters
event:
Event
Returns
void
_uncached
Detect
Network
_uncached
Detect
Network
(
)
:
Promise
<
Network
>
Returns
Promise
<
Network
>
detect
Network
detect
Network
(
)
:
Promise
<
Network
>
Returns
Promise
<
Network
>
get
Signer
get
Signer
(
addressOrIndex
?:
string
|
number
)
:
JsonRpcSigner
Parameters
Optional
addressOrIndex:
string
|
number
Returns
JsonRpcSigner
get
Unchecked
Signer
get
Unchecked
Signer
(
addressOrIndex
?:
string
|
number
)
:
UncheckedJsonRpcSigner
Parameters
Optional
addressOrIndex:
string
|
number
Returns
UncheckedJsonRpcSigner
list
Accounts
list
Accounts
(
)
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
perform
perform
(
method
:
string
, params
:
any
)
:
Promise
<
any
>
Parameters
method:
string
params:
any
Returns
Promise
<
any
>
prepare
Request
prepare
Request
(
method
:
string
, params
:
any
)
:
[
string
,
any
[]
]
Parameters
method:
string
params:
any
Returns
[
string
,
any
[]
]
send
send
(
method
:
string
, params
:
any
[]
)
:
Promise
<
any
>
Parameters
method:
string
params:
any
[]
Returns
Promise
<
any
>
Static
default
Url
default
Url
(
)
:
string
Returns
string
Static
hexlify
Transaction
hexlify
Transaction
(
transaction
:
TransactionRequest
, allowExtra
?:
{
[key:
string
]
:
boolean
;
}
)
:
{
[key:
string
]
:
string
|
AccessList
;
}
Parameters
transaction:
TransactionRequest
Optional
allowExtra:
{
[key:
string
]
:
boolean
;
}
[
key:
string
]:
boolean
Returns
{
[key:
string
]
:
string
|
AccessList
;
}
[
key:
string
]:
string
|
AccessList
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@lit-
protocol/js-
sdk
access-
control-
conditions/src
auth-
browser/src
cosmos
Connect
eth
Connect
sol
Connect
auth-
helpers/src
bls-
sdk/src
constants/src
contracts-
sdk/src
core/src
crypto/src
ecdsa-
sdk/src
encryption/src
lit-
auth-
client/src
lit-
node-
client-
nodejs/src
lit-
node-
client/src
logger/src
misc-
browser/src
misc/src
nacl/src
pkp-
base/src
pkp-
client/src
ethers
ethers
constants
providers
utils
RLP
base64
pkp-
cosmos/src
Long
pkp-
ethers/src
pkp-
sui/src
pkp-
walletconnect/src
sev-
snp-
utils-
sdk/src
types/src
uint8arrays/src
wrapped-
keys-
lit-
actions/src
wrapped-
keys/src
Json
Rpc
Provider
constructor
_event
Loop
Cache
_next
Id
_pending
Filter
connection
_cache
_start
Event
_start
Pending
_stop
Event
_uncached
Detect
Network
detect
Network
get
Signer
get
Unchecked
Signer
list
Accounts
perform
prepare
Request
send
default
Url
hexlify
Transaction
Generated using
TypeDoc