Preparing search index...
The search index is not available
@xchainjs/xchain-evm-providers
@xchainjs/xchain-evm-providers
CovalentProvider
Class CovalentProvider
Implements
EvmOnlineDataProvider
Index
Constructors
constructor
Properties
api
Key
base
Url
chain
chain
Id
native
Asset
native
Asset
Decimals
Methods
build
Native
Tx
build
Non
Native
Tx
get
Balance
get
Fee
Rates
get
Transaction
Data
get
Transactions
get
Txs
Page
Constructors
constructor
new
Covalent
Provider
(
apiKey
,
chain
,
chainId
,
nativeAsset
,
nativeAssetDecimals
)
:
CovalentProvider
Parameters
apiKey
:
string
chain
:
string
chainId
:
number
nativeAsset
:
Asset
nativeAssetDecimals
:
number
Returns
CovalentProvider
Properties
Private
api
Key
api
Key
:
string
Private
base
Url
base
Url
:
string
= 'https://api.covalenthq.com'
Private
chain
chain
:
string
Private
chain
Id
chain
Id
:
number
Private
native
Asset
native
Asset
:
Asset
Private
native
Asset
Decimals
native
Asset
Decimals
:
number
Methods
Private
build
Native
Tx
build
Native
Tx
(
item
)
:
Tx
Parameters
item
:
CovalentGetTransactionsItem
Returns
Tx
Private
build
Non
Native
Tx
build
Non
Native
Tx
(
item
)
:
null
|
Tx
Parameters
item
:
CovalentGetTransactionsItem
Returns
null
|
Tx
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
>
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
Txs
Page
get
Txs
Page
(
params
)
:
Promise
<
Tx
[]
>
Parameters
params
:
CovalentgetTxsParams
Returns
Promise
<
Tx
[]
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
api
Key
base
Url
chain
chain
Id
native
Asset
native
Asset
Decimals
build
Native
Tx
build
Non
Native
Tx
get
Balance
get
Fee
Rates
get
Transaction
Data
get
Transactions
get
Txs
Page
@xchainjs/xchain-evm-providers
Loading...
Generated using
TypeDoc