Skip to content

Commit

Permalink
tx: added EIP-2930 tx class documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerd77 committed Mar 6, 2021
1 parent e33a8a5 commit 18aa0d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/tx/src/eip2930Transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ type EIP2930ValuesArray = [
Buffer?
]

/**
* Typed transaction with optional access lists
*
* - TransactionType: 1
* - EIP: [EIP-2930](https://eips.ethereum.org/EIPS/eip-2930)
*/
export default class AccessListEIP2930Transaction extends BaseTransaction<AccessListEIP2930Transaction> {
public readonly chainId: BN
public readonly accessList: AccessListBuffer
Expand Down

0 comments on commit 18aa0d3

Please sign in to comment.