You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api.yaml
+80-24Lines changed: 80 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -35774,27 +35774,37 @@ components:
35774
35774
numBlocks:
35775
35775
type: integer
35776
35776
description: |
35777
-
(BTC only) Used to estimate the fee rate by targeting confirmation within the given number of blocks. If neither 'feeRate' nor 'numBlocks' is specified, a block target of 2 is used by default. Can be limited with 'maxFeeRate'.
35777
+
(BTC only) The number of blocks required to confirm a transaction. You can use 'numBlocks' to estimate the fee rate by targeting confirmation within a given number of blocks. If both 'feeRate' and 'numBlocks' are absent, the transaction defaults to 2 blocks for confirmation.
35778
+
35779
+
Note: The 'maxFeeRate' limits the fee rate generated by 'numBlocks'.
35778
35780
minimum: 2
35779
35781
maximum: 1000
35780
35782
feeRate:
35781
35783
allOf:
35782
35784
- $ref: '#/components/schemas/IntegerOrString'
35783
35785
- example: 10000
35784
35786
description: |
35785
-
Custom minimum fee rate in a coin's base unit per kilobyte (or virtual kilobyte)--for example, satoshis per kvByte or microAlgos per kByte. For xrp, it refers to the open ledger fee in drops (1 XRP = 1000000 drops) and the actual fee used is usually 4.5 times the open ledger fee. If the applied 'feeRate' does not meet a coin's required minimum transaction fee amount, the minimum is still applied (for example, 1000 sat/kvByte , a flat 1000 microAlgos or a flat 10 drops of xrp).
35787
+
Custom fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte.
35788
+
35789
+
If the 'feeRate' is less than the minimum required network fee, then the minimum fee applies. For example, 1000 sat/kvByte, a flat 1000 microAlgos, or a flat 10 drops of xrp. For XRP, the actual fee is usually 4.5 times the open ledger fee.
35790
+
35791
+
Note: The 'feeRate' overrides the 'maxFeeRate' and 'minFeeRate'.
Custom upper limit for fee rate in a coin's base unit per kilobyte (or virtual kilobyte)--for example, satoshis per kvByte or microAlgos per kByte. 'maxFeeRate' can be used to limit a fee rate estimate generated with 'numBlocks'.
35797
+
(BTC only) The maximum fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte. The 'maxFeeRate' limits the fee rate generated by both 'feeMultiplier' and 'numBlocks'.
35798
+
35799
+
Note: The 'feeRate' overrides the 'maxFeeRate'.
35792
35800
feeMultiplier:
35793
35801
allOf:
35794
35802
- $ref: '#/components/schemas/NumberOrString'
35795
35803
- example: 1.5
35796
35804
description: |
35797
-
Custom multiplier for fee rate. Suggested to be used in conjunction with 'maxFeeRate' for higher priority transactions, or transactions which may not be broadcast for some time after being built. If used together with 'rbfTxIds' (RBF), it acts as an absolute fee multiplier for the transaction to be replaced. Must be greater than 0. Must be a number and greater than 1 if used for RBF.
35805
+
(UTXO only) Custom multiplier to the 'feeRate'. The resulting fee rate is limited by the 'maxFeeRate'. For replace-by-fee (RBF) transactions (that include 'rbfTxIds'), the 'feeMultiplier' must be greater than 1, since it's an absolute fee multiplier to the transaction being replaced.
35806
+
35807
+
Note: The 'maxFeeRate' limits the fee rate generated by 'feeMultiplier'.
35798
35808
minConfirms:
35799
35809
type: integer
35800
35810
description: |
@@ -36152,13 +36162,19 @@ components:
36152
36162
- $ref: '#/components/schemas/IntegerOrString'
36153
36163
- example: 10000
36154
36164
description: |
36155
-
Custom minimum fee rate in a coin's base unit per kilobyte (or virtual kilobyte)--for example, satoshis per kvByte or microAlgos per kByte. If the applied 'feeRate' does not meet a coin's required minimum transaction fee amount, the minimum is still applied (for example, 1000 sat/kvByte or a flat 1000 microAlgos).
36165
+
Custom fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte.
36166
+
36167
+
If the 'feeRate' is less than the minimum required network fee, then the minimum fee applies. For example, 1000 sat/kvByte, a flat 1000 microAlgos, or a flat 10 drops of xrp. For XRP, the actual fee is usually 4.5 times the open ledger fee.
36168
+
36169
+
Note: The 'feeRate' overrides the 'maxFeeRate' and 'minFeeRate'.
Custom upper limit for fee rate in a coin's base unit per kilobyte (or virtual kilobyte)--for example, satoshis per kvByte or microAlgos per kByte. 'maxFeeRate' can be used to limit a fee rate estimate generated with 'numBlocks'.
36175
+
(BTC only) The maximum fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte. The 'maxFeeRate' limits the fee rate generated by both 'feeMultiplier' and 'numBlocks'.
36176
+
36177
+
Note: The 'feeRate' overrides the 'maxFeeRate'.
36162
36178
maxFeePercentage:
36163
36179
type: integer
36164
36180
description: Maximum relative portion that can be spent towards fees
@@ -36616,29 +36632,36 @@ components:
36616
36632
- error
36617
36633
- errorName
36618
36634
EstimateTransactionFees:
36619
-
title: General
36635
+
title: Bitcoin
36620
36636
type: object
36621
36637
properties:
36622
36638
feePerKb:
36623
36639
type: integer
36624
-
description: Fee per kilobyte for a transaction to be confirmed across two or more blocks. Defaults to 2 if 'numBlocks' is not provided in the request query.
36640
+
description: (BTC only) The fee (in base units) per kilobyte (or virtual kilobyte) required to confirm a transaction on 2 or more blocks.
36625
36641
example: 15902
36626
36642
cpfpFeePerKb:
36627
36643
type: integer
36628
-
description: Child-Pays-For-Parent (CPFP) fee per kilobyte where the fee includes the fees for all unconfirmed transactions dependent on this transaction.
36644
+
description: |
36645
+
(BTC only) Child-Pays-For-Parent (CPFP) fee (in base units) per kilobyte (or virtual kilobyte). Includes the fees for all unconfirmed transactions dependent on the CPFP transaction.
36629
36646
numBlocks:
36630
36647
type: integer
36631
-
description: The target block confirmation.
36648
+
description: |
36649
+
(BTC only) The number of blocks required to confirm a transaction. You can use 'numBlocks' to estimate the fee rate by targeting confirmation within a given number of blocks. If both 'feeRate' and 'numBlocks' are absent, the transaction defaults to 2 blocks for confirmation.
36650
+
36651
+
Note: The 'maxFeeRate' limits the fee rate generated by 'numBlocks'.
36632
36652
example: 2
36633
36653
confidence:
36634
36654
type: integer
36635
36655
minimum: 0
36636
36656
maximum: 100
36637
-
description: (BTC only) Confidence, as a percentage, in the accuracy of the fee estimate.
36657
+
description: (BTC only) The confidence (as a percentage) in the accuracy of the fee estimate.
36638
36658
example: 80
36639
36659
feeByBlockTarget:
36640
36660
type: object
36641
-
description: (BTC only) Fee estimates are stored as a key-value pair where the key is the block target (between 1 and 1000) and the value is the corresponding fee estimate (in baseunits per kilobyte).
36661
+
description: |
36662
+
(UTXO only) Custom multiplier to the 'feeRate'. The resulting fee rate is limited by the 'maxFeeRate'. For replace-by-fee (RBF) transactions (that include 'rbfTxIds'), the 'feeMultiplier' must be greater than 1, since it's an absolute fee multiplier to the transaction being replaced.
36663
+
36664
+
Note: The 'maxFeeRate' limits the fee rate generated by 'feeMultiplier'.
36642
36665
example:
36643
36666
'1': 50536
36644
36667
'2': 15902
@@ -36798,7 +36821,9 @@ components:
36798
36821
minimum: 1
36799
36822
- example: 1.5
36800
36823
description: |
36801
-
If used together with 'rbfTxIds' (RBF), it acts as an absolute fee multiplier for the transaction to be replaced - must be greater than 1.
36824
+
(UTXO only) Custom multiplier to the 'feeRate'. The resulting fee rate is limited by the 'maxFeeRate'. For replace-by-fee (RBF) transactions (that include 'rbfTxIds'), the 'feeMultiplier' must be greater than 1, since it's an absolute fee multiplier to the transaction being replaced.
36825
+
36826
+
Note: The 'maxFeeRate' limits the fee rate generated by 'feeMultiplier'.
36802
36827
ExpressAcceptShareRequest:
36803
36828
type: object
36804
36829
properties:
@@ -36926,13 +36951,19 @@ components:
36926
36951
- $ref: '#/components/schemas/IntegerOrString'
36927
36952
- example: 10000
36928
36953
description: |
36929
-
Custom minimum fee rate in a coin's base unit per kilobyte (or virtual kilobyte)--for example, satoshis per kvByte or microAlgos per kByte. If the applied 'feeRate' does not meet a coin's required minimum transaction fee amount, the minimum is still applied (for example, 1000 sat/kvByte or a flat 1000 microAlgos).
36954
+
Custom fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte.
36955
+
36956
+
If the 'feeRate' is less than the minimum required network fee, then the minimum fee applies. For example, 1000 sat/kvByte, a flat 1000 microAlgos, or a flat 10 drops of xrp. For XRP, the actual fee is usually 4.5 times the open ledger fee.
36957
+
36958
+
Note: The 'feeRate' overrides the 'maxFeeRate' and 'minFeeRate'.
Custom upper limit for fee rate in a coin's base unit per kilobyte (or virtual kilobyte)--for example, satoshis per kvByte or microAlgos per kByte. 'maxFeeRate' can be used to limit a fee rate estimate generated with 'numBlocks'.
36964
+
(BTC only) The maximum fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte. The 'maxFeeRate' limits the fee rate generated by both 'feeMultiplier' and 'numBlocks'.
36965
+
36966
+
Note: The 'feeRate' overrides the 'maxFeeRate'.
36936
36967
maxFeePercentage:
36937
36968
type: integer
36938
36969
description: Maximum relative portion that can be spent towards fees
@@ -37023,13 +37054,19 @@ components:
37023
37054
- $ref: '#/components/schemas/IntegerOrString'
37024
37055
- example: 10000
37025
37056
description: |
37026
-
Custom minimum fee rate in a coin's base unit per kilobyte (or virtual kilobyte)--for example, satoshis per kvByte or microAlgos per kByte. If the applied 'feeRate' does not meet a coin's required minimum transaction fee amount, the minimum is still applied (for example, 1000 sat/kvByte or a flat 1000 microAlgos).
37057
+
Custom fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte.
37058
+
37059
+
If the 'feeRate' is less than the minimum required network fee, then the minimum fee applies. For example, 1000 sat/kvByte, a flat 1000 microAlgos, or a flat 10 drops of xrp. For XRP, the actual fee is usually 4.5 times the open ledger fee.
37060
+
37061
+
Note: The 'feeRate' overrides the 'maxFeeRate' and 'minFeeRate'.
Custom upper limit for fee rate in a coin's base unit per kilobyte (or virtual kilobyte)--for example, satoshis per kvByte or microAlgos per kByte. 'maxFeeRate' can be used to limit a fee rate estimate generated with 'numBlocks'.
37067
+
(BTC only) The maximum fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte. The 'maxFeeRate' limits the fee rate generated by both 'feeMultiplier' and 'numBlocks'.
37068
+
37069
+
Note: The 'feeRate' overrides the 'maxFeeRate'.
37033
37070
maxFeePercentage:
37034
37071
type: integer
37035
37072
description: Maximum relative portion that can be spent towards fees
@@ -37445,7 +37482,11 @@ components:
37445
37482
- $ref: '#/components/schemas/IntegerOrString'
37446
37483
- example: 10000
37447
37484
description: |
37448
-
Custom minimum fee rate in a coin's base unit per kilobyte (or virtual kilobyte)--for example, satoshis per kvByte or microAlgos per kByte. If the applied 'feeRate' does not meet a coin's required minimum transaction fee amount, the minimum is still applied (for example, 1000 sat/kvByte or a flat 1000 microAlgos).
37485
+
Custom fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte.
37486
+
37487
+
If the 'feeRate' is less than the minimum required network fee, then the minimum fee applies. For example, 1000 sat/kvByte, a flat 1000 microAlgos, or a flat 10 drops of xrp. For XRP, the actual fee is usually 4.5 times the open ledger fee.
37488
+
37489
+
Note: The 'feeRate' overrides the 'maxFeeRate' and 'minFeeRate'.
37449
37490
payGoFee:
37450
37491
type: integer
37451
37492
description: BitGo fee of the transaction (in base units)
@@ -37507,13 +37548,19 @@ components:
37507
37548
- $ref: '#/components/schemas/IntegerOrString'
37508
37549
- example: 10000
37509
37550
description: |
37510
-
Custom minimum fee rate in a coin's base unit per kilobyte (or virtual kilobyte)--for example, satoshis per kvByte or microAlgos per kByte. If the applied 'feeRate' does not meet a coin's required minimum transaction fee amount, the minimum is still applied (for example, 1000 sat/kvByte or a flat 1000 microAlgos).
37551
+
Custom fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte.
37552
+
37553
+
If the 'feeRate' is less than the minimum required network fee, then the minimum fee applies. For example, 1000 sat/kvByte, a flat 1000 microAlgos, or a flat 10 drops of xrp. For XRP, the actual fee is usually 4.5 times the open ledger fee.
37554
+
37555
+
Note: The 'feeRate' overrides the 'maxFeeRate' and 'minFeeRate'.
Custom upper limit for fee rate in a coin's base unit per kilobyte (or virtual kilobyte)--for example, satoshis per kvByte or microAlgos per kByte. 'maxFeeRate' can be used to limit a fee rate estimate generated with 'numBlocks'.
37561
+
(BTC only) The maximum fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte. The 'maxFeeRate' limits the fee rate generated by both 'feeMultiplier' and 'numBlocks'.
37562
+
37563
+
Note: The 'feeRate' overrides the 'maxFeeRate'.
37517
37564
allowPartialSweep:
37518
37565
type: boolean
37519
37566
default: false
@@ -40459,21 +40506,27 @@ components:
40459
40506
nullable: true
40460
40507
example: 12000
40461
40508
description: |
40462
-
(UTXO only) Wallet-level minimum fee rate that must be greater than or equal to the default of 1000 satoshis/kvByte. Per transaction, you can override 'minFeeRate' with the 'feeRate' parameter.
40509
+
(BTC only) The minimum fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte. Must be greater than or equal to the default of 1000 satoshis/kvByte.
40510
+
40511
+
Note: The you can override 'minFeeRate' on a per transaction basis with the 'feeRate' parameter.
40463
40512
maxFeeRate:
40464
40513
type: integer
40465
40514
minimum: 1000
40466
40515
nullable: true
40467
40516
example: 18000
40468
40517
description: |
40469
-
(UTXO only) Wallet-level maximum fee rate that must be greater than or equal to the default of 1000 satoshis/kvByte. Per transaction, you can override 'maxFeeRate' with the 'feeRate' parameter.
40518
+
(BTC only) The maximum fee rate (in base units) per kilobyte (or virtual kilobyte). For example, satoshis per kvByte. The 'maxFeeRate' limits the fee rate generated by both 'feeMultiplier' and 'numBlocks'.
40519
+
40520
+
Note: The you can override 'maxFeeRate' on a per transaction basis with the 'feeRate' parameter.
40470
40521
feeMultiplier:
40471
40522
type: number
40472
40523
minimum: 1
40473
40524
nullable: true
40474
40525
example: 1.2
40475
40526
description: |
40476
-
(UTXO only) Wallet-level custom multiplier for fee rate that must be greater than 1. The default multiplier is 1.2. The maximum fee rate still limits the new fee.
40527
+
(UTXO only) Custom multiplier to the 'feeRate'. The resulting fee rate is limited by the 'maxFeeRate'. For replace-by-fee (RBF) transactions (that include 'rbfTxIds'), the 'feeMultiplier' must be greater than 1, since it's an absolute fee multiplier to the transaction being replaced.
40528
+
40529
+
Note: The 'maxFeeRate' limits the fee rate generated by 'feeMultiplier'.
description: Sets the target estimated number of blocks for a confirmation
50985
+
description: |
50986
+
(BTC only) The number of blocks required to confirm a transaction. You can use 'numBlocks' to estimate the fee rate by targeting confirmation within a given number of blocks. If both 'feeRate' and 'numBlocks' are absent, the transaction defaults to 2 blocks for confirmation.
50987
+
50988
+
Note: The 'maxFeeRate' limits the fee rate generated by 'numBlocks'.
0 commit comments