<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=BIP_PoolAPI</id>
	<title>BIP PoolAPI - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=BIP_PoolAPI"/>
	<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=BIP_PoolAPI&amp;action=history"/>
	<updated>2026-05-15T07:42:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://en.zaoniao.it/index.php?title=BIP_PoolAPI&amp;diff=3060&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;&lt;pre&gt;  BIP: ?  Title: JSON Pool Information API  Author: Paul Sheppard &lt;shepsoft@gmail.com&gt; and Luke Dashjr &lt;luke+bip22@dashjr.org&gt;  Status: Draft  Type: Standards Track  Crea...&quot;</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=BIP_PoolAPI&amp;diff=3060&amp;oldid=prev"/>
		<updated>2019-04-09T05:37:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt;  BIP: ?  Title: JSON Pool Information API  Author: Paul Sheppard &amp;lt;shepsoft@gmail.com&amp;gt; and Luke Dashjr &amp;lt;luke+bip22@dashjr.org&amp;gt;  Status: Draft  Type: Standards Track  Crea...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
 BIP: ?&lt;br /&gt;
 Title: JSON Pool Information API&lt;br /&gt;
 Author: Paul Sheppard &amp;lt;shepsoft@gmail.com&amp;gt; and Luke Dashjr &amp;lt;luke+bip22@dashjr.org&amp;gt;&lt;br /&gt;
 Status: Draft&lt;br /&gt;
 Type: Standards Track&lt;br /&gt;
 Created: 22-05-2012&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Abstract==&lt;br /&gt;
