Skip to content

Commit bbc7c81

Browse files
committed
fix: type
1 parent 170366e commit bbc7c81

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/api/requests/withdrawals/v1.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ const Schema = {
7777
description:
7878
"The transaction fee taken out of the specified relayer UTXOs",
7979
}),
80+
feeRate: Type.Number({
81+
description: "The transaction fee rate in satoshis per byte",
82+
}),
8083
}),
8184
),
8285
"hyperliquid-vm": Type.Optional(

src/api/requests/withdrawals/v2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const Schema = {
5454
},
5555
),
5656
),
57-
feeRate: Type.String({
57+
feeRate: Type.Number({
5858
description: "The transaction fee rate in satoshis per byte",
5959
}),
6060
}),

src/services/request-handler/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ type AdditionalDataBitcoinVm = {
6161
relayerUtxos?: { txid: string; vout: number; value: string }[];
6262
transactionFee?: string;
6363
// Used by onchain allocator
64-
feeRate?: string;
64+
feeRate?: number;
6565
};
6666

6767
type AdditionalDataHyperliquidVm = {

0 commit comments

Comments
 (0)