ethereumjs-monorepo

@ethereumjs/tx


@ethereumjs/tx / JSONTx

Interface: JSONTx

Defined in: types.ts:593

Generic interface for all tx types with a JSON representation of a transaction.

Note that all values are marked as optional and not all the values are present on all tx types (an EIP1559 tx e.g. lacks a gasPrice).

Properties

accessList?

optional accessList: JSONAccessListItem[]

Defined in: types.ts:604


authorizationList?

optional authorizationList: EOACode7702AuthorizationList

Defined in: types.ts:605


blobVersionedHashes?

optional blobVersionedHashes: `0x${string}`[]

Defined in: types.ts:610


chainId?

optional chainId: `0x${string}`

Defined in: types.ts:603


data?

optional data: `0x${string}`

Defined in: types.ts:598


gasLimit?

optional gasLimit: `0x${string}`

Defined in: types.ts:596


gasPrice?

optional gasPrice: `0x${string}`

Defined in: types.ts:595


maxFeePerBlobGas?

optional maxFeePerBlobGas: `0x${string}`

Defined in: types.ts:609


maxFeePerGas?

optional maxFeePerGas: `0x${string}`

Defined in: types.ts:608


maxPriorityFeePerGas?

optional maxPriorityFeePerGas: `0x${string}`

Defined in: types.ts:607


nonce?

optional nonce: `0x${string}`

Defined in: types.ts:594


r?

optional r: `0x${string}`

Defined in: types.ts:600


s?

optional s: `0x${string}`

Defined in: types.ts:601


to?

optional to: `0x${string}`

Defined in: types.ts:597


type?

optional type: `0x${string}`

Defined in: types.ts:606


v?

optional v: `0x${string}`

Defined in: types.ts:599


value?

optional value: `0x${string}`

Defined in: types.ts:602


yParity?

optional yParity: `0x${string}`

Defined in: types.ts:611