We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My btc addres : 1GwLg3QmpcdTj3DiQB6tsLeaiRoRtoNTgS My code :
from bit import PrivateKey
my_key = PrivateKey(wif="***") money=1 wallet='1MfnucMaYJ5P81TUYTB9zzeThiHNXdBrvH fee=2000 utxos = my_key.get_unspents() print(utxos)
my_key = PrivateKey(wif="***")
money=1
wallet='1MfnucMaYJ5P81TUYTB9zzeThiHNXdBrvH
fee=2000
utxos = my_key.get_unspents()
print(utxos)
tx_hash = my_key.create_transaction([(wallet, money, 'usd')],fee=fee,unspents=utxos)
print(tx_hash)
The text was updated successfully, but these errors were encountered:
Did you ever solve this issue? I have a similar problem.
from bit import PrivateKey key = PrivateKey('PrivateKeyFromExodusWallet') print(key.address) print(key.get_balance('btc')) print(key.balance)
This gives me a wrong BTC address and shows that balance is 0.
Sorry, something went wrong.
Change key.balance for key.get_balance
key.balance
key.get_balance
No branches or pull requests
My btc addres : 1GwLg3QmpcdTj3DiQB6tsLeaiRoRtoNTgS
My code :
from bit import PrivateKey
my_key = PrivateKey(wif="***")
money=1
wallet='1MfnucMaYJ5P81TUYTB9zzeThiHNXdBrvH
fee=2000
utxos = my_key.get_unspents()
print(utxos)
tx_hash = my_key.create_transaction([(wallet, money, 'usd')],fee=fee,unspents=utxos)
print(tx_hash)
The text was updated successfully, but these errors were encountered: