Questions tagged [rpc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

How to change endpoint url in an rpc call if the node does not respond

I want to implement a mechanism which is fault tolerance if a node does not responds. Currently i have 2 nodes in a private blockchain. I want to change my "endpoint url" when the first node ...
user avatar
0 votes
1 answer
100 views

Difference between send and push transaction

So I've been thinking about this from the start but haven't found any resources on how they differ. On the eosio chain api reference, there is a send_transaction method and a push_transaction method. ...
user avatar
0 votes
1 answer
113 views

Why don't RPC get_table_rows return all rows?

I have 395 items in a table. Why don't RPC get_table_rows return all items in a POST request? I'm testing with two api endpoints: eos.dfuse.eosnation.io and api.eossweden.org {'scope': 'cptblackbill', ...
user avatar
0 votes
1 answer
85 views

Create a transaction without cleos nor eosjs

Is there a way to push a signed transaction via CURL or WGET or something similar? I can't use cleos, nodeos, nor eosjs, because I can't exec anything in the environment I'm working with. I'm trying ...
user avatar
  • 123
0 votes
1 answer
269 views

Set lower bound and upper bound to get table rows

I am using eos-sharp to get table rows in ASP.NET. By default in the table, I want to show the latest 10 records of the table. So I get them using: GetTableRowsResponse tabledata = await eos....
user avatar
  • 293
0 votes
0 answers
43 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/...
user avatar
1 vote
1 answer
56 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 ...
user avatar
0 votes
1 answer
66 views

eos-sharp api call gets failed

I am a beginner with EOSIO. I may make a mistake in code. I installed eos-sharp in the visual studio using the NuGet package. My code is as below: using EosSharp; using EosSharp.Core; using EosSharp....
user avatar
  • 293
0 votes
1 answer
58 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 ...
user avatar
0 votes
1 answer
163 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 ...
user avatar
0 votes
1 answer
63 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 ...
user avatar
0 votes
1 answer
69 views

Is there RPC API endpoint to request how much resources account uses?

Is there any way to track or get information about current user account resources consumption using RPC API? I.e. how many operations can be executed with the current tokens or how much RAM or CPU is ...
user avatar
  • 135
0 votes
1 answer
116 views

How do I access (sha256) / sort (i128) a secondary/tertiary indices with cleos / curl?

I'm trying to access either of our additional indices of the accountext table. I'm able to access the 3rd index but I'm not sure how to sort it, the second index returns an empty table: // this I ...
user avatar
  • 3,405
1 vote
0 answers
151 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://...
user avatar
0 votes
1 answer
164 views

EOSIO - Error 3120006: No available wallet

I have created wallet using RPC API. http://127.0.0.1:8891/v1/wallet/create Here, keosd run on port number 8891 and nodeos run on 8892. Then, I have opened, unlock and import key into wallet using ...
user avatar
  • 145
0 votes
1 answer
83 views

Create test account using EOSIO

I am new with EOSIO. I have created account using cleos command. cleos create account eosio bob YOUR_PUBLIC_KEY cleos create account eosio alice YOUR_PUBLIC_KEY It's successfully created. But, I ...
user avatar
  • 145
1 vote
1 answer
73 views

RPC Wallet integration API throwing an error

I am new with blockchain services. I have created wallet using command line. curl -X POST http://127.0.0.1:8888/v1/wallet/create -d '"WalletTest" It's created successfully. But, I'm trying to ...
user avatar
  • 145
0 votes
1 answer
574 views

Is there public node available for nodeos & keosd?

Is there any public node url exists of nodeos and keosd for EOSIO mainnet and testnet? Using that URL will access all RPC methods of chain and wallet.
user avatar
0 votes
1 answer
317 views

Get address or eos account transactions

I want to get transaction list of request address or account using EOSJS or any RPC method. Kindly guide for it. As per check EOS dev documentation unable to find method which fullfill this.
user avatar
1 vote
1 answer
335 views

Difference between EOS transaction "traces" and "trx"

I use RPC to retrieve transaction information - e.g: { "id": "84373c7756f0ad09972cd839c4b862328aa96b40ea52b3e91633acf583dffe44", "trx": { "receipt": { "status": "executed", "...
user avatar
0 votes
1 answer
54 views

Create account in EOS using RPC method or npm package [duplicate]

I wants to create account in EOS using RPC method or Npm package.As per review dev doc of EOS not found any methods for it. I am implementing this in nodejs. Kindly guide for it, how can i process ...
user avatar
2 votes
1 answer
249 views

Where are lower_bound and upper_bound on get_table_row on nodeos 1.6+ rpc api?

I noticed that the lower_bound and upper_bound parameters do not exist anymore after the nodeos 1.6 version on the RPC api. https://developers.eos.io/eosio-nodeos/v1.7.0/reference#get_table_rows ...
user avatar
  • 165
4 votes
2 answers
755 views

Get Table Rows with Pagination

How do we get records from a table by pages? My requirement: I have a table with 100 records and want to display all these records in my front-end-application with 10 records per page and if the user ...
user avatar
  • 41
1 vote
2 answers
269 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.
user avatar
  • 23
5 votes
1 answer
217 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 ...
user avatar
  • 51
5 votes
1 answer
321 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 ...
user avatar
  • 99
4 votes
1 answer
742 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: ...
user avatar
0 votes
1 answer
456 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 ...
user avatar
  • 101
1 vote
2 answers
713 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 ...
user avatar
1 vote
2 answers
175 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: ...
user avatar
3 votes
3 answers
482 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, ...
user avatar
  • 141
1 vote
0 answers
211 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 ...
user avatar
  • 175
2 votes
1 answer
197 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 ...
user avatar
2 votes
0 answers
294 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 ...
user avatar
1 vote
1 answer
245 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 ...
user avatar
2 votes
1 answer
177 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 ...
user avatar
  • 295
3 votes
1 answer
626 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 ...
user avatar
3 votes
2 answers
317 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: ...
user avatar
1 vote
2 answers
145 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 - ...
user avatar
5 votes
1 answer
120 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" => ...
user avatar
3 votes
3 answers
929 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
user avatar
2 votes
3 answers
1k 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 ...
user avatar
  • 121
2 votes
3 answers
445 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 ...
user avatar
2 votes
1 answer
727 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 ...
user avatar
  • 35
0 votes
1 answer
911 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 ...
user avatar
  • 103
1 vote
0 answers
297 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 ...
user avatar
  • 61
1 vote
2 answers
286 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/<...
user avatar
  • 111
3 votes
3 answers
867 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 ...
user avatar
  • 133
2 votes
2 answers
703 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?
user avatar
0 votes
1 answer
335 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 ...
user avatar
  • 1,824