Questions tagged [json-rpc]

JSON-RPC is a standard JSON data-format based (r)emote (p)rocedure (c)all protocol.

See http://json-rpc.org/ for specification and implementations for various languages.

JSON stands for JavaScript Object Notation. It is a text-based lightweight data-interchange format. See http://www.json.org/ for details.

RPC stands for remote procedure call, which is a family of protocols. See the Wikipedia article Remote procedure call for origins, current variations and applications.

673 questions
-1
votes
1 answer

How to use JSON-RPC POST request?

I never used JSON-RPC before and a client of mine gave me some API credentials to fetch the info to post on the website. So, I never heard about JSON_RPC before and the only thing I have is this: curl -s -u MyID:MyPassword -X POST -k --header…
ffas
  • 69
  • 11
-1
votes
1 answer

Approach to Migrate from twisted to fastapi Framework

I had a requirement of migrating twisted to FastApi. The old code was completely written in Python 2.7 and used JsonPrc along with twisted client. Like - [https://stackoverflow.com/a/4738563][1] Even the static content like html,css,js files used…
max
  • 7
  • 4
-1
votes
1 answer

Keep an instance of an object for the whole Rails server?

Essentially, I have a simple class that interacts with a local RPC server. Call it RPC_Class. Every user the website will host will make requests that require the rails server to make calls to the RPC client. This class needs to be instantiated as…
kpaul
  • 355
  • 6
  • 16
-1
votes
1 answer

Running getblocktemplate on a remote node or a local node without syncing

Hi I've been trying to learn more about Bitcoin mining and was reading about the getblocktemplate protocol. I came across this page. At the bottom, it has this example which would be useful for playing around with: curl --user myusername…
DanB91
  • 1,399
  • 1
  • 13
  • 23
-1
votes
1 answer

How to Parse Json dictonary in swift 4

Hi I have a problem with this Json: { "id": "libMovies", "jsonrpc": "2.0", "result": { "limits": { "end": 75, "start": 0, "total": 1228 }, "movies": [{ "art": { …
TheCesco88
  • 111
  • 4
  • 9
-1
votes
1 answer

Getting a list of public addresses from block zero

If I have a local blockchain downloaded, is it possible to use the bitcoin-core rpc commands to query a block? For example the genesis block to get a list of all the public addresses used in that block? If it is possible, which commands do I need…
oshirowanen
  • 15,297
  • 82
  • 198
  • 350
-1
votes
1 answer

Is it possible to run java application in both commandline / as a webservice

I wantto create a java application like a bitcoin client.But it will work on command-line cmd and as a webservice to to other client consulting my client.Which tecnology should I use to handle my task.Please show me an example explanining issue
MUMBUÇOĞLU
  • 251
  • 1
  • 8
  • 24
-1
votes
1 answer

Trying to connect to bitcoin core on Google Compute Engine from an external IP, I was getting "couldn't connect to host error"

I have having issue connecting my bitcoincore from an external ip address (Hostgator to be specific). The Bitcoin core is hosted on Google Compute Engine (Windows Sever 2012). Here is what i have done Bitcoin Core Config…
Ola Fashade Samson
  • 111
  • 1
  • 1
  • 6
-1
votes
1 answer

Using PHP Curl to control an electrum wallet

have an electrum wallet on my linux server. Am trying to run commands to control it through php. Electrum essentially says, use curl and get a json returned. http://docs.electrum.org/en/latest/merchant.html Last section Below is what I have so far…
seamus
  • 2,681
  • 7
  • 26
  • 49
-1
votes
1 answer

False timed TCP handshake when using node-json-rpc on AWS Lambda

I'm trying to make my Alexa Skill (AWS Server located in US East) communicate with a JSON RPC server (hosted in Germany). For this purpose, I'm using the npm package "node-json-rpc"(https://www.npmjs.com/package/node-json-rpc) and the alexa-sdk…
-1
votes
2 answers

How to get received/sent transactions from bitcoin core?

I have configured bitcoin core daemon. Using JSON-RPC I want to build web wallet. This why I need list of all incoming/outgoing transactions. listtransactions returns only incoming transactions. Questions: How to get outgoing & incoming…
-1
votes
1 answer

payto method electrum wallet jsonRPC PHP

Yo! I just started a script with php and electrum wallet using jsonRPC. Call as getaddressbalance() work, but what's about payto? I tried : $bitcoin->payto("adresse","ammount"); but its not looking to work. Any ideas? addrequest()?
btc4cash
  • 375
  • 1
  • 4
  • 15
-1
votes
1 answer

How to get coin address balance from bitcoind server?

Im running bitcoind on my local ubuntu box. I see that "bitcoind getbalance [account]" will get me the total balance of a user account. And thats good and that works fine. How do I get the balance of a individual users wallet (assuming they have…
-1
votes
2 answers

Objective-c Send Post request to json-RPC webservice

In iOS i want send a POST request to a json-RPC web service. How can i do this? i read This Page before and this repo but none of them have helped me.
Dr. chamran
  • 540
  • 4
  • 11
-1
votes
1 answer

What RPC technology can I use to call a compiled assembly (rather than my own class) in C#?

I want to access a .NET compiled assembly through RPC (the calling code is Python but that is not really relevant). The assembly represents an API to a running third-party application (Autodesk AutoCAD, for example). It contains several namespaces…
Alex Bausk
  • 690
  • 5
  • 29
1 2 3
44
45