Skip to content

Commit e18802b

Browse files
feat: update bitgo-api-docs
This commit updates the BitGo API.
1 parent c4e55f2 commit e18802b

File tree

1 file changed

+80
-24
lines changed

1 file changed

+80
-24
lines changed

api.yaml

Lines changed: 80 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -35774,27 +35774,37 @@ components:
3577435774
numBlocks:
3577535775
type: integer
3577635776
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'.
3577835780
minimum: 2
3577935781
maximum: 1000
3578035782
feeRate:
3578135783
allOf:
3578235784
- $ref: '#/components/schemas/IntegerOrString'
3578335785
- example: 10000
3578435786
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'.
3578635792
maxFeeRate:
3578735793
allOf:
3578835794
- $ref: '#/components/schemas/IntegerOrIntegerString'
3578935795
- example: 20000
3579035796
description: |
35791-
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'.
3579235800
feeMultiplier:
3579335801
allOf:
3579435802
- $ref: '#/components/schemas/NumberOrString'
3579535803
- example: 1.5
3579635804
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'.
3579835808
minConfirms:
3579935809
type: integer
3580035810
description: |
@@ -36152,13 +36162,19 @@ components:
3615236162
- $ref: '#/components/schemas/IntegerOrString'
3615336163
- example: 10000
3615436164
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'.
3615636170
maxFeeRate:
3615736171
allOf:
3615836172
- $ref: '#/components/schemas/IntegerOrIntegerString'
3615936173
- example: 20000
3616036174
description: |
36161-
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'.
3616236178
maxFeePercentage:
3616336179
type: integer
3616436180
description: Maximum relative portion that can be spent towards fees
@@ -36616,29 +36632,36 @@ components:
3661636632
- error
3661736633
- errorName
3661836634
EstimateTransactionFees:
36619-
title: General
36635+
title: Bitcoin
3662036636
type: object
3662136637
properties:
3662236638
feePerKb:
3662336639
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.
3662536641
example: 15902
3662636642
cpfpFeePerKb:
3662736643
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.
3662936646
numBlocks:
3663036647
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'.
3663236652
example: 2
3663336653
confidence:
3663436654
type: integer
3663536655
minimum: 0
3663636656
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.
3663836658
example: 80
3663936659
feeByBlockTarget:
3664036660
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'.
3664236665
example:
3664336666
'1': 50536
3664436667
'2': 15902
@@ -36798,7 +36821,9 @@ components:
3679836821
minimum: 1
3679936822
- example: 1.5
3680036823
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'.
3680236827
ExpressAcceptShareRequest:
3680336828
type: object
3680436829
properties:
@@ -36926,13 +36951,19 @@ components:
3692636951
- $ref: '#/components/schemas/IntegerOrString'
3692736952
- example: 10000
3692836953
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'.
3693036959
maxFeeRate:
3693136960
allOf:
3693236961
- $ref: '#/components/schemas/IntegerOrIntegerString'
3693336962
- example: 20000
3693436963
description: |
36935-
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'.
3693636967
maxFeePercentage:
3693736968
type: integer
3693836969
description: Maximum relative portion that can be spent towards fees
@@ -37023,13 +37054,19 @@ components:
3702337054
- $ref: '#/components/schemas/IntegerOrString'
3702437055
- example: 10000
3702537056
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'.
3702737062
maxFeeRate:
3702837063
allOf:
3702937064
- $ref: '#/components/schemas/IntegerOrIntegerString'
3703037065
- example: 20000
3703137066
description: |
37032-
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'.
3703337070
maxFeePercentage:
3703437071
type: integer
3703537072
description: Maximum relative portion that can be spent towards fees
@@ -37445,7 +37482,11 @@ components:
3744537482
- $ref: '#/components/schemas/IntegerOrString'
3744637483
- example: 10000
3744737484
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'.
3744937490
payGoFee:
3745037491
type: integer
3745137492
description: BitGo fee of the transaction (in base units)
@@ -37507,13 +37548,19 @@ components:
3750737548
- $ref: '#/components/schemas/IntegerOrString'
3750837549
- example: 10000
3750937550
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'.
3751137556
maxFeeRate:
3751237557
allOf:
3751337558
- $ref: '#/components/schemas/IntegerOrIntegerString'
3751437559
- example: 20000
3751537560
description: |
37516-
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'.
3751737564
allowPartialSweep:
3751837565
type: boolean
3751937566
default: false
@@ -40459,21 +40506,27 @@ components:
4045940506
nullable: true
4046040507
example: 12000
4046140508
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.
4046340512
maxFeeRate:
4046440513
type: integer
4046540514
minimum: 1000
4046640515
nullable: true
4046740516
example: 18000
4046840517
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.
4047040521
feeMultiplier:
4047140522
type: number
4047240523
minimum: 1
4047340524
nullable: true
4047440525
example: 1.2
4047540526
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'.
4047740530
changeAddressType:
4047840531
$ref: '#/components/schemas/DefaultChangeAddressType'
4047940532
txFormat:
@@ -50929,7 +50982,10 @@ components:
5092950982
default: 2
5093050983
minimum: 1
5093150984
maximum: 1000
50932-
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'.
5093350989
unspentIds:
5093450990
name: unspentIds
5093550991
in: query

0 commit comments

Comments
 (0)