Bitcoin Forum
May 09, 2024, 05:50:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help regarding RPC  (Read 79 times)
TonyJames11 (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
October 09, 2023, 10:56:27 PM
 #1

Once scammed, now learning core node. I am using Bitcoin rpc calls. I generated an btc address, and accepted many times btc on that. So, I can easily track how much received on the address. Also this address is provided to one user on the code , I am working on. Now that guy wants to withdraw the btc from same address. How can I do that ? Please help
1715277023
Hero Member
*
Offline Offline

Posts: 1715277023

View Profile Personal Message (Offline)

Ignore
1715277023
Reply with quote  #2

1715277023
Report to moderator
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715277023
Hero Member
*
Offline Offline

Posts: 1715277023

View Profile Personal Message (Offline)

Ignore
1715277023
Reply with quote  #2

1715277023
Report to moderator
1715277023
Hero Member
*
Offline Offline

Posts: 1715277023

View Profile Personal Message (Offline)

Ignore
1715277023
Reply with quote  #2

1715277023
Report to moderator
1715277023
Hero Member
*
Offline Offline

Posts: 1715277023

View Profile Personal Message (Offline)

Ignore
1715277023
Reply with quote  #2

1715277023
Report to moderator
BitMaxz
Legendary
*
Online Online

Activity: 3248
Merit: 2965


Block halving is coming.


View Profile WWW
October 09, 2023, 11:29:03 PM
 #2

What exactly do you want to achieve?

Instead of using RPC calls why not use it as a normal wallet? Bitcoin core is easy to use in the GUI you can just click the Bitcoin core shortcut and manage your wallet there.

Do you remotely control someone's wallet through RPC calls?

Can you add more details about what do you want to do through RPC calls?

Here's the RPC calls below for sending BTC you can place the same address under bitcoin_address from the command below.
Code:
bitcoin-cli sendtoaddress <bitcoin_address> <amount>
More samples here
- https://developer.bitcoin.org/reference/rpc/sendtoaddress.html

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6732


bitcoincleanup.com / bitmixlist.org


View Profile WWW
October 10, 2023, 09:19:48 AM
 #3

Here's the RPC calls below for sending BTC you can place the same address under bitcoin_address from the command below.
Code:
bitcoin-cli sendtoaddress <bitcoin_address> <amount>

This is all you need to do if you don't care about exactly what kind of transaction is made.

Although if you use the -named command-line switch then you can also specify the transaction fee much more easily.

Example:

Code:
bitcoin-cli -named sendtoaddress address=<address> amount=<amount> fee_rate=<in sats/vbyte>

Note that both of these commands require that you unlock the wallet using the walletpassphrase command if it is password-protected. (And it should be!)

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!