Small correction in Node API (#1881)

This commit is contained in:
Quentin Le Sceller 2018-10-30 15:49:45 +01:00 committed by GitHub
parent 2587ef5eb0
commit c8afc800ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {