layerqa / aiocryptopay

https://t.me/CryptoBot api asynchronous python wrapper
https://pypi.org/project/aiocryptopay/
MIT License
84 stars 18 forks source link

Перестал работать функция get_amount_by_fiat #9

Closed kerosenone closed 1 year ago

kerosenone commented 1 year ago

Вчера работала.

summa = db[call.from_user.id]["invest"]

print(summa)

# Get amount in crypto by fiat summ
amount = await crypto.get_amount_by_fiat(summ=float(summa), asset='USDT', target='USD')
invoice = await crypto.create_invoice(asset='USDT', amount=float(amount))

image

layerqa commented 1 year ago

update package