Skip to content

Commit

Permalink
dao_get_treasury_balance
Browse files Browse the repository at this point in the history
  • Loading branch information
dkackman committed Dec 14, 2023
1 parent 526b942 commit 9a8d109
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/wallet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5090,6 +5090,41 @@ paths:
type: string
format: hex
- $ref: "#/components/schemas/apiResponse"
/dao_get_treasury_balance:
post:
tags:
- DAO Wallet
description: Retrieves the balance of a DAO's treasury
summary: Retrieves the balance of a DAO's treasury.
operationId: dao_get_treasury_balance
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- wallet_id
properties:
wallet_id:
type: integer
format: uint32
responses:
"200":
description: OK
content:
application/json:
schema:
allOf:
- type: object
properties:
balances:
type: array
items:
type: integer
format: uint128
- $ref: "#/components/schemas/apiResponse"

externalDocs:
description: Find out more about chia
url: https://chia.net

0 comments on commit 9a8d109

Please sign in to comment.