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]

The tag has no usage guidance.

0
votes
0answers
19 views

Is it possible to calculate the EOS balance for an account by adding up all the “transfer” actions?

This is a related question. I'm using the EOS RPC API to pull all of an accounts actions, then I'm trying to calculate the balance of an EOS account (with regards to EOS) by adding up all the transfer ...
5
votes
0answers
186 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
52 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
37 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
100 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
28 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
101 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
63 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 ...
1
vote
0answers
56 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
96 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
107 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
46 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
176 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
112 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
79 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
63 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
256 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
523 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
192 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
419 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
502 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
221 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
201 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
504 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
309 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
188 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
1k 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
82 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
144 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
746 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
259 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 ...