ethereumjs-monorepo

@ethereumjs/tx


@ethereumjs/tx / JSONTx

Interface: JSONTx

Defined in: types.ts:538

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:549


authorizationList?

optional authorizationList: AuthorizationList

Defined in: types.ts:550


blobVersionedHashes?

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

Defined in: types.ts:555


chainId?

optional chainId: `0x${string}`

Defined in: types.ts:548


data?

optional data: `0x${string}`

Defined in: types.ts:543


gasLimit?

optional gasLimit: `0x${string}`

Defined in: types.ts:541


gasPrice?

optional gasPrice: `0x${string}`

Defined in: types.ts:540


maxFeePerBlobGas?

optional maxFeePerBlobGas: `0x${string}`

Defined in: types.ts:554


maxFeePerGas?

optional maxFeePerGas: `0x${string}`

Defined in: types.ts:553


maxPriorityFeePerGas?

optional maxPriorityFeePerGas: `0x${string}`

Defined in: types.ts:552


nonce?

optional nonce: `0x${string}`

Defined in: types.ts:539


r?

optional r: `0x${string}`

Defined in: types.ts:545


s?

optional s: `0x${string}`

Defined in: types.ts:546


to?

optional to: `0x${string}`

Defined in: types.ts:542


type?

optional type: `0x${string}`

Defined in: types.ts:551


v?

optional v: `0x${string}`

Defined in: types.ts:544


value?

optional value: `0x${string}`

Defined in: types.ts:547


yParity?

optional yParity: `0x${string}`

Defined in: types.ts:556