ethereumjs-monorepo

@ethereumjs/tx


@ethereumjs/tx / isAccessList2930Tx

Function: isAccessList2930Tx()

isAccessList2930Tx(tx): tx is AccessList2930Tx

Defined in: types.ts:180

Type guard to check if transaction is an AccessList EIP-2930 transaction

Parameters

tx

TypedTransaction

The transaction to check

Returns

tx is AccessList2930Tx

true if transaction is AccessList EIP-2930 type