Skip to content

Commit

Permalink
fix get_gasprice doc (#1411)
Browse files Browse the repository at this point in the history
* fix get_gasprice doc

* use localhost
  • Loading branch information
lucas7788 authored Aug 5, 2022
1 parent 678ba64 commit 10750e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/specifications/restful_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ GET
```
#### Request Example:
```
curl -i http://localhost:20334/api/v1/block/height/txhash/3e23cf222a47739d4141255da617cd42925a12638ac19cadcc85501f907972c8
curl -i http://localhost:20334/api/v1/gasprice
```
#### Response
```
Expand All @@ -657,8 +657,8 @@ curl -i http://localhost:20334/api/v1/block/height/txhash/3e23cf222a47739d414125
"Desc": "SUCCESS",
"Error": 0,
"Result": {
"gasprice": 0,
"height": 1
"gasprice": 2500,
"height": 16947486
},
"Version": "1.0.0"
}
Expand Down
6 changes: 3 additions & 3 deletions docs/specifications/restful_api_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ GET
```
#### Request Example:
```
curl -i http://localhost:20334/api/v1/block/height/txhash/3e23cf222a47739d4141255da617cd42925a12638ac19cadcc85501f907972c8
curl -i http://localhost:20334/api/v1/gasprice
```
#### Response
```
Expand All @@ -654,8 +654,8 @@ curl -i http://localhost:20334/api/v1/block/height/txhash/3e23cf222a47739d414125
"Desc": "SUCCESS",
"Error": 0,
"Result": {
"gasprice": 0,
"height": 1
"gasprice": 2500,
"height": 16947486
},
"Version": "1.0.0"
}
Expand Down

0 comments on commit 10750e9

Please sign in to comment.