Stack Exchange Network

Stack Exchange network consists of 175 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]

The tag has no usage guidance.

1
vote
1answer
28 views

Is there a way to query table with the value of a particular data field

Is there a way to query table with the value of a particular data field (for example, a token value) when using 'get_table rpc'? Only users whose token value is greater than 30 are output.
3
votes
0answers
23 views

Different actions count returned in every request

I launched private EOS network with bios boot tutorial. Then I pushed some transactions to the network. Now I want to retrieve all actions for an account useraaaaaaah. But every time I make a request ...
0
votes
0answers
39 views

RPC api http_plugin.cpp error

I have eos rpc endpoint when it's accessed through cleos, the endpoint works perfectly but when it's accessed through http client link by browser or Postman, below error thrown as a result. { ...
0
votes
0answers
21 views

How to create the snapshot in JSON format?

I know snapshots can be triggered at runtime using the RPC available through the producer_api_plugin with curl http://127.0.0.1:8888/v1/producer/create_snapshot but it is binary format, so how to ...
5
votes
1answer
291 views

Is it secure to use keosd in an aws to let dapp/app server sign transaction?

I would like to know if it is secure to run keosd on an aws locally as a hot-wallet, to let the server of a dapp send a transaction which should be signed to the aws. The server of the dapp would get ...
3
votes
1answer
98 views

New version of eosjs does not use chainId, How does it work?

I have worked with both new and previous versions of eosjs. In the previous version I had to make a config object like this: Eos = require('eosjs') // Default configuration config = { chainId: ...
0
votes
1answer
51 views

Understanding packed_trx

I have a problem with pushing transaction on blockchain, I think the problem is with the serialization of packed_trx. There is not enough info about it. So basically I took this JSON object below and ...
1
vote
2answers
166 views

How to implement “cleos push action” in Node.js via RPC or eosjs?

I'm working on Todos example in the following link. To Do list smart contract By using cleos utility, everything works fine. Now, I'm trying to access the smart contract with Node.js RPC. How ...
1
vote
2answers
36 views

Node API - Exception Details: 4 parse_error_exception: Parse Erro

I just used node api to access the keosd for wallet lock. But I've got the following error.. 2018-11-12T08:52:24.874 thread-0 http_plugin.cpp:474 handle_exception ] Exception Details: ...
2
votes
3answers
139 views

How to pack transaction without cleos?

So the new API only accepts a packed_trx but there is no RPC call to pack a signed transaction. How can it be done on system without cleos installed? Is there any implementation in pure Python, ...
1
vote
0answers
89 views

List of transactions from a contract

I've been on this all day and can't figuring it out on my own so I'm reaching out for your help ;-) How can I get the list of ALL the transactions associated with an account? I've tried to play ...
2
votes
1answer
79 views

Send same action as `cleos push action hello hi …` in smart contract tutorial

I finished smart contract tutorial, and it worked well. Now I'm trying to send same action as cleos push action hello hi '["bob"]' -p user@active in tutorial by using RPC API, cause need to implement ...
2
votes
0answers
132 views

How do I pack a transactions in Python and push to RPC?

I am trying to write a python script to call my test network and create accounts and push transactions. Is there any good RPC examples of creating and pushing transactions. The examples I found stop ...
1
vote
1answer
124 views

Getting bin for multiple json payloads via RPC abi_json_to_bin

I'm trying to get the bin data for a multi action transaction similar to account creation but the RPC abi_json_to_bin doesn't seem to accept a list of json payloads. Is there a keyword/struct I should ...
2
votes
1answer
67 views

The order of pushing actions using node RPC

I am writing a contract that will store specific data in the table. And I want to trigger a node js function on my server that will call a specific action on a contract with specific parameters. The ...
2
votes
1answer
252 views

how to create private network same as mainnet?

I want to build a private network same as the mainnet of eos. Just like it's mainnet I want to have 21 producers I want voting and etc. etc. how exactly I can do that can anyone list the steps for the ...
3
votes
2answers
150 views

transaction can't be found when use cleos

when use cleos chuck@chuck-MacBook-Pro:~/seaify/mine/coindream(master↑1|✚3) % cleos get transaction 5af0762b78073cf20769f9ca884e3c4ec29d0d0f564fb4da9c1361e2b7302954 (master↑1|✚3) Error 3200006: ...
1
vote
2answers
84 views

Problem with keosd connection via http rpc

I start nodeos and keosd as docker image. nodeos is listening on 8888, keosd - 8900. When I work via cleos - this is normal. When I get chain_info - nodeos get me normal info. When I get wallet_list - ...
5
votes
1answer
71 views

why core_liquid_balance field not show at cleos get account?

when use http://api.oraclechain.io, core_liquid_balance field is missing { "account_name" => "wangmingyuan", "head_block_num" => 12584842, "head_block_time" => ...
2
votes
3answers
382 views

How to create wallet using eosjs or RPC call

I want to perform cleos create wallet -n <wallet_name> using an RPC call or any predefined library like eosjs. Please Help... EOS version : 1.2.0
2
votes
3answers
698 views

Where is wallet rpc api documentation?

Reading through the nodeos RPC API docs on the eos.io website, there are many different API's documented: Chain, History, Net, Producer, DBSize. And the docs for many of the RPC calls in these tell me ...
2
votes
2answers
222 views

RPC interface not working?

I am following the steps in this tutorial: https://developers.eos.io/eosio-nodeos/docs/docker-quickstart and everything has worked so far. However, when I try this: "Also go to this address in ...
2
votes
1answer
480 views

EOS: How to get structured data within transaction?Is there restful API for this/

Suppose A sent a transaction to SC(smart contract), including structured data, for example: {"intention":"like","target":"ae16xx0...."} As usual, this transaction will be stored on all nodes in the ...
0
votes
1answer
579 views

Is it possible to create an account using RPC calls?

Is it possible to create an account in mainnet using RPC calls? First, I built EOSIO nodeos in my own remote server, and I successfully created my coworker's account using cleos. $ cleos system ...
1
vote
0answers
239 views

How to pack a transaction to be pushed to rpc using push_tranasction?

Im trying to figure out exactly what is expected to pack a transaction. I've written a class to pack my transaction based off of a couple of opensource projects I've seen. First of all is there any ...
0
votes
2answers
209 views

Wallet location different between RPC API and cleos

When running a local node (on a Mac), the RPC API uses a different location to locate the wallets compared to the cleos CLI. RPC (E.g. http://127.0.0.1:8888/v1/wallet/list_wallets) uses: /Users/<...
3
votes
3answers
593 views

Creating a keypair through the RPC API

Is there a way to create a keypair through the RPC API? Previously, I've been doing this with cleos wallet create_key or cleos create key but now I'm building an application that needs to do this ...
2
votes
2answers
365 views

How can I transfer tokens using RPC?

The RPC documentation doesn't list any functions for transferring tokens. How can I do this using RPC?
0
votes
1answer
212 views

How do you create the packed_trx field when submitting a transaction to the chain?

When submitting a signed transaction to the chain via the RPC interface, I get an error about an "Invalid packed transaction". What is the process for packing a transaction for submission to the ...
1
vote
1answer
2k views

Setup full eos node

Is there any way to setup eos node as full node for using it like some tracker (I mean for getting balance or transaction history by public address without importing private keys)?
5
votes
4answers
1k views

Get balance by address

Which endpoint can return me balance and full transaction history by given parameter address. Accordingly to this documentation RPC documentation I need to have account name. Or how can i start FUll ...
5
votes
1answer
91 views

How to bundle several transactions into one?

How can i bundle several transactions intro one to avoid multiple posts to the RPC API?
3
votes
1answer
152 views

The documents of RPC API has been out of date?

I want to provide some RPC interfaces for web to interact with my own contract. I want to use the way like curl http://localhost:8888/v1/chain/push_transaction -X POST -d '{"ref_block_num":"100","...
8
votes
5answers
864 views

What EOS RPC Libraries are available?

I know that EOS provides a first-party JavaScript RPC library for interacting with the EOS blockchain. Are their libraries available for other languages (e.g. Java, Python, Obj-C, etc)?
6
votes
2answers
270 views

How is the total available capacity (ram/cpu/bandwidth) communicated among block producers

The token model section of the eos.io white paper states: Block producers publish their available capacity for bandwidth, computation, and state. This is a bit vague and I am trying to answer a ...