Skip to content

Commit 7973682

Browse files
committed
fixed gas type
1 parent b73f964 commit 7973682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/types/ITransaction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface ITransferRequest extends IBaseRequest {
4545
from: string
4646
to: string
4747
value: string
48-
gas?: string
48+
gas?: number
4949
gasPrice?: string
5050
maxFeePerGas?: string
5151
maxPriorityFeePerGas?: string
@@ -74,7 +74,7 @@ export interface IETHTransactionParams extends IBaseTransactionParams, IPrivateT
7474
interface IBaseTransactionParams {
7575
from?: string
7676
value?: string
77-
gas?: string
77+
gas?: number
7878
gasPrice?: string
7979
maxFeePerGas?: string
8080
maxPriorityFeePerGas?: string

0 commit comments

Comments
 (0)