Skip to content

Commit b44a9b9

Browse files
committed
fix: address stx balance schema bug
1 parent ff174eb commit b44a9b9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/api/address/get-address-stx-balance.schema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
"description": "GET request that returns address balances",
44
"title": "AddressStxBalanceResponse",
55
"type": "object",
6-
"required": ["stx", "fungible_tokens", "non_fungible_tokens"],
76
"$ref": "../../entities/balance/balance.schema.json"
87
}

docs/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ export interface AddressBalanceResponse {
5858
* GET request that returns address balances
5959
*/
6060
export interface AddressStxBalanceResponse {
61-
balance?: string;
62-
total_sent?: string;
63-
total_received?: string;
61+
balance: string;
62+
total_sent: string;
63+
total_received: string;
6464
}
6565

6666
/**

0 commit comments

Comments
 (0)