Preparing search index...
The search index is not available
@xchainjs/xchain-evm-providers
@xchainjs/xchain-evm-providers
EtherscanProvider
Class EtherscanProvider
Hierarchy (
view full
)
EtherscanProvider
RoutescanProvider
Implements
EvmOnlineDataProvider
Index
Constructors
constructor
Properties
api
Key
base
Url
chain
native
Asset
native
Asset
Decimals
provider
Methods
get
Balance
get
Fee
Rates
get
Native
Asset
Balance
get
Token
Balance
get
Transaction
Data
get
Transactions
get
Unique
Contract
Addresses
Constructors
constructor
new
Etherscan
Provider
(
provider
,
baseUrl
,
apiKey
,
chain
,
nativeAsset
,
nativeAssetDecimals
)
:
EtherscanProvider
Parameters
provider
:
Provider
baseUrl
:
string
apiKey
:
string
chain
:
string
nativeAsset
:
Asset
nativeAssetDecimals
:
number
Returns
EtherscanProvider
Properties
Private
api
Key
api
Key
:
string
Protected
base
Url
base
Url
:
string
Protected
chain
chain
:
string
Protected
native
Asset
native
Asset
:
Asset
Protected
native
Asset
Decimals
native
Asset
Decimals
:
number
Private
provider
provider
:
Provider
Methods
get
Balance
get
Balance
(
address
,
assets
?
)
:
Promise
<
Balance
[]
>
Parameters
address
:
string
Optional
assets
:
Asset
[]
Returns
Promise
<
Balance
[]
>
get
Fee
Rates
get
Fee
Rates
(
)
:
Promise
<
FeeRates
>
Returns
Promise
<
FeeRates
>
Private
get
Native
Asset
Balance
get
Native
Asset
Balance
(
address
)
:
Promise
<
Balance
>
Parameters
address
:
string
Returns
Promise
<
Balance
>
Private
get
Token
Balance
get
Token
Balance
(
address
,
contractAddress
,
tokenTicker
)
:
Promise
<
Balance
>
Parameters
address
:
string
contractAddress
:
string
tokenTicker
:
string
Returns
Promise
<
Balance
>
get
Transaction
Data
get
Transaction
Data
(
txHash
,
assetAddress
?
)
:
Promise
<
Tx
>
Parameters
txHash
:
string
Optional
assetAddress
:
string
Returns
Promise
<
Tx
>
get
Transactions
get
Transactions
(
params
)
:
Promise
<
TxsPage
>
Parameters
params
:
TxHistoryParams
Returns
Promise
<
TxsPage
>
Private
get
Unique
Contract
Addresses
get
Unique
Contract
Addresses
(
array
)
:
ERC20Tx
[]
Parameters
array
:
ERC20Tx
[]
Returns
ERC20Tx
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
api
Key
base
Url
chain
native
Asset
native
Asset
Decimals
provider
get
Balance
get
Fee
Rates
get
Native
Asset
Balance
get
Token
Balance
get
Transaction
Data
get
Transactions
get
Unique
Contract
Addresses
@xchainjs/xchain-evm-providers
Loading...
Generated using
TypeDoc