From 16304cd0d0c36c70f1f301f41f9b08232e0f75ac Mon Sep 17 00:00:00 2001 From: "dev-portal-updater-protected[bot]" <242026823+dev-portal-updater-protected[bot]@users.noreply.github.com> Date: Fri, 23 Jan 2026 16:59:56 +0000 Subject: [PATCH 1/2] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/api.yaml b/api.yaml index 512aa11..65a4605 100644 --- a/api.yaml +++ b/api.yaml @@ -41753,7 +41753,7 @@ components: amount: '50000000000000' type: STAKE validator: NodeID-9bAbQj1s9qEuC4QyF4u7ZqPzKLvr7dVW7 - durationSeconds: 2592000 + duration: 30 rewardAddress: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e' FlrPStakingRequestWithoutDelegationsExample: summary: FLRP Staking Request Example @@ -41772,7 +41772,7 @@ components: createdDate: 2025-09-08T14:00:00.000Z amount: '50000000000000' validator: NodeID-9bAbQj1s9qEuC4QyF4u7ZqPzKLvr7dVW7 - durationSeconds: 2592000 + duration: 30 rewardAddress: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e' HashStakingRequestPOSTBodyExample: summary: Hash Staking Request POST Body Example @@ -56650,7 +56650,7 @@ components: operator: description: The operator address to be used for restaking ETH type: string - example: 0 + example: '0x0' validator: description: The provider to use to provision ETH validators. type: string @@ -58815,15 +58815,15 @@ components: type: string validator: type: string - durationSeconds: - description: The staking duration in seconds. + duration: + description: The staking duration in days. type: integer rewardAddress: description: The C-Chain address where rewards will be sent. type: string required: - validator - - durationSeconds + - duration FlrPStakingRequestPOSTBody: title: FLRP stake description: | @@ -58851,12 +58851,12 @@ components: description: P-Chain validator NodeID to delegate to. type: string example: NodeID-9bAbQj1s9qEuC4QyF4u7ZqPzKLvr7dVW7 - durationSeconds: - description: The staking duration in seconds. Must be between 14 days (1209600) and 365 days (31536000). + duration: + description: The staking duration in days. Must be between 14 and 365 days. type: integer - minimum: 1209600 - maximum: 31536000 - example: 2592000 + minimum: 14 + maximum: 365 + example: 30 rewardAddress: description: C-Chain address to receive staking rewards. type: string @@ -58864,7 +58864,7 @@ components: required: - amount - validator - - durationSeconds + - duration Freeze: title: Freeze type: object From 22f63f7c1af2943e354eba34227de3fd1bb65ec6 Mon Sep 17 00:00:00 2001 From: "dev-portal-updater-protected[bot]" <242026823+dev-portal-updater-protected[bot]@users.noreply.github.com> Date: Mon, 26 Jan 2026 15:58:33 +0000 Subject: [PATCH 2/2] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/api.yaml b/api.yaml index 65a4605..756d901 100644 --- a/api.yaml +++ b/api.yaml @@ -46670,7 +46670,7 @@ components: title: Address type: string example: 2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS - maxLength: 250 + maxLength: 500 AddressSubdocument: title: AddressSubdocument oneOf: @@ -57185,10 +57185,12 @@ components: txFormat: $ref: '#/components/schemas/UtxoTransactionFormat' ExpressCreateInvoiceRequest: + description: Create invoice request. Provide exactly one of `valueMsat` or `valueSat` type: object - required: - - valueMsat properties: + valueSat: + type: number + description: The invoice amount in satoshis valueMsat: type: string description: The invoice amount in millisatoshis @@ -57569,6 +57571,9 @@ components: valueMsat: type: string description: Amount in millisatoshis + valueSat: + type: number + description: Amount in satoshis paymentHash: type: string description: Payment hash of the invoice @@ -69827,7 +69832,7 @@ components: RecipientAmount: oneOf: - type: string - pattern: ^(-?\d+|max)$ + pattern: ^(-?\d+|max|invoice)$ example: '2000000' - type: integer RecipientEntry: