diff --git a/docs/en-us/reference/rpc/latest-version/api/getunclaimedgas.md b/docs/en-us/reference/rpc/latest-version/api/getunclaimedgas.md new file mode 100644 index 000000000..d035b189f --- /dev/null +++ b/docs/en-us/reference/rpc/latest-version/api/getunclaimedgas.md @@ -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" + } +} +``` \ No newline at end of file diff --git a/docs/zh-cn/reference/rpc/latest-version/api/getunclaimedgas.md b/docs/zh-cn/reference/rpc/latest-version/api/getunclaimedgas.md new file mode 100644 index 000000000..7e41869d7 --- /dev/null +++ b/docs/zh-cn/reference/rpc/latest-version/api/getunclaimedgas.md @@ -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" + } +} +``` \ No newline at end of file