-
Notifications
You must be signed in to change notification settings - Fork 69
@liquality.evm.EIP1559FeeProvider
Krasimir Raykov edited this page Mar 30, 2022
·
4 revisions
@liquality/evm.EIP1559FeeProvider
-
↳
EIP1559FeeProvider
• new EIP1559FeeProvider(provider
)
Name | Type |
---|---|
provider |
StaticJsonRpcProvider |
evm/lib/fee/EIP1559FeeProvider.ts:10
• gasUnits: BigNumber
client/dist/lib/Fee.d.ts:3
• provider: StaticJsonRpcProvider
evm/lib/fee/EIP1559FeeProvider.ts:8
▸ calculateMaxFeePerGas(maxPriorityFeePerGas
, potentialMaxFee
): BigNumber
Name | Type |
---|---|
maxPriorityFeePerGas |
BigNumber |
potentialMaxFee |
BigNumber |
BigNumber
evm/lib/fee/EIP1559FeeProvider.ts:28
▸ getBaseFeeMultiplier(baseFeeTrend
): 1.6
| 1.4
| 1.2
| 1.1
Name | Type |
---|---|
baseFeeTrend |
number |
1.6
| 1.4
| 1.2
| 1.1
evm/lib/fee/EIP1559FeeProvider.ts:15
▸ getFees(): Promise
<FeeDetails
>
Promise
<FeeDetails
>