Providers
FeeData
A FeeData wraps all the fee-related values associated with the network.
Constructors
new FeeData()
Creates a new FeeData for gasPrice
.
Parameters
Parameter | Type | Description |
---|---|---|
gasPrice ? | null | bigint | The gas price. |
Returns
Source
Properties
Property | Modifier | Type | Description |
---|---|---|---|
gasPrice | readonly | null | bigint | The gas price |
Methods
toJSON()
Returns a JSON-friendly value.
Returns
any
The JSON-friendly value.
Source
Was this page helpful?