Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rpc]

synonym for remote-procedures calls used in Monero and related servicers

0
votes
1answer
16 views

Monero-Proxy for JSON RPC

Is there any script available for monero coin to convert its JSON RPC command to bitcoin JSON RPC command like https://github.com/DeV1doR/ethereumd-proxy.git If it is already available can you give me ...
1
vote
2answers
36 views

Querying wallet RPC about whether a wallet is view-only?

I would like to use the Wallet RPC API to determine if the wallet I am connecting to is view-only. I'm thinking about using the query_key command with key_type=mnemonic. Is it safe to assume that if ...
1
vote
1answer
19 views

Transfering from multiple accounts?

I see in the wallet RPC documentation that the transfer command can take the account_index and subaddr_indices arguments. Are these optional? What happens if these are not specified? Can the transfer ...
1
vote
0answers
41 views

Monero transaction rpc call doesn't return any result for the payment ID

I have a monero address (say ABC) with some balance in it.I need to initiate a transaction to the same ABC address with different payment ID (16 bit) to differentiate for a purpose. I did the ...
0
votes
1answer
31 views

Monerd error on rpc-bind to make a public node

I set my rpc-bind-ip=x.x.x.x in my bitmonero.conf file and used my public IP addres. But I am getting this error: ERROR default src/rpc/rpc_args.cpp:80 --rpc-bind-ip permits inbound unencrypted ...
1
vote
1answer
68 views

What is a .bitmonero.conf template for setting up a public remote node to be accessed with the monerujo android wallet?

I'm trying to setup my own .bitmoner.conf file and looking to create a public node to be used with the android monejuro app. What are the options I need to put in my .bitmonero.conf file? I want to ...
0
votes
1answer
40 views

JSON-RPC Not Working as Shown in Wallet Guide

I am trying to follow the example from https://getmonero.org/resources/developer-guides/wallet-rpc.html#getbalance and getting this result: $ curl -X POST http://127.0.0.1:18081/json_rpc -d '{"...
1
vote
1answer
81 views

Check balance of an address by Monero RPC

In monero RPC, to consult the balance of a wallet we used the following command: "{"jsonrpc":"2.0","id":"0","method":"getbalance"}" How then we will do to consult the balance of an address belonging ...
0
votes
1answer
128 views

Getting balance of my address connecting to a remote node via RPC API?

I'm looking to build a Monero web wallet, but I'm not sure how to go about querying the remote Monero nodes to get an updated balance of an address. Let's say I have the Monero private keys, how do I ...
0
votes
1answer
83 views

Wallet JSON RPC methods

