Questions tagged [json-rpc]

This tag should be used for questions relating to the Bitcoin Core/bitcoind JSON-RPC interface.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

What does the sixth line in the output of the Bitcoin Core GUI RPC command “gettxoutsetinfo” mean?

An example of the output of this RPC command is as follows. 1 "height":n, (numeric) The current block height (index) 2 "bestblock": "hex", (string) The hash of ...
0
votes
0answers
11 views

Connecting Ledger Nano X wallet to my Bitcoin node

I've been trying to connect my Ledger nano x to my bitcoin full node following this instructions by Ledger. I have configured the bitcoin.conf file as follows: prune=0 txindex=1 server=1 daemon=1 ...
0
votes
1answer
28 views

How do I use the getblocktemplate RPC command of Bitcoin Core GUI? I tried the following usages but none of them worked

I tried the following commands, but none of them worked. -getblocktemplate "segwit" -Error: Error parsing JSON: segwit -getblocktemplate ("segwit") -Error: Error parsing JSON: ...
0
votes
1answer
30 views

How to get _integer_ satoshi values from JSON RPC?

It seems that RPC calls for getting JSON information on blocks return "value" fields in bitcoins, not in satoshis. This means that there is a conversion from integer to float somewhere, ...
0
votes
0answers
22 views

bitcoin-cli sendmany but not shown explorer

I sent bitcoin to 93 people with sendmany function. It made a tx id = "abc7f3f878fe0fff59bd295ea1a7f86c4a13f1ea8bbd3eb52629f040d06069b4" but I couldn't show in bitcoin explorer. I ran ...
2
votes
1answer
41 views

How do you determine whether Bitcoin Core is synced fully or not from the RPC API?

I keep getting the wrong numbers returned daily in the beginning of the day because Bitcoin Core has not yet synced the blockchain from the computer being powered off during the night. So I need a way ...
1
vote
1answer
86 views

What is the purpose of submit header relative to submit block?

I understand what the usage is for submit block, but submit header exists in the RPC API reference. Is that a legacy function? Or can it still be used? Thanks
0
votes
1answer
51 views

Connecting a Hardware wallet to a full node

I'm trying to connect my hardware wallet to my personal full node for the sake of privacy. I need to know the node's IP, port, and RPC credentials. The first two are easy, I can see my full node in ...
0
votes
1answer
15 views

Cannot remote to regtest node with curl cmd - Empty reply from server

Hi I'm new to rpc curl cmds and having some issues connecting to my regtest node. I'm getting "empty reply from server" which makes me think it is connecting but something is misconfigured. ...
0
votes
2answers
44 views

Scan ports for my onion bitcoin node and RPC calls

I'm getting to work my first bitcoin node, it is running P2P through Tor network. 1: How can it be scanned? how can I see if its exposing any port, or port 8333? 2: How can I make RPC calls through ...
0
votes
1answer
95 views

How do I solo mine with bitcoind-rpc?

I found this script: https://github.com/jgarzik/pyminer But it uses getwork RPC call, which resulting me this: error code: -32601 error message: Method not found From https://en.bitcoin.it/wiki/...
0
votes
2answers
43 views

Multisig synchronization

I understand what the multisig wallets are but I need help understanding what exactly this script does: https://gist.github.com/gavinandresen/3882537 If I understand correctly, bitcoinds are bitcoin ...
0
votes
1answer
24 views

With sendmany, how to specify the “subtractfeefrom” so that I pay the fee, but it's not subtracted from any of the “inner transactions”?

https://bitcoincore.org/en/doc/0.21.0/rpc/wallet/sendmany/ If I don't want the recipient to pay the fee, but I also don't want to subtract the fee from any of the "inner transactions" ...
3
votes
1answer
56 views

What does the RPC call “getmemoryinfo” show?

What does the output of the RPC call getmemoryinfo actually mean? For example, this is from my node running in Docker. Does that mean the bitcoind process inside the container is only using 64272 ...
-2
votes
1answer
27 views

What data i can save? [closed]

i'm make one application about bitcoin, and I'm searching that data i can save, I'm read that the public key i can save in my database and privit key no, but i dont know, what more data i can save, I ...
0
votes
1answer
19 views

What is the difference between “time” and “timereceived”?

https://bitcoincore.org/en/doc/0.20.0/rpc/wallet/listsinceblock/ : "time" : xxx, (numeric) The transaction time expressed in UNIX epoch time. "timereceived" ...
2
votes
2answers
65 views

