Skip to content

Commit f41d9d5

Browse files
Merge pull request #7894 from BitGo/BTC-0.fix-express-typed
fix(express): allow string for feeRate
2 parents dc8384e + aa76013 commit f41d9d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/express/src/typedRoutes/api/v2/sendCoins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const SendCoinsRequestBody = {
6767
numBlocks: optional(t.number),
6868

6969
/** The desired fee rate for the transaction in base units per kilobyte (e.g., satoshis/kB) */
70-
feeRate: optional(t.number),
70+
feeRate: optional(t.union([t.number, t.string])),
7171

7272
/** Fee multiplier (multiplies the estimated fee by this factor) */
7373
feeMultiplier: optional(t.number),

0 commit comments

Comments
 (0)