Preparing search index...
The search index is not available
@lit-protocol/js-sdk
@lit-protocol/js-sdk
pkp-client/src
ethers
ethers
providers
EtherscanProvider
Class EtherscanProvider
Hierarchy
ethers
.
ethers
.
providers
.
BaseProvider
EtherscanProvider
Index
Constructors
constructor
Properties
api
Key
base
Url
Methods
detect
Network
fetch
get
Base
Url
get
History
get
Post
Data
get
Post
Url
get
Url
is
Community
Resource
perform
Constructors
constructor
new
Etherscan
Provider
(
network
?:
Networkish
, apiKey
?:
string
)
:
EtherscanProvider
Parameters
Optional
network:
Networkish
Optional
apiKey:
string
Returns
EtherscanProvider
Properties
Readonly
api
Key
api
Key
:
string
Readonly
base
Url
base
Url
:
string
Methods
detect
Network
detect
Network
(
)
:
Promise
<
Network
>
Returns
Promise
<
Network
>
fetch
fetch
(
module
:
string
, params
:
Record
<
string
,
any
>
, post
?:
boolean
)
:
Promise
<
any
>
Parameters
module:
string
params:
Record
<
string
,
any
>
Optional
post:
boolean
Returns
Promise
<
any
>
get
Base
Url
get
Base
Url
(
)
:
string
Returns
string
get
History
get
History
(
addressOrName
:
string
|
Promise
<
string
>
, startBlock
?:
BlockTag
, endBlock
?:
BlockTag
)
:
Promise
<
TransactionResponse
[]
>
Parameters
addressOrName:
string
|
Promise
<
string
>
Optional
startBlock:
BlockTag
Optional
endBlock:
BlockTag
Returns
Promise
<
TransactionResponse
[]
>
get
Post
Data
get
Post
Data
(
module
:
string
, params
:
Record
<
string
,
any
>
)
:
Record
<
string
,
any
>
Parameters
module:
string
params:
Record
<
string
,
any
>
Returns
Record
<
string
,
any
>
get
Post
Url
get
Post
Url
(
)
:
string
Returns
string
get
Url
get
Url
(
module
:
string
, params
:
Record
<
string
,
string
>
)
:
string
Parameters
module:
string
params:
Record
<
string
,
string
>
Returns
string
is
Community
Resource
is
Community
Resource
(
)
:
boolean
Returns
boolean
perform
perform
(
method
:
string
, params
:
any
)
:
Promise
<
any
>
Parameters
method:
string
params:
any
Returns
Promise
<
any
>
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
Etherscan
Provider
constructor
api
Key
base
Url
detect
Network
fetch
get
Base
Url
get
History
get
Post
Data
get
Post
Url
get
Url
is
Community
Resource
perform
Generated using
TypeDoc