-
Notifications
You must be signed in to change notification settings - Fork 69
@liquality.evm.EvmMulticallProvider
Krasimir Raykov edited this page Mar 30, 2022
·
3 revisions
@liquality/evm.EvmMulticallProvider
• new EvmMulticallProvider(chainProvider
, chainId?
)
Name | Type | Default value |
---|---|---|
chainProvider |
BaseProvider |
undefined |
chainId |
number |
1 |
evm/lib/chain/EvmMulticallProvider.ts:37
▸ getEthBalance(address
): Promise
<BigNumber
>
Name | Type |
---|---|
address |
string |
Promise
<BigNumber
>
evm/lib/chain/EvmMulticallProvider.ts:46
▸ getMultipleBalances(address
, assets
): Promise
<BigNumber
[]>
Name | Type |
---|---|
address |
AddressType |
assets |
Asset [] |
Promise
<BigNumber
[]>
evm/lib/chain/EvmMulticallProvider.ts:50
▸ multicall<T
>(calls
): Promise
<T
>
Name | Type |
---|---|
T |
extends any [] = any [] |
Name | Type |
---|---|
calls |
readonly Call [] |
Promise
<T
>