Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.