From aa76013e20f34d83858034238f805c2d85c7bc78 Mon Sep 17 00:00:00 2001 From: David Kaplan Date: Tue, 13 Jan 2026 12:18:13 -0500 Subject: [PATCH] fix(express): allow string for feeRate BTC-0 TICKET: BTC-0 --- modules/express/src/typedRoutes/api/v2/sendCoins.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/express/src/typedRoutes/api/v2/sendCoins.ts b/modules/express/src/typedRoutes/api/v2/sendCoins.ts index 6b71cd4de7..56100fcf21 100644 --- a/modules/express/src/typedRoutes/api/v2/sendCoins.ts +++ b/modules/express/src/typedRoutes/api/v2/sendCoins.ts @@ -67,7 +67,7 @@ export const SendCoinsRequestBody = { numBlocks: optional(t.number), /** The desired fee rate for the transaction in base units per kilobyte (e.g., satoshis/kB) */ - feeRate: optional(t.number), + feeRate: optional(t.union([t.number, t.string])), /** Fee multiplier (multiplies the estimated fee by this factor) */ feeMultiplier: optional(t.number),