Bitcoin Forum
July 02, 2024, 09:07:39 PM
Welcome,
Guest
. Please
login
or
register
.
News
: Latest Bitcoin Core release:
27.0
[
Torrent
]
Home
Help
Search
Login
Register
More
Bitcoin Forum
>
Bitcoin
>
Bitcoin Technical Support
>
bitcoin core sendfrom function
Pages: [
1
]
« previous topic
next topic »
Print
Author
Topic: bitcoin core sendfrom function (Read 566 times)
xishon
(OP)
Newbie
Offline
Activity: 20
Merit: 0
bitcoin core sendfrom function
May 16, 2017, 12:59:16 PM
#1
I am new to Bitcoin.I am running Bitcoin core RPC method sendfrom which is used to send bitcoins from one account to other bitcoin account but it returns me nil instead of tx.
xishon
(OP)
Newbie
Offline
Activity: 20
Merit: 0
Re: bitcoin core sendfrom function
May 16, 2017, 01:58:00 PM
#2
Really thanks for your reply.
I am doing the same which you said.I am running the following command from my controller
response = %x{/usr/local/bin/b/bitcoin-cli "sendfrom", "#{params[:account_name].strip}", "#{params[:to_address].strip}", "#{params[:amount]}")}
and the account has 0.14 BTC and i am trying to send 0.001 BTC.
DannyHamilton
Legendary
Offline
Activity: 3430
Merit: 4681
Re: bitcoin core sendfrom function
May 16, 2017, 03:08:03 PM
#3
First, we need to make sure that you understand that an "account" and a "bitcoin address" are NOT THE SAME THING.
Once we are sure that you understand that, then you need to understand that Bitcoin Core will allow an account to have a negative balance, so it doesn't matter how many BTC the account has. What is important is that the wallet has enough bitcoins to cover both the amount you want to send. If the account you are trying to send from has a balance of 0.14 BTC, and a different account has a balance of -0.13999 BTC, then your wallet might not have enough bitcoins to send 0.001 BTC.
Have you tried "listaccounts" to make sure that you haven't misspelled the account name?
Have you tried "getbalance" to make sure that the wallet has a high enough balance?
xishon
(OP)
Newbie
Offline
Activity: 20
Merit: 0
Re: bitcoin core sendfrom function
May 16, 2017, 03:49:20 PM
#4
Thanks for your reply.
I know about the difference between "account" and "bitcoin address".Also account name spellings are correct and "getbalance" gives 0.23 BTC.
DannyHamilton
Legendary
Offline
Activity: 3430
Merit: 4681
Re: bitcoin core sendfrom function
May 16, 2017, 04:35:30 PM
#5
Quote from: xishon on May 16, 2017, 03:49:20 PM
Thanks for your reply.
I know about the difference between "account" and "bitcoin address".Also account name spellings are correct and "getbalance" gives 0.23 BTC.
Then I don't know why it isn't working for you. Sorry I can't be more helpful. You'll have to wait for someone more knowledgeable to respond to your post.
xishon
(OP)
Newbie
Offline
Activity: 20
Merit: 0
Re: bitcoin core sendfrom function
May 16, 2017, 04:39:28 PM
#6
Thanks for your interest
achow101
Moderator
Legendary
Offline
Activity: 3444
Merit: 6737
Just writing some code
⇾
Re: bitcoin core sendfrom function
May 17, 2017, 03:33:16 PM
#7
Is the wallet encrypted? If it is, are you using the
walletpassphrase
command first to decrypt it?
Also,
sendfrom
is deprecated. You should use
sendtoaddress
instead.
Bitcoin Core contributor |
Tip Me!
|
GitHub
|
GPG Key Fingerprint 0x17565732E08E5E41
xishon
(OP)
Newbie
Offline
Activity: 20
Merit: 0
Re: bitcoin core sendfrom function
May 17, 2017, 03:46:32 PM
#8
thanks for your response.
Currently the wallet is not encrypted and its my need to use sendfrom function.
Pages: [
1
]
Print
Bitcoin Forum
>
Bitcoin
>
Bitcoin Technical Support
>
bitcoin core sendfrom function
« previous topic
next topic »
Jump to:
Please select a destination:
-----------------------------
Bitcoin
-----------------------------
=> Bitcoin Discussion
===> Legal
===> Press
===> Meetups
===> Important Announcements
=> Development & Technical Discussion
===> Wallet software
=====> Electrum
=====> Bitcoin Wallet for Android
=====> BitcoinJ
=====> Armory
=====> Mycelium
=====> Hardware wallets
=> Mining
===> Mining support
===> Pools
===> Mining software (miners)
===> Hardware
=====> Group buys
===> Mining speculation
=> Bitcoin Technical Support
=> Project Development
-----------------------------
Economy
-----------------------------
=> Economics
===> Speculation
=> Marketplace
===> Goods
=====> Computer hardware
=====> Digital goods
=======> Invites & Accounts
=====> Collectibles
===> Services
===> Currency exchange
===> Gambling
=====> Games and rounds
=====> Investor-based games
=====> Gambling discussion
===> Lending
=====> Long-term offers
===> Securities
===> Auctions
===> Service Announcements
=====> Micro Earnings
===> Service Discussion
=====> Web Wallets
=====> Exchanges
=> Trading Discussion
===> Scam Accusations
===> Reputation
-----------------------------
Other
-----------------------------
=> Meta
===> New forum software
===> Bitcoin Wiki
=> Politics & Society
=> Beginners & Help
=> Off-topic
=> Serious discussion
===> Ivory Tower
=> Archival
===> Корзина
===> CPU/GPU Bitcoin mining hardware
===> Chinese students
===> Obsolete (buying)
===> Obsolete (selling)
===> MultiBit
-----------------------------
Alternate cryptocurrencies
-----------------------------
=> Altcoin Discussion
=> Announcements (Altcoins)
===> Tokens (Altcoins)
=> Mining (Altcoins)
===> Pools (Altcoins)
=> Marketplace (Altcoins)
===> Service Announcements (Altcoins)
===> Service Discussion (Altcoins)
===> Bounties (Altcoins)
=> Speculation (Altcoins)
-----------------------------
Local
-----------------------------
=> العربية (Arabic)
===> العملات البديلة (Altcoins)
=====> النقاشات
===> إستفسارات و أسئلة المبتدئين
===> التعدين
===> النقاشات الأخرى
===> منصات التبادل
=> Bahasa Indonesia (Indonesian)
===> Marketplace (Bahasa Indonesia)
===> Mining (Bahasa Indonesia)
===> Altcoins (Bahasa Indonesia)
===> Trading dan Spekulasi
===> Ekonomi, Politik, dan Budaya
===> Topik Lainnya
=> Español (Spanish)
===> Mercado y Economía
=====> Servicios
=====> Trading y especulación
===> Hardware y Minería
===> Esquina Libre
===> Mercadillo
=====> Mexico
=====> Argentina
=====> España
=====> Centroamerica y Caribe
===> Primeros pasos y ayuda
===> Altcoins (criptomonedas alternativas)
=====> Minería de altcoins
=====> Servicios
=====> Tokens (Español)
=> 中文 (Chinese)
===> 跳蚤市场
===> 山寨币
===> 媒体
===> 挖矿
===> 离题万里
=> Hrvatski (Croatian)
===> Trgovina
===> Altcoins (Hrvatski)
=====> Announcements (Hrvatski)
===> Off-topic (Hrvatski)
=> Deutsch (German)
===> Anfänger und Hilfe
===> Mining (Deutsch)
===> Trading und Spekulation
===> Projektentwicklung
===> Off-Topic (Deutsch)
===> Treffen
===> Presse
===> Altcoins (Deutsch)
=====> Announcements (Deutsch)
===> Marktplatz
=====> Auktionen
=====> Suche
=====> Biete
=> Ελληνικά (Greek)
===> Αγορά
===> Mining Discussion (Ελληνικά)
===> Altcoins (Ελληνικά)
=====> Altcoin Announcements (Ελληνικά)
=====> Altcoin Mining (Ελληνικά)
=> עברית (Hebrew)
=> Français
===> Actualité et News
===> Débutants
===> Discussions générales et utilisation du Bitcoin
===> Mining et Hardware
===> Économie et spéculation
===> Place de marché
=====> Échanges
=====> Produits et services
=====> Petites annonces
===> Le Bitcoin et la loi
===> Wiki, documentation et traduction
===> Développement et technique
===> Vos sites et projets
===> Hors-sujet
===> Altcoins (Français)
=====> Annonces
=> India
===> Mining (India)
===> Marketplace (India)
===> Regional Languages (India)
===> Press & News from India
===> Alt Coins (India)
===> Buyer/ Seller Reputations (India)
===> Off-Topic (India)
=> Italiano (Italian)
===> Guide (Italiano)
===> Progetti
===> Discussioni avanzate e sviluppo
===> Trading, analisi e speculazione
===> Mercato
=====> Mercato valute
=====> Beni
=====> Servizi
=====> Esercizi commerciali
=====> Hardware/Mining (Italiano)
=====> Gambling (Italiano)
===> Accuse scam/truffe
===> Mining (Italiano)
===> Alt-Currencies (Italiano)
=====> Annunci
===> Raduni/Meeting (Italiano)
===> Crittografia e decentralizzazione
===> Off-Topic (Italiano)
=> 日本語 (Japanese)
===> アルトコイン
=> Nederlands (Dutch)
===> Markt
===> Gokken/lotterijen
===> Mining (Nederlands)
===> Beurzen
===> Alt Coins (Nederlands)
===> Off-topic (Nederlands)
===> Meetings (Nederlands)
=> Nigeria (Naija)
===> Politics and society (Naija)
===> Off-topic (Naija)
=> 한국어 (Korean)
===> 대체코인 Alt Coins (한국어)
=> Pilipinas
===> Altcoins (Pilipinas)
=====> Altcoin Announcements (Pilipinas)
===> Pamilihan
===> Others (Pilipinas)
=> Polski
===> Tablica ogłoszeń
===> Alternatywne kryptowaluty
=====> Nowe kryptowaluty i tokeny
=====> Tablica ogłoszeń (altcoiny)
=> Português (Portuguese)
===> Primeiros Passos (Iniciantes)
===> Economia & Mercado
===> Mineração em Geral
===> Desenvolvimento & Discussões Técnicas
===> Criptomoedas Alternativas
===> Brasil
===> Portugal
=> Русский (Russian)
===> Новички
===> Бизнес
=====> Барахолка
=====> Обменники
===> Идеи
===> Кодеры
===> Майнеры
===> Политика
===> Трейдеры
===> Альтернативные криптовалюты
=====> Токены
=====> Бayнти и aиpдpoпы
===> Хайпы
===> Работа
===> Разное
===> Oбcyждeниe Bitcoin
=====> Новости
=====> Юристы
=> Română (Romanian)
===> Anunturi importante
===> Offtopic
===> Market
=====> Discutii Servicii
===> Minerit
===> Tutoriale
===> Bine ai venit!
===> Presa
===> Altcoins (Monede Alternative)
=====> Anunturi Monede Alternative
=> Skandinavisk
=> Türkçe (Turkish)
===> Bitcoin Haberleri
===> Pazar Alanı
===> Madencilik
===> Ekonomi
===> Servisler
=====> Fonlar
===> Proje Geliştirme
===> Alternatif Kripto-Paralar
=====> Madencilik (Alternatif Kripto-Paralar)
=====> Duyurular (Alternatif Kripto-Paralar)
===> Konu Dışı
===> Yeni Başlayanlar & Yardım
===> Buluşmalar
=> Other languages/locations
Loading...