I need the following JSON RPC methods. 1. create new account (getnewaddress) 2. get balance by address/account (getbalance) 3. send balance to another address (sendfrom) 4. import/export privatekey (...
2
votes
1answer
23 views

Is there an RPC call to get the txFee of a block?

getblockheaderbyheight and any other simmilar calls only returns the data below. None of the other calls returns the txFee of the block { "id": "0", "jsonrpc": "2.0", "result": { "...
1
vote
1answer
75 views

Wallet RPC (transfer): Empty Transaction Key (tx_key) received

I run into an issue where when submitting an RPC request to the transfer method, the tx_key (that helps prove a tx was made) is not being returned. I explicitly mention get_tx_key so that the tx_key ...
0
votes
0answers
37 views

Monero address validation [duplicate]

I am trying to start an exchange. When testing i came to a minor bumb when it comes to validating an address. Monero addresses may seem random, but they have the following details in common: ...
1
vote
0answers
116 views

How to receive balance change notifications?

Few days ago I asked on IRC how to receive notifications about incoming transactions and was pointed out that it's possible to do via freshly added 0MQ protocol. Looking through the PR I didn't ...
1
vote
0answers
266 views

RPC will not connect to daemon

I attempted to run the Monero RPC, but I am not able to connect to the daemon on either my VPS, which is running a synchronized daemon, or on my Windows PC. This is what happened I started by ...
2
votes
1answer
405 views

How to create multiple addresses in a single wallet using Monero-JSON-RPC?

I have few questions related monero payment gateway. 1.) If I want to create more than one address in single wallet using JSON-RPC, then how to do it? I have created integrated address but it does ...
3
votes
1answer
98 views

RPC method to translate key_offsets

This SE answer explains the "key_offsets". Is there any RPC call to translate theses offsets to their matching outputs ?
5
votes
2answers
117 views

How to close a wallet without stopping the RPC server?

I am trying to use RPC to perform such actions as: Check balance and make transfers using selected wallet The needed wallet should be unlocked just before any tranfer and locked immediately after ...
1
vote
0answers
146 views

Unable to get any transactions from walletd JSON RPC response

I apologise for being slightly off-topic here, but I'm clueless at this moment and struggling with finding an answer for some time now... I have daemons forked from original CryptoNote source code ...
1
vote
0answers
26 views

Is there a cn_util implementation for python

I'am trying to implement stratum server logic in python (looking at projects like https://github.com/sammy007/monero-stratum/ or https://github.com/lucasjones/node-cryptonote-util/ and if wonder if ...
2
votes
1answer
65 views

Transaction fee using RPC for non ringct transactions

How to get the fee of a transaction using the daemon RPC for non ring-ct transactions ? For RingCT transactions, I can get the fee using the method /gettransactions and the field txnFee in the ...
1
vote
1answer
123 views

Calculating the circulating supply using daemon RPC

Is there an easy way to calculate the currently circulating supply using daemon RPC calls?
1
vote
1answer
601 views

How to run monero-wallet-rpc in background without revealing my password to the server?

I know that I can run the rpc wallet in the background on Ubuntu by adding a & to the command or by using setsid. But that would result in me having to use following code on the command line: ./...
0
votes
0answers
69 views

Is there a way to sign_transfer a tx_blob returned by transfer command from rpc call?

If I send this command to a view-only wallet rpc instance, how can I "sign_transfer" it so I can submit it? I tried pasting the tx_blob into a file and running sign_transfer with cli wallet. I'm ...
4
votes
1answer
64 views

Can view-only wallet create unsigned tx via RPC call?

Can I use RPC to get back a string representing the unsigned tx file? I'd like to split an unsigned tx into QR codes, and I'd like my app to run the process instead of parallel user interaction with ...
3
votes
1answer
275 views

Multiple different wallets connected to same monero node

I'm trying to connect multiple wallet-RPC to the same monero node. I have started two separated terminals in order to test the setup and started it with the following command: ./monero-wallet-rpc --...
1
vote
1answer
2k views

Monero wallet doesn't connect to local daemon

I have a Monero daemon running on a Raspberry Pi connected to my LAN and it worked fine for sometimes, but lately, I'm unable to connect wallet from another PC to it. When the issue has happened for ...
1
vote
1answer
56 views

Is there a way to get the latest blocks from monero rpc

I'm looking at the documentation (https://getmonero.org/resources/developer-guides/daemon-rpc.html), I see there is a way to get the information of a single block, but I can't find the method to get ...
3
votes
2answers
350 views

JSON RPC with digest auth

Is there anyone using Monero JSON RPC authentication? I can only use curl with username:password to request the daemon RPC. But I cannot do the request with nodejs. Anyone tried with nodejs ...
0
votes
0answers
121 views

What does getblocktemplate return?

Looking on the forum, it seems that getblocktemplate RPC call returns both a blockhashing_blob and blocktemplate_blob, but on the monerod documentation i didn't find anything about the ...
0
votes
0answers
68 views

submitblock RPC call through PHP

If i find a nonce and manually build the raw block (blob), how can i submit it to the blockchain in PHP? I saw the documentation but i don't understand how to implement the JSON RPC calls in non-c++ ...
2
votes
2answers
555 views

How to get network hashrate from monero daemon via RPC?

When the Monero daemon is running, the monerod status command prints the network hashrate .., net hash 287.52 MH/s,... I couldn't find any mentions of network hashrate in the Monero daemon RPC ...
0
votes
1answer
94 views

Does core_rpc_server::on_submitblock need full block blob?

It looks like the core_rpc_server::on_submitblock method is expecting a full block blob, since it calls... if(!parse_and_validate_block_from_blob(blockblob, b)) However this RPC method is used to ...
3
votes
1answer
605 views

How to get the entire block blob for submission after mining nonce

After mining a correct nonce on the block template (received from rpc method "getblocktemplate") you need to submit the block back to the daemon. However, the rpc method "submitblock" appears to ...
1
vote
1answer
971 views

Getting “Unauthorized Access” with RPC (using Python Requests)

I can successfully do a getbalance RPC with digest authentication, e.g.: url = "http://localhost:18082/json_rpc" headers = {'content-type': 'application/json'} rpc_input = { "method": "...
2
votes
1answer
427 views

How can I run an open node with RPC restricted only to localhost?

Currently, I can run an open node and connect my wallet from another system (with restricted-rpc to be safe) OR I can run the node with RPC enabled (so I can monitor from localhost, eg monerod ...
3
votes
1answer
661 views

Difference between --rpc-bind-ip 0.0.0.0, or loopback, or actual IP

I run a node from home. I use --rpc-bind-ip as a daemon flag, with my internal/LAN IP address as the argument. With this setup, I can access my node from wallets on different computers inside my LAN....
1
vote
1answer
350 views

What is the reserve_size parameter in getblocktemplate?

The getblocktemplate RPC method accepts a parameter, reserve_size. What does it do and what are its valid values?
3
votes
1answer
255 views

Multiple Users Per Node Via JSON RPC

I have been looking at the JSON RPC Api for connecting to a Node. Can a node support multiple users connecting to it, all with individual wallets...? I've been looking at https://getmonero.org/...
2
votes
1answer
934 views

Error when launching (--rpc-bind-ip) monerod with external IP address: Failed to bind server

I thought I would try and set up a remote node, but I'm getting errors: $ ./monerod --rpc-bind-ip 31.xxx.xxx.xxx --restricted-rpc --confirm-external-bind 2017-05-30 10:47:13.002 INFO global ...
3
votes
1answer
803 views

How to extract data from local blockchain

How to extract data, blocks from blockcain stored on local disk drive, and acquire it through some usual data transfer chanel (eg. JSON) in other application?
3
votes
1answer
311 views

Monero RPC over SSL for client and server

I am trying to setup an RPC connection between monerod and monero-wallet-cli over SSL. For monerod, the recommended way seems to be to use nginx as a reverse proxy and add SSL support there. How do I ...
3
votes
1answer
669 views

Help me with digest authentication using java

So i am trying to authenticate myself to the monero-rpc-wallet, the server requires me to use digest authentication. If my username is: Alladin and password: open sesame The www-authenticate header ...
5
votes
1answer
118 views

Drawbacks of running a RPC-enabled node

Besides increased resource requirements, why would someone not want to run a RPC node?
5
votes
1answer
2k views

As of 0.10.1.0, how do you use monero-wallet-rpc?

Once updating to version 0.10.1.0, in addition to monero-wallet-cli, there is monero-wallet-rpc. What is the difference in usage between the two? What type of commands/arguments that were run ...
1
vote
1answer
402 views

why is the RPC version mismatched?

I am attempting to use monero wallet on ubuntu 16.04 by attaching to a daemon on windows 7 in the same LAN, both are running version 0.10.0.0 Wolfram Warptangent, but using the command ./monero-wallet-...
3
votes
1answer
109 views

Protecting myself from myself

Assume that I want to hold all the Monero I currently own for at least a certain period of time but lack the discipline to stop myself from trading. As a horrible trader I want to take control away ...
7
votes
1answer
335 views

How to query the memory pool?

Block explorer explorer.xmr.my shows the contents of the memory pool. Does monerod, monero-wallet-cli or another CLI utility allow to query the Monero's memory pool? If so, how?
13
votes
2answers
328 views

Calculate fee before sending while using RPC calls

Is there any way to find out what the fee of a certain transaction will be before sending it, via RPC calls? As a side note, is it possible to see the transaction fee on a transfer via RPC from the ...
4
votes
1answer
618 views

C# simplewallet RPC calls

I'm quite new to cryptocurrencies, and I want to make a program that runs simplewallet (monero-wallet-cli) in the background as an RPC server and make calls to it using C#. I already somewhat know how ...