From 2f8c462dce8c2e562c2f865365d9ad53452b50fe Mon Sep 17 00:00:00 2001 From: Igor Artamonov Date: Wed, 18 Dec 2024 20:18:38 +0000 Subject: [PATCH] problem: some fields should be optional (ex. for a gas estimation) --- packages/core/src/transaction/ethereum.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/transaction/ethereum.ts b/packages/core/src/transaction/ethereum.ts index e50093c22..5b640900c 100644 --- a/packages/core/src/transaction/ethereum.ts +++ b/packages/core/src/transaction/ethereum.ts @@ -7,11 +7,11 @@ export const DEFAULT_GAS_LIMIT_ERC20 = 60000 as const; export interface EthereumBasicTransaction { data?: string; from?: string; - gas?: number | string; + gas?: string; gasPrice?: string; maxFeePerGas?: string; maxPriorityFeePerGas?: string; - to: string; + to?: string; value?: string; }