ethereumjs-monorepo

@ethereumjs/tx / JsonTx

Interface: JsonTx

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).

Table of contents

Properties

Properties

accessList

Optional accessList: JsonAccessListItem[]

Defined in

tx/src/types.ts:450


blobVersionedHashes

Optional blobVersionedHashes: string[]

Defined in

tx/src/types.ts:455


chainId

Optional chainId: string

Defined in

tx/src/types.ts:449


data

Optional data: string

Defined in

tx/src/types.ts:444


gasLimit

Optional gasLimit: string

Defined in

tx/src/types.ts:442


gasPrice

Optional gasPrice: string

Defined in

tx/src/types.ts:441


maxFeePerBlobGas

Optional maxFeePerBlobGas: string

Defined in

tx/src/types.ts:454


maxFeePerGas

Optional maxFeePerGas: string

Defined in

tx/src/types.ts:453


maxPriorityFeePerGas

Optional maxPriorityFeePerGas: string

Defined in

tx/src/types.ts:452


nonce

Optional nonce: string

Defined in

tx/src/types.ts:440


r

Optional r: string

Defined in

tx/src/types.ts:446


s

Optional s: string

Defined in

tx/src/types.ts:447


to

Optional to: string

Defined in

tx/src/types.ts:443


type

Optional type: string

Defined in

tx/src/types.ts:451


v

Optional v: string

Defined in

tx/src/types.ts:445


value

Optional value: string

Defined in

tx/src/types.ts:448