Unofficial Python API Wrapper for the BTT (BitTorrent Token) Speed WebUI for uTorrent and BitTorrent Clients
Git:
git clone https://github.com/BTTBoost/BTTSpeed-API.git
- getEnv - get your current environment
- getUpdates - get current status
- getHourlyUpdate - hourly earnings update (not accurate)
- getTotalUpdate - get total earnings (not accurate)
- getPublicAddress - gets your wallet address
- getPublicKey - wallet public key
- getWalletTransactions - more detailed info on wallet transactions
- refreshBalance - refreshes your wallet balance, may be useful for "stuck" btt in limbo world
- checkBTTExchange - check to see if the BTT exchange has enough in balance for withdrawal
python
import bttAPI as api
from pprint import pprint
pprint(api.getWalletTransactions())
output:
[{'amount': 1195000000,
'created': 1622713771,
'id': 1622578556996,
'message': 'calling interface [BroadcastTransaction] fail, reasons: '
'[ResultCode[CONTRACT_VALIDATE_ERROR], Message[contract validate '
'error : assetBalance is not sufficient.]]',
'status': 'Complete',
'type': 'Withdrawal'},
{'amount': 2350000000,
'created': 1622483796,
'id': 1622483746585,
'message': 'SUCCESS',
'status': 'Complete',
'type': 'Withdrawal'}]
There are some endpoints I have purposefully left out for numerous reasons: 1) The API endpoint is not publicly live (like the Binance Exchange Wallet Integration endpoints); 2) It's dangerous for those who don't know what they're doing (privatekey, seed phrase, etc)
Complete list of endpoints actually published by BitTorrent team can be seen in misc/extracted.txt
- 0.1
- Work in progress
- Better organization
- Include more endpoints
- Announce the BTT Boost Project
- BTT Boost – Homepage – bttboost@pm.me
- BTT Speed Subreddit - Link
Distributed under the WTFPL license. See LICENSE
for more information.
- BTC
bc1q9lhnd8un6f74hawqfstgqelevjtaukwtjmspdk
- ETH / ERC20
0x4a95dEcaB17111Fb690315Fc542ab1754c3B00B5
- LTC
ltc1qk9s2krvnlnzlq8zaarfjqe80vajw5pg2xsc7lw
- TRX / BTT / USDT-TRC10
TYhp2gFGZ9poFHQmzSQZ5JFe5LWznncyu5
- XRP:
rfPrCwHawfk8NVCvk2LxvKromvtGoZy6Uo
- DOGE:
DGryeDF6F7uJh5JibP9ZogvDF3QYQ19i5h
- Fork it (https://github.com/BTTBoost/BTTSpeed-API/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request