注意: 此页面尚未翻译成中文。以下内容为英文原版。A FeeData wraps all the fee-related values associated with the network.
Constructors
new FeeData()
gasPrice.
Parameters
| Parameter | Type | Description |
|---|---|---|
gasPrice? | null | bigint | The gas price. |
Returns
FeeData
Source
providers/provider.ts:106Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
gasPrice | readonly | null | bigint | The gas price for legacy networks. |
Methods
toJSON()
Returns
any
The JSON-friendly value.
