there is a code:
web3 = Web3(Web3.HTTPProvider(infura_url))
# Check connection
print(web3.is_connected())
balance = web3.eth.get_balance(SENDER_ADDRESS)
print(balance)
adress1 = Web3.to_checksum_address(SENDER_ADDRESS)
adress2 = Web3.to_checksum_address(RECIPIENT_ADDRESS)
nonce = web3.eth.get_transaction_count(adress1)
tx = {
"nonce":nonce,
"to":adress2,
"value":web3.to_wei(0.0000001, 'ether'),
"gas":21000,
"gasPrice":web3.to_wei(40, 'gwei')
}
signed_tx = web3.eth.account.sign_transaction(tx, PRIVATE_KEY)
tx_transaction = web3.eth.send_raw_transaction(signed_tx.rawTransaction)
ValueError: Unknown unit. Must be one of wei/kwei/babbage/femtoether/mwei/lovelace/picoether/gwei/shannon/nanoether/nano/szabo/microether/micro/finney/milliether/milli/ether/kether/grand/mether/gether/tether
the problem: I want to send absolutely no name coins. I need to send coins only knowing their short name(i mean this: ETH/FTM/ARB/SOL) how to do that?