Bitcoin Forum
November 06, 2024, 07:26:48 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help regarding RPC  (Read 94 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
BitMaxz
Legendary
*
Offline Offline

Activity: 3430
Merit: 3165


Playbet.io - Crypto Casino and Sportsbook


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

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
NotATether
Legendary
*
Offline Offline

Activity: 1778
Merit: 7362


Top Crypto Casino


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!)

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
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!