Skip to content

Commit 3e8534f

Browse files
committed
BA SDK fixes
1 parent 5f49093 commit 3e8534f

File tree

4 files changed

+215
-191
lines changed

4 files changed

+215
-191
lines changed

docs/based-applications/developers/BA-SDK/examples/based-application-development.md

Lines changed: 0 additions & 186 deletions
This file was deleted.

docs/based-applications/developers/BA-SDK/module-reference/api-module.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Input:
2222

2323
| Input parameter | Input type | Description | Example input |
2424
| ----------------- | ---------- | ----------------------------- | -------------------------------------------- |
25-
| account | string | Address of the Based Application | '0x64714cf5db177398729e37627be0fc08f43b17a6' |
25+
| account | string | Address of the account | '0x64714cf5db177398729e37627be0fc08f43b17a6' |
2626

2727
Example:
2828

@@ -93,8 +93,26 @@ Example output:
9393

9494
```bash
9595
[
96-
{ id: '10', tokenWeights: [ [Object] ] },
97-
{ id: '2', tokenWeights: [ [Object] ], validatorBalanceWeight: 1 }
96+
{
97+
"id": "10",
98+
"tokenWeights": [
99+
{
100+
"token": "0x68a8ddd7a59a900e0657e9f8bbe02b70c947f25f",
101+
"weight": 0.9267840593141798
102+
}
103+
],
104+
"validatorBalanceWeight": 0.0322679969182334
105+
},
106+
{
107+
"id": "2",
108+
"tokenWeights": [
109+
{
110+
"token": "0x68a8ddd7a59a900e0657e9f8bbe02b70c947f25f",
111+
"weight": 0.07321594068582021
112+
}
113+
],
114+
"validatorBalanceWeight": 0.9677320030817667
115+
}
98116
]
99117
```
100118

0 commit comments

Comments
 (0)