API Documentation RC1

https://equal.xdagminer.com/api/poolHashrate

Fetches the hashrate of the pool.

Request Body:

			{
			"jsonrpc": "2.0",
			"result": {
			"hashrate": 1020599.99999999994,
			"hashrate24h": 768582.40740740736,
			"total": 214,
			"total_online": 211
			},
			"id": 1
			}
		  

https://equal.xdagminer.com/api/poolWorkers

Fetches the pool workers information.

Request Body:

			{
			"jsonrpc": "2.0",
			"result": [
			{
			"address": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
			"status": "fee",
			"unpaidShares": 0,
			"hashrate": 0,
			"workers": []
			},
			{
			"address": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB",
			"status": "MINER_ACTIVE",
			"unpaidShares": 20.133530502,
			"hashrate": 82311.1111111111,
			"workers": [
			{
			"address": "192.168.1.1",
			"inBound": 0,
			"outBound": 0,
			"unpaidShares": 0,
			"name": "AMD7200",
			"hashrate": 13266.666666666666
			},
			{
			"address": "192.168.1.1",
			"inBound": 0,
			"outBound": 0,
			"unpaidShares": 0,
			"name": "AMD7400",
			"hashrate": 13133.333333333334
			}
			]
			}
			],
			"id": 1
			}
		  

https://equal.xdagminer.com/api/poolVersion

Fetches the pool version.

Request Body:

			{
			"jsonrpc": "2.0",
			"result": "0.1.1",
			"id": 1
			}
		  

https://equal.xdagminer.com/api/minerAccount?address={miner_address}

Fetches the account information of a miner wallet.

Request Body:

			{
			"jsonrpc": "2.0",
			"result": {
			"address": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
			"timestamp": 1719384330983,
			"total_reward": 305878.087310476,
			"total_payment": 305837.979823955,
			"total_unpaid": 40.107486521
			},
			"id": 1
			}
		  

https://equal.xdagminer.com/api/minerHashrate?address={miner_address}

Fetches the hashrate information of a miner.

Request Body:

{}
  

https://rpc.xdagminer.com/api/netStatus

Fetches the status of the xdag network.

Request Body:

{}
  

https://rpc.xdagminer.com/api/balance?address={address}

Fetches the balance of a miner.

Request Body:

{}
  

https://rpc.xdagminer.com/api/getBlock?address={address}

Fetches block information by hash.

Request Body:

{}
  

https://rpc.xdagminer.com/api/getBlockByHash?address={address}&pageNo={No.}&pageSize={Size}

Fetches block information by hash.

Request Body:

{}
  

https://rpc.xdagminer.com/api/getBlockByHash?address={address}&pageNo={No.}&pageSize={Size}&startTime={Time}&endTime={Time}

Fetches block information by hash.

Request Body:

{}
  

more than...