Bitcoin Forum
April 27, 2024, 11:39:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin-cli sendtoaddress showing invalid bitcoin address error-5  (Read 590 times)
insmishr03 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 23, 2017, 05:21:18 AM
 #1

i want to send bitcoin to my wallet but while sending by raw transaction it is showing invalid bitcoin address  error-5  and my bitcoin core wallet not synced it.

command using:
bitcoin-cli -testnet sendtoaddress NEW_ADDRESS 2.0
also, i am trying

bitcoin-cli -regtest createrawtransaction '''
    [
      {
        "txid": "'$UTXO_TXID'",
        "vout": '$UTXO_VOUT'
      }
    ]
    ''' '''
    {
      "'$NEW_ADDRESS'": 2.00000000
    }'''



I checked the address in blockchain it's showing valid address

my address is 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9
1714261155
Hero Member
*
Offline Offline

Posts: 1714261155

View Profile Personal Message (Offline)

Ignore
1714261155
Reply with quote  #2

1714261155
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714261155
Hero Member
*
Offline Offline

Posts: 1714261155

View Profile Personal Message (Offline)

Ignore
1714261155
Reply with quote  #2

1714261155
Report to moderator
1714261155
Hero Member
*
Offline Offline

Posts: 1714261155

View Profile Personal Message (Offline)

Ignore
1714261155
Reply with quote  #2

1714261155
Report to moderator
1714261155
Hero Member
*
Offline Offline

Posts: 1714261155

View Profile Personal Message (Offline)

Ignore
1714261155
Reply with quote  #2

1714261155
Report to moderator
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4165


View Profile
June 23, 2017, 05:26:34 AM
 #2

You are passing a -testnet argument to Bitcoin-cli. Testnet addresses doesn't start with 1, it starts with m.

If you are trying to send Bitcoins on mainnet, your command should be
Code:
bitcoin-cli sendtoaddress 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9 2
.

You probably do not own 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9 so it will not work.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
insmishr03 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 23, 2017, 06:59:26 AM
 #3

Thanks for your reply.the problem has gone.but now new problem arise. it is showing insufficient fund, error code-6.although i have many bitcoin.bitcoin core wallet is middle of the synchronization.is this the problem?
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4165


View Profile
June 23, 2017, 09:13:09 AM
 #4

Thanks for your reply.the problem has gone.but now new problem arise. it is showing insufficient fund, error code-6.although i have many bitcoin.bitcoin core wallet is middle of the synchronization.is this the problem?
Possibly, Bitcoin Core will only recognise coins received when it is synchronized beyond the date which the transaction was sent.

Are you sending to or from 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9? If your address is 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9, you likely don't have any funds.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
DannyHamilton
Legendary
*
Online Online

Activity: 3374
Merit: 4610



View Profile
June 23, 2017, 04:14:14 PM
 #5

- snip -
although i have many bitcoin.
- snip -

Are you sure?  How do you know?
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
June 24, 2017, 10:49:08 AM
 #6

my address is 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9
Are you sure about that? That is the bitcointalk forums donation address:

Donate to the Bitcoin Forum

Donation address: 17RTTUAiiPqUTKtEggJPec8RxLMi2n9EZ9

What exactly are you trying to do? Huh

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!