GasInfo
Gas-related information for a transaction including limits, prices, and actual usage. Supports both legacy (pre-EIP-1559) and EIP-1559 transaction types.
Schema Definition
type GasInfo {
limit: Gas!
price: Wei!
used: Gas
feeCap: Wei
tipCap: Wei
}
Fields
| Field | Type | Description |
|---|---|---|
limit | Maximum gas units the sender authorized the transaction to consume. | |
price | Gas price in wei. For EIP-1559 transactions, this is the effective gas price paid. | |
used | Gas scalar | Actual gas units consumed by the transaction execution, or null if transaction is pending. |
feeCap | Wei scalar | Maximum total fee per gas the sender was willing to pay (EIP-1559 transactions only). |
tipCap | Wei scalar | Maximum priority fee (tip) per gas for the validator (EIP-1559 transactions only). |
Member Of
BlockTransaction object ● Transaction object