Questions tagged [rpc]

The tag has no usage guidance.

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
196 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 ...
2
votes
1answer
138 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
216 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 ...
2
votes
1answer
138 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 ...
1
vote
0answers
47 views

Unable to retrieve user tokens using get_currency_balance

I am trying to get user tokens with the following method: static async getUserTokens(userAccount) { console.log("Get tokens for: " + userAccount); try { const rpc = new JsonRpc("http://...
1
vote
2answers
133 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.
1
vote
2answers
88 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: ...
1
vote
0answers
176 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
277 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
1answer
23 views

Error RPC ERROR 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations, how to solve this error

1.abi_json_to_bin 2.unlock default wallet 3.get public_key lists,"EOS5CMpK8wH5MzFA3Vptb3RizKr5MLmEF7A4K9FhL4HSyVrVRT7o8" is one of them 4.make sure the public_key is related to the account "mytoken"...
0
votes
1answer
16 views

Request blocks from EOS js

From the EOS-js readme, I've followed the instructions approximately. My understand is I do not need a signature for calls for data as I am not transacting. Fine, but what I do not understand is the ...
0
votes
0answers
17 views

EOSIO - HttpClient return 201 response code

Using json-rpc-cpp library, I am creating EOS Wallet using wallet RPC. HttpClient *temp = new HttpClient("http://127.0.0.1:30031/v1/wallet/create"); string res; string str = "testwallet1"; temp->...
0
votes
0answers
41 views

Failed to connect nodeos rpc api at localhost?

RPC API create wallet gives 404 error. url: http://127.0.0.1:8888/v1/wallet/list_wallets { "code": 404, "message": "Not Found", "error": { "code": 0, "name": "exception", ...
0
votes
1answer
216 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 ...
0
votes
1answer
29 views

How to retrieve filtered multi-index table data?

I have a smart contract that has a multi-index table called reservations - account, time, date, entity. From the code I am trying to use get_table_rows to get all reservations related to a given ...