mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
rawblock and rawtransaction api added to readme
This commit is contained in:
parent
19718932c3
commit
b5cbad2895
1 changed files with 20 additions and 1 deletions
21
README.md
21
README.md
|
@ -380,7 +380,6 @@ Partial results shown:
|
|||
}
|
||||
```
|
||||
|
||||
|
||||
#### api/mempool
|
||||
|
||||
Return all txs in the mempool.
|
||||
|
@ -473,6 +472,7 @@ Partial results shown:
|
|||
}
|
||||
```
|
||||
|
||||
|
||||
#### api/outputs?txhash=<tx_hash>&address=<address>&viewkey=<viewkey>&txprove=<0|1>
|
||||
|
||||
For `txprove=0` we check which outputs belong to given address and corresponding viewkey.
|
||||
|
@ -585,6 +585,25 @@ curl -w "\n" -X GET "http://139.162.32.245:8081/api/networkinfo"
|
|||
```
|
||||
|
||||
|
||||
#### api/rawblock/<block_number|block_hash>
|
||||
|
||||
Return raw json block data, as represented in Monero.
|
||||
|
||||
```bash
|
||||
curl -w "\n" -X GET "http://139.162.32.245:8081/api/rawblock/1293257"
|
||||
```
|
||||
|
||||
Example result not shown.
|
||||
|
||||
#### api/rawtransaction/<tx_hash>
|
||||
|
||||
Return raw json tx data, as represented in Monero.
|
||||
|
||||
```bash
|
||||
curl -w "\n" -X GET "http://139.162.32.245:8081/api/rawtransaction/6093260dbe79fd6277694d14789dc8718f1bd54457df8bab338c2efa3bb0f03d"
|
||||
```
|
||||
|
||||
Example result not shown.
|
||||
|
||||
## Other monero examples
|
||||
|
||||
|
|
Loading…
Reference in a new issue