Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [rpc]

Abbreviation for Remote Procedure Call. Used in Monero and related services.

Filter by
Sorted by
Tagged with
2
votes
1answer
34 views

What is Primo (Private Monero Payments)?

With the introduction of payment for service in Monero, the Primo project was released (https://repo.getmonero.org/selene/primo) to make use of that feature. What is Primo, and how can it help someone ...
3
votes
1answer
257 views

How do the new rpc-payment… options for monerod work?

V0.15 / Carbon Chameleon seems to have introduced new rpc options for a monero node. How do the following options actually work? rpc-payment-address rpc-payment-difficulty rpc-payment-credits Also, ...
0
votes
1answer
38 views

How to get the transaction public key and outputs from get_transactions?

I'm trying to get the outputs and tx public key according to this answer. I know that the transaction public key must be in the "extra" section. When I ran the get_transactions command, I got this ...
1
vote
1answer
22 views

Monero blockchain fetch blocks by date

I'd like to use the Monero API. Is there a REST API method which can fetch Monero blocks by specific date? Thanks Sajudeen
2
votes
1answer
81 views

Can I process incoming transfers from the daemon RPC?

Can I process incoming transfers using only the daemon RPC and my private view key (so without a wallet)? Or how can I decrypt vout from the get_block output JSON?
3
votes
1answer
45 views

Suggestions on how to consistently get more outputs?

I've got a service that frequently runs out of outputs. For this service, sending a heavily split transaction back to my wallet is not practical. Ideally, I would want something like the my return ...
0
votes
1answer
53 views

Can't create new wallet via RPC

I tries create new wallet from bash, but when i call create_wallet request is freezed and wallet-rpc writes: 2019-09-30 09:30:08.230 T [sock 0x561888dca810] new connection from 127.0.0.1:57864 INC to ...
1
vote
1answer
37 views

RPC is node fully synced

In my test environment, which is ssh,bash and screen, I'm launching a monerod followed by several other programs wallet-rpc/cli and more, which are all depending on monerod. To prevent any confusion, ...
0
votes
1answer
22 views

Scanning and updating Monero balance with private key using only monerod rpc?

I'm trying to build out a wallet service and need to figure out how to use the monero rpc commands to update a users balance. In my database, I have a bunch of user's private keys. How do I update ...
1
vote
1answer
48 views

Can the monero-wallet-rpc handle multiple requests at the same time?

For example, to process several "transfer" requests in parallel. The question is about this implementation of the wallet. I can't figure it out quickly on my own.
0
votes
1answer
77 views

Digest authentication with monero-wallet-rpc

I started monero-wallet-rpc on a remote server (with login and password): ./monero-wallet-rpc --rpc-bind-port 18082 --wallet-dir ./wallets_test --rpc-login test:test --testnet --daemon-host node....
1
vote
0answers
56 views

Monero Wallet RPC stops responding to Monero Python module after some time

I wrote a program that repeatedly requests for JSON responses from a Monero Wallet RPC at some time intervals ranging from 10 seconds to a minute. Everything is running on a testnet in my local ...
0
votes
1answer
58 views

How to get the base transaction hash from the blocktemplate_blob [duplicate]

I want to know how to generate different blockhashing_blobs using blocktemplate_blob, returned by the RPC get_block_template method, with different extra fields. To do this, I need to manually ...
1
vote
1answer
35 views

Using monero-php, I am getting “Method not found” when calling open_wallet

I want to open my Monero testnet wallet via a php script using a remote node but it's returning: "Method not found". Here is the code I am using: $hostname = 'node.xmr.to'; $port = '28081'; $...
3
votes
1answer
23 views

List of transaction hashes in chronological order?

Is there a daemon RPC call to get a list of all the latest transactions and their hashes?
2
votes
2answers
136 views

How can I use Monero RPC via Python

As documented in https://ww.getmonero.org/resources/developer-guides/daemon-rpc.html and https://ww.getmonero.org/resources/developer-guides/wallet-rpc.html, Monero can be used programmatically using ...
1
vote
1answer
78 views

Get public key of tx that currently in txpool

Can someone tell me how I can get list of public keys of the transactions, which are currently in the txpool and has not yet been mined? That is, I am interested in how to get this information out of ...
0
votes
1answer
35 views

How do I make a monerod RPC call in Python? (e.g. /get_transactions)

I'm not very experienced with Python and I'm pretty sure this is just a syntax issue. I'm trying to use the monerod daemon RPC /get_transactions method from here. I have no problem getting the ...
1
vote
1answer
236 views

Error using monero-wallet-rpc: No wallet file

I am trying to use monerod and monero-wallet-rpc to run RPC commands to my Monero daemon with curl. I have run monerod and monero-wallet-rpc in the following way: 1) ./monerod ... You are now ...
0
votes
2answers
111 views

