ethereumjs-monorepo

@ethereumjs/tx


@ethereumjs/tx / isFeeMarket1559Tx

Function: isFeeMarket1559Tx()

isFeeMarket1559Tx(tx): tx is FeeMarket1559Tx

Defined in: types.ts:189

Type guard to check if transaction is a Fee Market EIP-1559 transaction

Parameters

tx

TypedTransaction

The transaction to check

Returns

tx is FeeMarket1559Tx

true if transaction is Fee Market EIP-1559 type