Questions tagged [rpc]

The tag has no usage guidance.

16 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
202 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
151 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
224 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
153 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
62 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
196 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
104 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
185 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
281 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
0answers
18 views

Strange error in get_table_rows

I'm getting a strange error when trying to get_table_rows... <script src='/wp-content/themes/oceanwp/assets/beta3/eosjs-api.js'></script> <script src='/wp-content/themes/oceanwp/...
0
votes
0answers
13 views

Caught exception: TypeError: Cannot read property 'getAvailableKeys' of undefined

When i try to do transaction this error gets thrown no information on this so far I am using latest version of eosjs v= 21.0.2 I am reading the accounts names balance to transfer and public key from a ...
0
votes
1answer
18 views

MacOS RPC Interface not working

So, I'm just starting and I run a MacOS device. First issue: "Failed to connect to localhost port 8888: Connection refused" after running curl http://localhost:8888/v1/chain/get_info in MacOS I ...
0
votes
1answer
26 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 ...
0
votes
1answer
27 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
1answer
275 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
52 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 ...