This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add getunclaimedgas * update en
- Loading branch information
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
docs/en-us/reference/rpc/latest-version/api/getunclaimedgas.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# getunclaimedgas method | ||
|
||
Returns the unclaimed GAS with the specified address. | ||
|
||
## Parameter Description | ||
|
||
- address: Specified address. | ||
|
||
## Example | ||
|
||
Request body: | ||
|
||
```json | ||
{ | ||
"jsonrpc": "2.0", | ||
"method": "getunclaimedgas", | ||
"params": ["NNU67Fvdy3LEQTM374EJ9iMbCRxVExgM8Y"], | ||
"id": 1 | ||
} | ||
``` | ||
|
||
Response body: | ||
|
||
```json | ||
{ | ||
"jsonrpc": "2.0", | ||
"id": 1, | ||
"result": { | ||
"unclaimed": "9693738", | ||
"address": "NNU67Fvdy3LEQTM374EJ9iMbCRxVExgM8Y" | ||
} | ||
} | ||
``` |
33 changes: 33 additions & 0 deletions
33
docs/zh-cn/reference/rpc/latest-version/api/getunclaimedgas.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# getunclaimedgas 方法 | ||
|
||
返回指定地址未提取的 GAS。 | ||
|
||
## 参数说明 | ||
|
||
- address:要查询的地址。 | ||
|
||
## 调用示例 | ||
|
||
请求正文: | ||
|
||
```json | ||
{ | ||
"jsonrpc": "2.0", | ||
"method": "getunclaimedgas", | ||
"params": ["NNU67Fvdy3LEQTM374EJ9iMbCRxVExgM8Y"], | ||
"id": 1 | ||
} | ||
``` | ||
|
||
响应正文: | ||
|
||
```json | ||
{ | ||
"jsonrpc": "2.0", | ||
"id": 1, | ||
"result": { | ||
"unclaimed": "9693738", | ||
"address": "NNU67Fvdy3LEQTM374EJ9iMbCRxVExgM8Y" | ||
} | ||
} | ||
``` |