Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
ANTPOOLs application programming interface (API) allows users to access and control their accounts using custom written software.
This API is based on the documentation provided by ANTPOOL (https://www.antpool.com/userApiGuide).
ANTPOOL's application programming interface (API) allows users to access and control their accounts using custom written software.
Do not make more than 600 request per 10 minutes or we will ban your IP address.
You need to provide 3 parameters to authenticate a request:
pip3 install solidity-antpool
from AntPool import antpool
user_id = '#####'
key = '#########'
secret = '######'
def example():
if __name__ == '__main__':
data = antpool.AntPool(user_id, key, secret)
print(data.get_overview())
if __name__ == '__main__':
example()
{
"code": 0,
"message": "ok",
"data":
{
"hsLast10m": "127603936523714",
"hsLast1d": "102498704834436",
"invalidWorkerNum": 0,
"totalAmount": "0.00480411",
"totalWorkerNum": 1,
"unpaidAmount": "0.00480411",
"yesterdayAmount": "0.00037884",
"inactiveWorkerNum": 0,
"hsLast1h": "114466490529000",
"userId": "#####",
"activeWorkerNum": 1
}
}
get_hash_user_rate (Hash Rate)
get_sub_account_list (Sub-account List)
get_workers (Workers' Hash Rate)
get_worker_list (Worker List)
get_account (Account balance)
get_overview (Overview for sub-account)
get_overview_list_by_email (Overview for sub-account according to the mailbox)
get_pool_stats (Pool Stats)
get_overview_list_by_email (Overview for subaccount according to the mailbox)
get_user_hash_rate_chart (When the userWorkerId query parameter is not void)
get_payment_history (Payment History Summary)
get_coin_calculator (Mining Calculator)
change_coin (Change coin)
FAQs
ANTPOOLs application programming interface (API) allows users to access and control their accounts using custom written software.
We found that solidity-antpool demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.