What exactly is the “vout” field?

This is driving me nuts. Through trial-and-error, asking numerous people and attempting to read endless articles and manuals, I've come to the conclusion that the "transactions" listed by ...
-1
votes
2answers
30 views

What exactly is the new (?) “to” field in the Bitcoin Core RPC API?

https://bitcoincore.org/en/doc/0.20.0/rpc/wallet/listsinceblock/ "to" : "str" (string) If a comment to is associated with the transaction. I've read that ...
0
votes
0answers
16 views

What is the purpose of the “category” Bitcoin Core RPC API field/property?

When using the Bitcoin Core RPC API to list the transactions, there is a "category" property, which can apparently be either "send" or "receive". Then there's the "...
1
vote
1answer
36 views

bitcoin core RPC vs bitcoin libraries

What is the main difference between using one of the bitcoin libraries to create a project and using bitcoin core json RPC API directly by connecting to your node for everything? If the library has no ...
0
votes
0answers
27 views

Handle multiple wallets with easybitcoin

I want to create a wallet for every user. With the easybitcoin rpc, I would like to call up the balance in php. Everything runs in the testnet. I found out that I have to adjust the initialization ...
1
vote
0answers
52 views

listreceivedbyaddress() does not return info about change addresses

listreceivedbyaddress() does not return info about the change addresses (m/84'/1'/0'/1/*) , only about the receive addresses (m/84'/1'/0'/0/*). However the command getreceivedbyaddress("address&...
0
votes
1answer
31 views

How to get sender address from transaction with JSON RPC?

I'm using JSON-RPC call to connect to local bitcoin node on my clouding server. I could get all transactions with wallet name by using gettransactions. Now I need to get sender's address for each ...
1
vote
1answer
25 views

Is it possible to detect if flag -txindex is enabled using RPC?

Using JSONRPC, how do I detect if a node has -txindex enabled?
0
votes
1answer
41 views

RPC security of bitcoind node

If I have a fairly default bitcoin.conf file, let's say: rpcport=8332 txconfirmtarget=6 ie: notably one where I don't specify things like rpcuser, rpcpassword - is this insecure? As I understand, ...
0
votes
1answer
19 views

Can I see transactions in bitcoin-qt without downloading blocks? if I have a server with blocks on the local network?

I have server with bitcoind (synchronized), port 18443 opened. And I tried to connect to rpc server with bitcoin-qt in my mac. With this configuration: regtest=1 rpcuser=<login> rpcpassword=<...
0
votes
1answer
30 views

Specification of REST .bin format?

I'm currently using the JSON Rest API to get lots of transaction data from bitcoin. Unfortunately thats quite slow. I know there is also a binary format (see Unauthenticated REST Interface), but I ...
1
vote
1answer
31 views

Bitcoind to use static RPC authentication cookie from file?

I'm running bitcoind 0.20.1 inside a Docker container and would like to access its RPC interface from another container. I have put an authentication cookie into a Docker secret and mapped it to /run/...
0
votes
0answers
14 views

How to connect bitcore library to my local bitcoin core

I am running a full node bitcoin core on my server and just recently came to realisation that I need to work with some APIs and libraries to be able to build my application interacting with the ...
0
votes
1answer
251 views

What are fee_method and fee_level in Electrum's getfeerate RPC call?

I couldn't find any documentation on this. I found that the options for fee_method are eta, static and mempool by reading the source code. But it's still not clear to me how fee_level relates to the ...
0
votes
2answers
78 views

Can bitcoin-core wallet be used as the backend for a mobile wallet app?

my idea is to use bitcoin core and it's multi-wallet capabilities as the back-end of a mobile wallet app. The way I think this could be archieved is by creating an empty wallet with bitcoin-cli ...
0
votes
2answers
57 views

Is it possible to query a node for all addresses containing value?

For instance, can I run a query on a bitcoin node, that returns all addresses with more than 1 bitcoin on them?
1
vote
1answer
57 views

How can I know that a full node has finished the initial synchronization process?

I run a full bitcoin node. I launched it several days ago and it has consumed around 300 GB of traffic already which implies that it is about to finish the initial syncronization process. Except for ...
3
votes
1answer
327 views

Clarifying descendants/ancestors in error cases for too-long-mempool-chain

In practice I've seen two instances of the too-long-mempool-chain error when trying to send a transaction: When there are too many unconfirmed transactions chained together: "too many descendants ...
1
vote
1answer
50 views

Can you verify partial blockchain information from a third party, without yourself having an entire blockchain?

I'm considering consuming, or if unavailable, I'm considering providing, a bitcoin blockchain querying service along the lines of json rpc. Would it be possible for me as a consumer of such as service,...
0
votes
1answer
106 views

How to get a wallet feerate (sat/byte) of an unconfirmed transaction?

On block explorers such as blockchain.com, each unconfirmed transaction has a desired feerate set by the wallet such as 58.000 sat/B. This is not to be confused with the actual final fee calculation. ...
1
vote
0answers
25 views

Why does estimatesmartfee and walletcreatefundedpsbt with conf_target show a wide disparity?

Seems that when my testnet node boots up estimatesmartfee works just fine generally: {"jsonrpc":"1.0","id":"curltest","method":"estimatesmartfee&...
0
votes
0answers
33 views

bitcoind RPC methods missing on Debian

Originally I installed .bitcoind using --disable-wallet then I later recompiled it with wallet. Not sure if that's to blame or how to troubleshoot. Commands like this work: bitcoin-cli ...
0
votes
1answer
51 views

Where can I find RPC_User and RPC_Password for my Python Script?

I'm still struggling with this to obtain "rpc_user" and "rpc_password" this is the Python Script I did try others to fill in others network like Blockdaemon.com but it does not ...
1
vote
1answer
52 views

Does getreceivedbyaddress or listreceivedbyaddress or listunspent shows pay to pubkey and bare mutlisig transactions?

Couldn’t find the answer inside the source code. If I receive a pay to pubkey transaction to the pubkey of a 1r address, will it shows up using getreceivedbyaddress or listreceivedbyaddress or ...
1
vote
1answer
35 views

How is a multisig transaction transferred between multiple signers?

I'm trying to learn more about doing multisig transactions. The examples I've seen show the signing of the transaction with 2-of-3, or 3-of-3, where the signatures are added, essentially, at the same ...
2
votes
1answer
59 views

Does testmempoolaccept check all possible rejection rules?

Is there any rejection rule that testmempoolaccept will not check, or is it safe to assume that if it passes testmempoolaccept validation it will be at least broadcast? Mostly concerned about complex ...
0
votes
1answer
27 views

Is there any way to replace “move”?

The "move" command can't use because the account system is gone. So, Is there any way to manage my coins, address, wallet with no fee like "move"? Pleas let me know. :(
1
vote
1answer
58 views

Questions about sendmany json-rpc

1 - Whats is the limit for sendmany? 2 - Can i batch a large number of payments (several hundreds)? 3 - Does an error in processing any address would interrupt the whole process?
0
votes
1answer
34 views

What's the best strategy to send btc from one wallet to a address list with transaction id for each payment?

I'm triyng send a mass btc payment, but using "sendToAddress" i'm limited send a new transaction only when the last was confirmed, if i try send when the last was pending of confirmation i'...
1
vote
1answer
71 views

Connect C-lightning to a remote bitcoind through tor

I would like to connect my C-lightning node to a remote Bitcoin node, in order to be able to run lightningd on a small storage capacity VPS. I could achieve this by using clearnet connection and ...
0
votes
1answer
78 views

How to use getblocktemplate method with Bitcoinlib Library

I am using bitcoinlib to communicate with bitcoin-qt This is the code i tried: Dim BitcoinService As Services.RpcServices.RpcService.IRpcService = New Services.Coins.Bitcoin.BitcoinService("http:...
0
votes
0answers
23 views

Get 10 new addresses with a single request

Referring to the documentation: https://bitcoincore.org/en/doc/0.20.0/rpc/wallet/getnewaddress/ Using the example: curl --user myusername --data-binary '{"jsonrpc": "1.0", "id&...
-1
votes
1answer
184 views

How to get access URL to get JSON output from BTC RPC Explorer [closed]

Currently I'm using blockchain.info to get the balance of an address like this: https://blockchain.info/de/q/addressbalance/1Mj94YLoFudaD4MvfxoUx7nAur5kTeRVFR It outputs the bitcoin balance. Due to ...
0
votes
0answers
76 views

Getting “Invalid or non-wallet transaction id” error on transactions definitely from wallet

Very recently (within the past hour), I've been unable to get transactions for wallet addresses. It also returns 0 received when running getreceivedbyaddress and entering an address that I've ...

1
2 3 4 5
15