Skip to content

Commit 8b3856b

Browse files
authored
Fix "/api/v0/account/{account_id}" api endpoint doc (#160)
Fix "/api/v0/account/{account_id}" api endoint doc, especially `counter` field.
2 parents 945b34e + 5201ff9 commit 8b3856b

File tree

1 file changed

+6
-4
lines changed
  • book/src/core-ledger-doc/api

1 file changed

+6
-4
lines changed

book/src/core-ledger-doc/api/v0.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,12 @@ paths:
7171
description: Current balance of this account
7272
type: integer
7373
minimum: 0
74-
counter:
75-
description: Number of transactions performed with this account
76-
type: integer
77-
minimum: 0
74+
counters:
75+
description: An array of corresponding spending counters to the account
76+
type: array
77+
items:
78+
description: Spending counter with the specified lane
79+
type: integer
7880
tokens:
7981
description: Current state of the token balances of this account
8082
type: object

0 commit comments

Comments
 (0)