test
This commit is contained in:
5
api.php
5
api.php
@@ -638,8 +638,9 @@ if ($q == "getAddress") {
|
|||||||
* @apiSuccess {boolean} data masternode date
|
* @apiSuccess {boolean} data masternode date
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$res=$db->run("SELECT * FROM masternode");
|
$res=$db->run("SELECT * FROM masternode ORDER by public_key ASC");
|
||||||
api_echo($res);
|
|
||||||
|
api_echo(["masternodes"=>$res, "hash"=>md5(json_encode($res))]);
|
||||||
} elseif ($q == "getAlias") {
|
} elseif ($q == "getAlias") {
|
||||||
/**
|
/**
|
||||||
* @api {get} /api.php?q=getAlias 189. getAlias
|
* @api {get} /api.php?q=getAlias 189. getAlias
|
||||||
|
|||||||
Reference in New Issue
Block a user