f2pool API supports HTTPS requests to access the mining pool service, which includes support for sub-account management, wallet management, payment information, hashrate, workers and other query functions. A token will be required to access f2pool API.
To request a token for f2pool API access, please follow the steps below.
- Log in to f2pool.com, click your account name on the top right corner, then click “Account Settings” in the drop-down menu.
- In the list on the left, click “API”, then click on “Generate API Token”.
- Select the permission(s) you need, or tick on “All” for full permissions. If you need to use API v1, tick on “legacy/api_v1”.
- Enter the IP addresses authorized to access this token (It is recommended to grant access only to trusted IPs; up to 5 IPs can be entered), complete creating the "IP whitelist"
- Proceed with the two-factor authentication.
- Click “Submit” to complete the steps.
For guidance on API, please refer to this page. If you have any issues when creating an API token, please feel free to contact us via our support channels.
Please note:
- Some permissions within this module have the ability to make changes to your account, including changing your wallet address or payout threshold, withdrawing your funds, and adding or deleting your sub-accounts and so on. Please exercise caution when sharing a token with permissions under this module, or authorizing a third-party mining software.
- It is not supported to modify or stop the permission. You could choose to delete and request another one with different permissions.
- Functions involving asset security such as "hash_rate/distribute" and "mining_user/wallet/update" can only be used in the IP environment in the "IP whitelist". Other functions are not restricted for the time being.
Comments
0 comments
Article is closed for comments.