Questions tagged [rpc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
10 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 ...
0
votes
0answers
14 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
1answer
48 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 ...
1
vote
0answers
22 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://...
0
votes
1answer
43 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 ...
0
votes
1answer
34 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 ...
1
vote
1answer
37 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 ...
0
votes
1answer
24 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.
0
votes
1answer
41 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.
0
votes
0answers
22 views

How can I get transaction receipt using its id in EOSJS or via RPC? [duplicate]

I want to get transaction by its hash using eosjs or rpc method.
1
vote
1answer
106 views

Difference between EOS transaction “traces” and “trx”

I use RPC to retrieve transaction information - e.g: { "id": "84373c7756f0ad09972cd839c4b862328aa96b40ea52b3e91633acf583dffe44", "trx": { "receipt": { "status": "executed", "...
0
votes
1answer
24 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 ...
2
votes
1answer
77 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 ...
0
votes
0answers
32 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", ...
4
votes
1answer
221 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 ...
1
vote
1answer
91 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.
4
votes
1answer
61 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 ...
5
votes
1answer
314 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
353 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
153 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
367 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
69 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
260 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
160 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
120 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
200 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
177 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
121 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
467 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
224 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
104 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
90 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
667 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
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 ...
2
votes
3answers
308 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
608 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
766 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
267 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 ...
1
vote
2answers
228 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
752 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
541 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
269 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)?
6
votes
4answers
2k 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
100 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
185 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
1k 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
301 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 ...