Wallet
The Wallet Page handles the buying, selling, sending and receiving of cryptocurrencies.
from buycoins import Walletwallet = Wallet()
wallet.method_name(**args)buy_crypto(currency, coin_amount)
Example:
from buycoins import Wallet
wallet = Wallet()
buy_bitcoin = wallet.buy_crypto(currency="bitcoin", coin_amount=0.05)
print(buy_bitcoin){
"id": "QnV5Y29pbnNQcmljZS05NjNmZTExOS02ZGVhLTRlMDItYTc3NC1lZjViYjk3YWZiNGE=",
"cryptocurrency": "bitcoin",
"status": "processing",
"totalCoinAmount": 0.05,
"side": "buy",
}sell_ crypto(currency, coin_amount)
Example:
get_network_fee(currency, coin_amount)
Example:
create_address(currency)
Example:
send_crypto(currency, coin_amount, address)
Example
get_balances()
Example:
Errors
Last updated
Was this helpful?