Skip to content

Instantly share code, notes, and snippets.

@scottlingran
Last active August 29, 2015 13:58
Show Gist options
  • Save scottlingran/9947853 to your computer and use it in GitHub Desktop.
Save scottlingran/9947853 to your computer and use it in GitHub Desktop.
example
// GET /q/getinfo
{
"status": "success",
"data": {
"peersConnected": 1000,
"protocolversion": 70002,
"version": 90000
}
}
// POST /transactions
{
"status": "success",
"data": {
"transaction": {
"txHash": "005cd997f92d11afc621b2eabdc5eea952d31da1cb27a05dc5e34d611bed1496",
"peersReceived": 500,
"peersConnected": 1000
}
}
}
// GET /transactions/:txHash
{
"status": "success",
"data": {
"transaction": {
"txHash": "005cd997f92d11afc621b2eabdc5eea952d31da1cb27a05dc5e34d611bed1496",
...
"peersReceived": 500,
"peersConnected": 1000
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment