mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-08 12:21:09 +03:00
Small correction in Node API (#1881)
This commit is contained in:
parent
2587ef5eb0
commit
c8afc800ff
1 changed files with 3 additions and 3 deletions
|
@ -766,7 +766,7 @@ Build a merkle proof for a given output id and return a dummy output with merkle
|
||||||
|
|
||||||
* **URL**
|
* **URL**
|
||||||
|
|
||||||
/v1/txhashset/merkleproof?n=x
|
/v1/txhashset/merkleproof?id=x
|
||||||
|
|
||||||
* **Method:**
|
* **Method:**
|
||||||
|
|
||||||
|
@ -775,7 +775,7 @@ Build a merkle proof for a given output id and return a dummy output with merkle
|
||||||
* **URL Params**
|
* **URL Params**
|
||||||
|
|
||||||
**Required:**
|
**Required:**
|
||||||
`n=[string]`
|
`id=[string]`
|
||||||
|
|
||||||
* **Data Params**
|
* **Data Params**
|
||||||
|
|
||||||
|
@ -805,7 +805,7 @@ Build a merkle proof for a given output id and return a dummy output with merkle
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "/v1/txhashset/merkleproof?n=0803516094a30830ed9fedff1c63251b51703ddffbb73f944d9e33e8fa5d17444f",
|
url: "/v1/txhashset/merkleproof?id=0803516094a30830ed9fedff1c63251b51703ddffbb73f944d9e33e8fa5d17444f",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
type : "GET",
|
type : "GET",
|
||||||
success : function(r) {
|
success : function(r) {
|
||||||
|
|
Loading…
Reference in a new issue