Error calling RPC method create_wallet with curl

I have a remote node setup with RPC enabled and restricted_rpc set to false. I am trying to create a new wallet remotely, but I'm getting the response: Error: method not found curl -u 123:abc--digest ...
0
votes
0answers
54 views

What does the restricted_rpc option actually restrict when running monerod?

I run a public monero node and have "restricted_rpc" as true, but what does it actually restrict? I also have a user and password for my node, so am I safe even if I make restricted_rpc to false? I am ...
0
votes
1answer
39 views

Making a public Monero node with RPC open so I can connect to it from my app

I have the following bitmonero.conf file on my VPS server: no-igd=true rpc-bind-ip=0.0.0.0 rpc-bind-port=18081 restricted-rpc=true confirm-external-bind=true rpc-login=abc:123 How do I make it ...
2
votes
2answers
202 views

Which part of the daemon RPC is restricted?

When running monerod with restricted-rpc which of the rpc methods will not be allowed? Also, is the daemon RPC documentation on getmonero.org up to date? If not, is there an up to date version ...
1
vote
1answer
70 views

How to create a Payment ID with the Monero RPC Wallet? [duplicate]

What is the equivalent command for 'integrated_address' on the RPC interface?
1
vote
1answer
121 views

RPC binary request with Python

I am currently working with the Monero daemon RPC and have a little problem understanding the format of the binary request (/get_o_indexes.bin for example). Does anyone have an example of how should ...
2
votes
1answer
63 views

How to restore Monero RPC Wallet from seed

I would like to use the seed to restore wallet from RPC. However, I couldn't find it in this RPC command list below. https://www.getmonero.org/resources/developer-guides/wallet-rpc.html#...
1
vote
1answer
94 views

API call for ring members

Is there any way that we can do an API call to the Monero daemon RPC to get all the ring members for a given transaction hash?
1
vote
1answer
55 views

Finding mixins with daemon RPC call

What is the best way to get the random mixins from the daemon to be used to sign a transaction? There was a daemon RPC call "get_random_rctouts.bin" but not anymore. What should I use instead?
1
vote
1answer
41 views

P2P, RPC and Server related code

Is there a recommended source of information as to how Monero interacts with wallets and other nodes? I'd like to get as much information as possible about the structure of the source code and am ...
0
votes
1answer
140 views

Monero/Bitcoin proxy for JSON RPC

Is there any script available for Monero to convert its JSON RPC commands to bitcoin JSON RPC commands like https://github.com/DeV1doR/ethereumd-proxy.git? If it is already available can you give me ...
1
vote
2answers
88 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
51 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
62 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
131 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
2answers
425 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
136 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
300 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
283 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
289 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
31 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
111 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 ...
1
vote
1answer
171 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 ...
2
votes
0answers
471 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
765 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
205 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 ?
4
votes
3answers
249 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
221 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
38 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 ...
1
vote
1answer
70 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
239 views

Calculating the circulating supply using daemon RPC

Is there an easy way to calculate the currently circulating supply using daemon RPC calls?