@@ -18365,39 +18365,6 @@ paths:
18365
18365
application/json:
18366
18366
schema:
18367
18367
$ref: '#/components/schemas/PlatformError3'
18368
- /api/v2/{coin}/wallet/{walletId}/spending:
18369
- get:
18370
- tags:
18371
- - Wallet
18372
- summary: Get spending limits and current amount spent
18373
- description: |
18374
- Returns the wallet's currently configured spending limits and the current
18375
- amount spent during the periods defined by the spending limits.
18376
- operationId: v2.wallet.spending
18377
- parameters:
18378
- - $ref: '#/components/parameters/pathCoin'
18379
- - $ref: '#/components/parameters/pathWalletId'
18380
- responses:
18381
- '200':
18382
- description: OK
18383
- content:
18384
- application/json:
18385
- schema:
18386
- $ref: '#/components/schemas/WalletSpending'
18387
- '400':
18388
- description: Bad Request
18389
- content:
18390
- application/json:
18391
- schema:
18392
- oneOf:
18393
- - $ref: '#/components/schemas/PlatformError3'
18394
- - $ref: '#/components/schemas/InvalidWalletId'
18395
- '404':
18396
- description: Not Found
18397
- content:
18398
- application/json:
18399
- schema:
18400
- $ref: '#/components/schemas/PlatformError3'
18401
18368
/api/v2/wallet/{walletId}/reservedunspents:
18402
18369
post:
18403
18370
tags:
@@ -60455,38 +60422,6 @@ components:
60455
60422
type: number
60456
60423
required:
60457
60424
- walletSharesCount
60458
- WalletSpending:
60459
- type: object
60460
- properties:
60461
- velocityLimitSpending:
60462
- type: array
60463
- items:
60464
- type: object
60465
- properties:
60466
- coin:
60467
- allOf:
60468
- - $ref: '#/components/schemas/Coin'
60469
- - example: btc
60470
- timeWindow:
60471
- allOf:
60472
- - $ref: '#/components/schemas/IntegerString'
60473
- - example: '3600'
60474
- description: |
60475
- String representation of the time window in seconds (ex: 0 = per transaction, 3600 = hourly,
60476
- 86400 = daily).
60477
- limitAmountString:
60478
- allOf:
60479
- - $ref: '#/components/schemas/IntegerString'
60480
- - example: '1000000'
60481
- description: |
60482
- String representation of the spending limit in base units.
60483
- amountSpentString:
60484
- allOf:
60485
- - $ref: '#/components/schemas/IntegerString'
60486
- - example: '148310'
60487
- description: |
60488
- String representation of the current amount spent in base units. Guaranteed to not lose
60489
- precision.
60490
60425
WalletStakingDisclaimerAttributes:
60491
60426
type: object
60492
60427
properties:
0 commit comments