We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee9c4ee commit 1ba738aCopy full SHA for 1ba738a
src/server/schemas/transaction/index.ts
@@ -292,7 +292,10 @@ export const toTransactionSchema = (
292
toAddress: transaction.to ?? null,
293
data: transaction.data ?? null,
294
value: transaction.value.toString(),
295
- nonce: "nonce" in transaction ? transaction.nonce : null,
+ nonce:
296
+ "nonce" in transaction && transaction.nonce !== undefined
297
+ ? transaction.nonce
298
+ : null,
299
deployedContractAddress: transaction.deployedContractAddress ?? null,
300
deployedContractType: transaction.deployedContractType ?? null,
301
functionName: transaction.functionName ?? null,
0 commit comments