참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
A FeeData wraps all the fee-related values associated with the network.

Constructors

new FeeData()

new FeeData(gasPrice?): FeeData
Creates a new FeeData for gasPrice.

Parameters

ParameterTypeDescription
gasPrice?null | bigintThe gas price.

Returns

FeeData

Source

providers/provider.ts:106

Properties

PropertyModifierTypeDescription
gasPricereadonlynull | bigintThe gas price for legacy networks.

Methods

toJSON()

toJSON(): any
Returns a JSON-friendly value.

Returns

any The JSON-friendly value.

Source

providers/provider.ts:117