This BIP aims to create a standard API for pool statistics.&lt;br /&gt;
&lt;br /&gt;
==Specification==&lt;br /&gt;
&lt;br /&gt;
* All time keys are seconds since Jan 1 1970 midnight UTC.&lt;br /&gt;
* Hashrate is measured in full block hashes per second. So if a full block proof-of-work requires two rounds of SHA256 (as it does with Bitcoin today), each two rounds counts only as a single hash.&lt;br /&gt;
* Currencies are always represented in the smallest divisible part of the currency. eg, for USD this is 1 cent and for Bitcoin this is 0.00000001 BTC&lt;br /&gt;
&lt;br /&gt;
===Object Formats===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
!colspan='3'| Root&lt;br /&gt;
|-&lt;br /&gt;
| version || Number || always 1&lt;br /&gt;
|-&lt;br /&gt;
| group || Object || information about the organizational pool&lt;br /&gt;
|-&lt;br /&gt;
| collab || Array of Objects || information about each collaborative pool&lt;br /&gt;
|-&lt;br /&gt;
!colspan='3'| Organizational pool&lt;br /&gt;
|-&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| name || String || human-readable identifier for organizational pool&lt;br /&gt;
|-&lt;br /&gt;
| hashrate || Number || total hashrate of all mining in the organizational pool&lt;br /&gt;
|-&lt;br /&gt;
| message || String || whatever the pool wants to tell us&lt;br /&gt;
|-&lt;br /&gt;
| minercount || Number || total number of active miners&lt;br /&gt;
|-&lt;br /&gt;
| miners || Array of Objects || information of specific miners&lt;br /&gt;
|-&lt;br /&gt;
| workercount || Number || total number of active workers&lt;br /&gt;
|-&lt;br /&gt;
!colspan='3'| Collaborative pool&lt;br /&gt;
|-&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| name || String || human-readable identifier for collaborative pool&lt;br /&gt;
|-&lt;br /&gt;
| hashrate || Number || total hashrate of all mining in the same collaborative pool&lt;br /&gt;
|-&lt;br /&gt;
| message || String || whatever the pool wants to tell us&lt;br /&gt;
|-&lt;br /&gt;
| round || Object || information about the current round&lt;br /&gt;
|-&lt;br /&gt;
| fee || Number || fee (0.01 = 1%)&lt;br /&gt;
|-&lt;br /&gt;
| rewardalgo || String || reward algorithm identifier&lt;br /&gt;
|-&lt;br /&gt;
| minercount || Number || total number of active miners&lt;br /&gt;
|-&lt;br /&gt;
| miners || Array of Objects || information of specific miners&lt;br /&gt;
|-&lt;br /&gt;
| time || Number || time as the poolserver sees it&lt;br /&gt;
|-&lt;br /&gt;
| workercount || Number || total number of active workers&lt;br /&gt;
|-&lt;br /&gt;
!colspan='3'| Round&lt;br /&gt;
|-&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| id || String || unique identifier for the round&lt;br /&gt;
|-&lt;br /&gt;
| begintime || Number || time the current round began&lt;br /&gt;
|-&lt;br /&gt;
| shares || Object || number of shares submitted to the current round&lt;br /&gt;
|-&lt;br /&gt;
| network || String || which network the round is relevant for&lt;br /&gt;
|-&lt;br /&gt;
| parent || String || network-specific identifier for the base of the current round&lt;br /&gt;
|-&lt;br /&gt;
!colspan='3'| Shares&lt;br /&gt;
|-&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| accepted || Number || number of accepted shares&lt;br /&gt;
|-&lt;br /&gt;
| * || Number || any [[BIP 0022#Example Rejection Reasons|rejection reason]] may be a key; value is number of shares&lt;br /&gt;
|-&lt;br /&gt;
!colspan='3'| Individual miner or worker&lt;br /&gt;
|-&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| id || String || unique identifier for a miner's account (shared across collaborative pools)&lt;br /&gt;
|-&lt;br /&gt;
| name || String || human-readable identifier for miner&lt;br /&gt;
|-&lt;br /&gt;
| message || String || whatever the pool wants to tell us&lt;br /&gt;
|-&lt;br /&gt;
| balances || Array of Objects || balance information&lt;br /&gt;
|-&lt;br /&gt;
| fee || Number || fee (0.01 = 1%)&lt;br /&gt;
|-&lt;br /&gt;
| hashrate || Number || total hashrate of all mining in the same collaborative pool&lt;br /&gt;
|-&lt;br /&gt;
| lastactive || Number || time the miner was last seen active&lt;br /&gt;
|-&lt;br /&gt;
| rewardalgo || String || reward algorithm identifier&lt;br /&gt;
|-&lt;br /&gt;
| sharesround || Object || information on shares submitted to the current round&lt;br /&gt;
|-&lt;br /&gt;
| sharesuser || Object || information on shares submitted since last user reset&lt;br /&gt;
|-&lt;br /&gt;
| sharestotal || Object || information on shares submitted for all time&lt;br /&gt;
|-&lt;br /&gt;
| workers || Array of Objects || information of specific workers&lt;br /&gt;
|-&lt;br /&gt;
!colspan='3'| Balance info&lt;br /&gt;
|-&lt;br /&gt;
! Key !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| currency || String || currency of balance&lt;br /&gt;
|-&lt;br /&gt;
| balance || Number || amount currently stored at the pool&lt;br /&gt;
|-&lt;br /&gt;
| unconfirmed || Number || amount currently waiting for confirmations&lt;br /&gt;
|-&lt;br /&gt;
| estimate || Number || amount expected reward for the current round&lt;br /&gt;
|-&lt;br /&gt;
| fee || Number || fee (0.01 = 1%)&lt;br /&gt;
|-&lt;br /&gt;
| paid || Number || amount that has been paid out ever&lt;br /&gt;
|-&lt;br /&gt;
| lastpay || Number || amount of last payout&lt;br /&gt;
|-&lt;br /&gt;
| lastpaytime || Number || time of last payout&lt;br /&gt;
|-&lt;br /&gt;
| autopay || Number || minimum amount before autopayout&lt;br /&gt;
|-&lt;br /&gt;
| autopayto || String || address for autopayouts&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Currencies:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Currency name !! Description&lt;br /&gt;
|-&lt;br /&gt;
| Bitcoin || Bitcoins (in Satoshis)&lt;br /&gt;
|-&lt;br /&gt;
| Namecoin || Namecoins&lt;br /&gt;
|-&lt;br /&gt;
| fiat || Pool-specific &amp;quot;play money&amp;quot; (eg, SMPPS &amp;quot;extra credit&amp;quot;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Networks:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Network name !! Description&lt;br /&gt;
|-&lt;br /&gt;
| Bitcoin || Bitcoin blockchain&lt;br /&gt;
|-&lt;br /&gt;
| Bitcoin address || Searching for vanity Bitcoin addresses&lt;br /&gt;
|-&lt;br /&gt;
| Namecoin || Namecoin blockchain&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Reward algorithms:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Algorithm name !! Description&lt;br /&gt;
|-&lt;br /&gt;
| Prop || Proportional&lt;br /&gt;
|-&lt;br /&gt;
| PPLNS || Pay Per Last N Shares&lt;br /&gt;
|-&lt;br /&gt;
| PPS || Pay Per Share&lt;br /&gt;
|-&lt;br /&gt;
| SMPPS || Shared Maximum Pay Per Share&lt;br /&gt;
|-&lt;br /&gt;
| Score ||&lt;br /&gt;
|-&lt;br /&gt;
| Geo || Geometric Method&lt;br /&gt;
|-&lt;br /&gt;
| DGM || Double Geometric Method&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;version&amp;quot;: 1,&lt;br /&gt;
	&amp;quot;group&amp;quot;: {&lt;br /&gt;
		&amp;quot;name&amp;quot;: &amp;quot;Eligius&amp;quot;,&lt;br /&gt;
		&amp;quot;hashrate&amp;quot;: 600000000000,&lt;br /&gt;
		&amp;quot;message&amp;quot;: &amp;quot;Welcome to Eligius! Enjoy :)&amp;quot;&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;collab&amp;quot;: [&lt;br /&gt;
		{&lt;br /&gt;
			&amp;quot;name&amp;quot;: &amp;quot;Eligius-Ra&amp;quot;,&lt;br /&gt;
			&amp;quot;hashrate&amp;quot;: 550000000000,&lt;br /&gt;
			&amp;quot;time&amp;quot;: 1337729874.2489,&lt;br /&gt;
			&amp;quot;workercount&amp;quot;: 5423,&lt;br /&gt;
			&amp;quot;round&amp;quot;: {&lt;br /&gt;
				&amp;quot;begintime&amp;quot;: 1337719877.959086,&lt;br /&gt;
				&amp;quot;blockchain&amp;quot;: &amp;quot;Bitcoin&amp;quot;,&lt;br /&gt;
				&amp;quot;blockparent&amp;quot;: &amp;quot;00000000000001c536f8865bd2be554372fa149eb88fb1c096f475e1c9cd8176&amp;quot;,&lt;br /&gt;
				&amp;quot;shares&amp;quot;: {&lt;br /&gt;
					&amp;quot;accepted&amp;quot;: 423433,&lt;br /&gt;
					&amp;quot;stale-prevblk&amp;quot;: 92,&lt;br /&gt;
					&amp;quot;duplicate&amp;quot;: 3&lt;br /&gt;
				}&lt;br /&gt;
			},&lt;br /&gt;
			&amp;quot;fee&amp;quot;: 0,&lt;br /&gt;
			&amp;quot;rewardalgo&amp;quot;: &amp;quot;SMPPS&amp;quot;,&lt;br /&gt;
			&amp;quot;miners&amp;quot;: [&lt;br /&gt;
				&amp;quot;id&amp;quot;: &amp;quot;16kNKa7WUg8QAPFy8dJRv7USSu2fAG2pkW&amp;quot;,&lt;br /&gt;
				&amp;quot;name&amp;quot;: &amp;quot;Luke-Jr&amp;quot;,&lt;br /&gt;
				&amp;quot;balances&amp;quot;: [&lt;br /&gt;
					{&lt;br /&gt;
						&amp;quot;currency&amp;quot;: &amp;quot;Bitcoin&amp;quot;,&lt;br /&gt;
						&amp;quot;balance&amp;quot;: 167476453,&lt;br /&gt;
						&amp;quot;estimate&amp;quot;: 14761828,&lt;br /&gt;
						&amp;quot;paid&amp;quot;: 5800000000,&lt;br /&gt;
						&amp;quot;lastpay&amp;quot;: 67423840,&lt;br /&gt;
						&amp;quot;lastpaytime&amp;quot;: 1337713832.25908&lt;br /&gt;
					},&lt;br /&gt;
					{&lt;br /&gt;
						&amp;quot;currency&amp;quot;: &amp;quot;fiat&amp;quot;,&lt;br /&gt;
						&amp;quot;balance&amp;quot;: 9342224,&lt;br /&gt;
						&amp;quot;estimate&amp;quot;: 39433&lt;br /&gt;
					}&lt;br /&gt;
				],&lt;br /&gt;
				&amp;quot;hashrate&amp;quot;: 1382848482,&lt;br /&gt;
				&amp;quot;lastactive&amp;quot;: 1337783882.423086,&lt;br /&gt;
				&amp;quot;sharesround&amp;quot;: {&lt;br /&gt;
					&amp;quot;accepted&amp;quot;: 832&lt;br /&gt;
				},&lt;br /&gt;
				&amp;quot;workers&amp;quot;: [&lt;br /&gt;
					{&lt;br /&gt;
						&amp;quot;id&amp;quot;: &amp;quot;16kNKa7WUg8QAPFy8dJRv7USSu2fAG2pkW_Icarus&amp;quot;,&lt;br /&gt;
						&amp;quot;name&amp;quot;: &amp;quot;Luke-Jr's Icarus :)&amp;quot;,&lt;br /&gt;
						&amp;quot;hashrate&amp;quot;: 378483883,&lt;br /&gt;
						&amp;quot;lastactive&amp;quot;: 1337783882.423086,&lt;br /&gt;
						&amp;quot;sharesround&amp;quot;: {&lt;br /&gt;
							&amp;quot;accepted&amp;quot;: 100&lt;br /&gt;
						}&lt;br /&gt;
					},&lt;br /&gt;
					{&lt;br /&gt;
						&amp;quot;id&amp;quot;: &amp;quot;16kNKa7WUg8QAPFy8dJRv7USSu2fAG2pkW_BFL&amp;quot;,&lt;br /&gt;
						&amp;quot;name&amp;quot;: &amp;quot;Luke-Jr's BitForce Single :D&amp;quot;,&lt;br /&gt;
						&amp;quot;hashrate&amp;quot;: 832942393,&lt;br /&gt;
						&amp;quot;lastactive&amp;quot;: 1337783882.423086,&lt;br /&gt;
						&amp;quot;sharesround&amp;quot;: {&lt;br /&gt;
							&amp;quot;accepted&amp;quot;: 600&lt;br /&gt;
						}&lt;br /&gt;
					},&lt;br /&gt;
					{&lt;br /&gt;
						&amp;quot;id&amp;quot;: &amp;quot;16kNKa7WUg8QAPFy8dJRv7USSu2fAG2pkW_6870&amp;quot;,&lt;br /&gt;
						&amp;quot;name&amp;quot;: &amp;quot;Luke-Jr's Radeon 6870&amp;quot;,&lt;br /&gt;
						&amp;quot;hashrate&amp;quot;: 371422206,&lt;br /&gt;
						&amp;quot;lastactive&amp;quot;: 1337783882.423086,&lt;br /&gt;
						&amp;quot;sharesround&amp;quot;: {&lt;br /&gt;
							&amp;quot;accepted&amp;quot;: 232&lt;br /&gt;
						}&lt;br /&gt;
					}&lt;br /&gt;
				]&lt;br /&gt;
			]&lt;br /&gt;
		}&lt;br /&gt;
	]&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Motivation==&lt;br /&gt;
Moving forward with bitcoin it is important to make all aspects as user friendly as possible. &lt;br /&gt;
&lt;br /&gt;
==Rationale==&lt;br /&gt;
This BIP allows the creators of Apps and Web GUIs for pool monitoring a common interface to use, as opposed to dealing with a differing interface for each pool.&lt;br /&gt;
&lt;br /&gt;
==Backwards Compatibility==&lt;br /&gt;
As an emerging standard, backwards comparability is not applicable. However forward comparability should be maintained. Any future incompatibilities shall be identified by the 'API_version' number.&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
&lt;br /&gt;
[http://bitcoin.it/ http://bitcoin.it/]&lt;br /&gt;
&lt;br /&gt;
[[Category:Technology]]&lt;br /&gt;
[[Category:BIP]]&lt;br /&gt;
==See Also on BitcoinWiki==&lt;br /&gt;
* [[Picostocks]]&lt;br /&gt;
* [[FXPRIMUS]]&lt;br /&gt;
* [[BitBargain]]&lt;br /&gt;
* [[Bitfeu]]&lt;br /&gt;
* [[Bitcoin.co.th]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>