ethereumjs-monorepo

@ethereumjs/tx


@ethereumjs/tx / createLegacyTxFromBytesArray

Function: createLegacyTxFromBytesArray()

createLegacyTxFromBytesArray(values, opts): LegacyTx

Defined in: legacy/constructors.ts:26

Create a transaction from an array of byte encoded values ordered according to the devp2p network encoding - format noted below.

Format: [nonce, gasPrice, gasLimit, to, value, data, v, r, s]

Parameters

values

LegacyTxValuesArray

opts

TxOptions = {}

Returns

LegacyTx