forked from CalexCore/amity.rpc.php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
explorer.html
114 lines (114 loc) · 4.4 KB
/
explorer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<h4>AMITY Public API</h4>
<ul class="amity-api-links">
<li>
<strong><a href="api/decodeoutputs.php">decodeoutputs.php</a></strong>
<div>Decodes the amounts in the transaction hashes provided</div><div>WARNING: This function requires you to send your private view key to the server</div>
<ul>
<li>hash[]: list of hashes to get tx data for</li><li>address: the public address of the receiver</li><li>viewkey: the private view key of the receiver</li><li>example: gettransactions.php?hash[]=(hash1)&hash[]=(hash2)</li>
</ul>
<li>
<strong><a href="api/fetchanalytics.php">fetchanalytics.php</a></strong>
<div>Gets the number of blocks in the longest chain</div>
<li>
<strong><a href="api/getbans.php">getbans.php</a></strong>
<div>Gets a list of nodes blocked by this node</div>
<li>
<strong><a href="api/getblockbyhash.php">getblockbyhash.php</a></strong>
<div>Gets a block by it's hash</div>
<ul>
<li>hash: Block hash to search for</li>
</ul>
<li>
<strong><a href="api/getblockbyheight.php">getblockbyheight.php</a></strong>
<div>Gets a block by it's height</div>
<ul>
<li>height: Block height to search for</li>
</ul>
<li>
<strong><a href="api/getblockcount.php">getblockcount.php</a></strong>
<div>Gets the number of blocks in the longest chain</div>
<li>
<strong><a href="api/getblockhash.php">getblockhash.php</a></strong>
<div>Gets a block hash at the specified height</div>
<ul>
<li>hash: Block height to search for</li>
</ul>
<li>
<strong><a href="api/getblockheaderbyhash.php">getblockheaderbyhash.php</a></strong>
<div>Gets a block header by it's hash</div>
<ul>
<li>hash: Block hash to search for</li>
</ul>
<li>
<strong><a href="api/getblockheaderbyheight.php">getblockheaderbyheight.php</a></strong>
<div>Gets a block header by it's height</div>
<ul>
<li>hash: Block height to search for</li>
</ul>
<li>
<strong><a href="api/getblockheadersrange.php">getblockheadersrange.php</a></strong>
<div>Gets the block headers in the specified range</div>
<ul>
<li>start_height: Height of the first block in the </li><li>end_height: Height of the last block in the range</li>
</ul>
<li>
<strong><a href="api/getblocktemplate.php">getblocktemplate.php</a></strong>
<div>Gets a block template</div>
<ul>
<li>address: Miner address to generate block template for</li><li>res: Reserve size</li>
</ul>
<li>
<strong><a href="api/getconnections.php">getconnections.php</a></strong>
<div>Gets the number of blocks in the longest chain</div>
<li>
<strong><a href="api/getgeneratedcoins.php">getgeneratedcoins.php</a></strong>
<div>Gets the number of coins generated in the chain</div>
<li>
<strong><a href="api/gethardforkinfo.php">gethardforkinfo.php</a></strong>
<div>Gets hardfork information</div>
<li>
<strong><a href="api/getinfo.php">getinfo.php</a></strong>
<div>gets the current node information</div>
<li>
<strong><a href="api/getlastblockheader.php">getlastblockheader.php</a></strong>
<div>Gets the last block header</div>
<li>
<strong><a href="api/getminingstatus.php">getminingstatus.php</a></strong>
<div>Gets the mining status of the node</div>
<li>
<strong><a href="api/getpeerlist.php">getpeerlist.php</a></strong>
<div>Gets the peer list of the node</div>
<li>
<strong><a href="api/gettransactionpool.php">gettransactionpool.php</a></strong>
<div>Gets a list of transactions in the pool</div>
<li>
<strong><a href="api/gettransactionpoolstats.php">gettransactionpoolstats.php</a></strong>
<div>Gets transaction pool statistics</div>
<li>
<strong><a href="api/gettransactions.php">gettransactions.php</a></strong>
<div>Gets a list of transactions by their hashes</div>
<ul>
<li>hash[]: list of hashes to get tx data for</li><li>example: gettransactions.php?hash[]=(hash1)&hash[]=(hash2)</li>
</ul>
<li>
<strong><a href="api/gettxpubkey.php">gettxpubkey.php</a></strong>
<div>extracts the TX public key from the TX.Extra data</div>
<ul>
<li>extra: TX.Extra field to extract the pubkey from</li>
</ul>
<li>
<strong><a href="api/setbans.php">setbans.php</a></strong>
<div>Block a node by the IP address</div>
<ul>
<li>ip: IP to ban</li><li>ban: To ban or not true/false</li><li>time: Number of seconds to ban for</li>
</ul>
<li>
<strong><a href="api/submitanalytics.php">submitanalytics.php</a></strong>
<div>Submits the callers IP address to the node map</div>
<li>
<strong><a href="api/supply.php">supply.php</a></strong>
<div>Formatted version of getgeneratedcoins for CMC</div>
<li>
<strong><a href="api/tradeogre.php">tradeogre.php</a></strong>
<div>Get market data from TradeOgre</div>
</ul>