Questions tagged [rpc]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
49 views

Multisig MMS usage

Is the mms available through the JSON RPC? I was having luck without using the mms by using the JSON RPC multisig calls, by subclassing monero-python's JSONRPCWallet, up until creating a transaction. ...
0
votes
1answer
382 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
238 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....
0
votes
1answer
396 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 (...
1
vote
1answer
27 views

Does monerod generates new block template on a repeat call of get_block_template?

I want to know if it's safe to assume that multiple calls of get_block_template rpc method will give me the same block template until the blockchain is updated. By updating, I mean the appearance of a ...
0
votes
1answer
206 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 ...
2
votes
1answer
142 views

Using the rpc_access_data method Daemon RPC

Monerod command: monerod --rpc-bind-ip 0.0.0.0 --restricted-rpc --confirm-external-bind --public-node --rpc-payment-address xxxxx --rpc-payment-credits 250 --rpc-payment-difficulty 1000 Curl request:...
1
vote
1answer
36 views

What is the difference between Sweep All and Sweep Single?

The Monero source code specifies sweep single, and sweep all in its RPC Server Commands section. What is the difference?
1
vote
1answer
79 views

How to determine the software version of an RPC node?

If I connect to a remote RPC node, is there a request to determine what release of Monero it is running? For example, I might prefer an RPC node running v15.0.0 including the recent side channel ...
1
vote
1answer
24 views

Monero RPC command for getting global index of one-time public key

I know there is a Monero RPC command /get_outs for getting one-time output (stealth address) information, including the public key, from the global index of the output. Is there a reverse command? In ...
0
votes
0answers
13 views

How to get the transaction public key from get_transactions for monero? [duplicate]

I'm trying to get transaction information using get_transactions. It is giving k_image ( key image ) in vin, how can I get public key and how to use "extra" field to get transaction public ...
1
vote
1answer
39 views

How do I get the weight of a transaction from the RPC daemon

I'm trying to look at the distribution of fees per kb of weight, but all I can find in the RPC connection to the daemon is the fees of a transaction. Note that I want the weight of a transaction, not ...
2
votes
1answer
28 views

Get transaction input ring members as public keys

How can I get transaction ring members using the monerod RPC methods?
0
votes
0answers
20 views

Is it possible to use sweep unmixable option with a remote node?

When I try to send XMR the normal way it complains that I have some weird outputs and need to use "sweep unmixable". But when I try to do that in the GUI advanced mode whilst connected to a ...
1
vote
1answer
187 views

How does a user pay a monero node operator via the RPC pay feature?

The latest monero update gave users the ability to pay monero node operators via the RPC pay to feature. How does a monerujo android app or monero-cli query the monero address of a node operator to ...
1
vote
1answer
24 views

Can the expected reward from the block template differ from a actual one after mining?

As we know, we can find a value expected_reward in a response of a request getblocktemplate to a monerod. Following the documentation: expected_reward - unsigned int; Coinbase reward expected to be ...
1
vote
1answer
217 views

Mining for rpc set number of threads

In the monero-wallet-cli having connected to a public node that accepts or requires payment via mining how does one adjust the number of threads used for the mining payment. For example, when you run ...
2
votes
1answer
173 views

How to access to monero rpc from https javascript

I wrote a small javascript to test digest authentication on monerod and monero-wallet-rpc. When running on a http (no tls) website, authentication works, and I get my response. Then trying the same ...
1
vote
1answer
455 views

“Error: Problem fetching info— rpc_request:” when running monerod as service

I have set up monerod to run as a service so it is easier to manage. Service file: [Unit] Description=Monero Full Node After=network.target [Service] User=monero Group=monero WorkingDirectory=/mnt/...
1
vote
1answer
66 views

What is miner_tx_hash?

I am trying to figure out the Daemon RPC API. Requesting a block with get_block(), the block header has a field miner_tx_hash. The block also contains a JSON field miner_tx, which contains the ...
0
votes
1answer
41 views

How does it affect my node when I get the message: “No incoming connections - check firewalls/routers”

I don't have any ports open and I get the message: "No incoming connections - check firewalls/routers". What does this impact on my node? Can I still connect to my node locally and use its RPC ...
1
vote
1answer
342 views

Where can I find Monero public RPC nodes I can connect to?

Is there a public list of public monero RPC nodes I can use for testing purposes?
3
votes
3answers
396 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 ...
3
votes
1answer
97 views

What is Primo (Private Monero Payments)?

With the introduction of payment for service in Monero (https://github.com/monero-project/monero/pull/5357), the Primo project was released (https://repo.getmonero.org/selene/primo) to make use of ...
2
votes
1answer
265 views

Calculating the circulating supply using daemon RPC

Is there an easy way to calculate the currently circulating supply using daemon RPC calls?
5
votes
1answer
3k 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
91 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 ...
0
votes
1answer
151 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 ...
2
votes
1answer
148 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?
1
vote
1answer
39 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
3
votes
1answer
65 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 ...
1
vote
1answer
132 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
61 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 ...
3
votes
3answers
740 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 ...
1
vote
1answer
86 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.
1
vote
0answers
77 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 ...
1
vote
1answer
131 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
79 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
30 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?
1
vote
1answer
93 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
84 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
538 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
214 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
1answer
71 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 ...
0
votes
0answers
93 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 ...
3
votes
2answers
751 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 ...
2
votes
2answers
1k views

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

I know that I can run the Monero 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 the following code on the ...
1
vote
1answer
231 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 ...
4
votes
1answer
1k 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
2k 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 ...