diff --git a/src.ts/providers/format.ts b/src.ts/providers/format.ts index 51aff52017..c22f177273 100644 --- a/src.ts/providers/format.ts +++ b/src.ts/providers/format.ts @@ -168,7 +168,7 @@ const _formatTransactionReceipt = object({ cumulativeGasUsed: getBigInt, effectiveGasPrice: allowNull(getBigInt), status: allowNull(getNumber), - type: getNumber + type: allowNull(getNumber, 0) }, { effectiveGasPrice: [ "gasPrice" ], hash: [ "transactionHash" ],