Skip to content

Commit d7ef207

Browse files
Merge pull request #21 from chilligerchief/main
Fix faulty function parameters
2 parents d21de73 + 033c68a commit d7ef207

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/developer_guides/wallet_browser_extension/provider/api_documentation.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ type RequestedPermissionResult = Permission;
7979
=== "RPC"
8080
```js
8181
window.xpll.request({
82-
method: "request_permissions";
82+
method: "request_permissions"
8383
});
8484
```
8585

@@ -102,7 +102,7 @@ type IsWalletLockedResult = boolean;
102102
=== "RPC"
103103
```js
104104
window.xpll.request({
105-
method: "is_wallet_locked";
105+
method: "is_wallet_locked"
106106
});
107107
```
108108

@@ -135,7 +135,7 @@ type GetPermissionsResult = Permission[];
135135
=== "RPC"
136136
```js
137137
window.xpll.request({
138-
method: "get_permissions";
138+
method: "get_permissions"
139139
});
140140
```
141141

@@ -164,7 +164,7 @@ type GetAccountsResult = string[];
164164
=== "RPC"
165165
```js
166166
window.xpll.request({
167-
method: "get_accounts",
167+
method: "get_accounts"
168168
});
169169
```
170170

@@ -192,7 +192,7 @@ type GetActiveAccountResult = string | undefined;
192192
=== "RPC"
193193
```js
194194
window.xpll.request({
195-
method: "get_active_account";
195+
method: "get_active_account"
196196
});
197197
```
198198

@@ -220,7 +220,7 @@ type GetActiveAccountBalanceResult = string;
220220
=== "RPC"
221221
```js
222222
window.xpll.request({
223-
method: "get_active_account_balance";
223+
method: "get_active_account_balance"
224224
});
225225
```
226226

@@ -278,7 +278,7 @@ type GetActiveAccountLatestTransactionsResult = TransactionSummary[];
278278
params: {
279279
limit: 1,
280280
order: "desc",
281-
},
281+
}
282282
});
283283
```
284284

@@ -304,7 +304,7 @@ type GetCurrentNetworkResult = string | undefined;
304304
=== "RPC"
305305
```js
306306
window.xpll.request({
307-
method: "get_current_network";
307+
method: "get_current_network"
308308
});
309309
```
310310

0 commit comments

Comments
 (0)