Hot answers tagged

8 votes
Accepted

How is the total available capacity (ram/cpu/bandwidth) communicated among block producers

the producers all agree "offline" and then sign a multi-sig message setting the current max block size and total available RAM.
bytemaster's user avatar
  • 1,434
6 votes

how to create private network same as mainnet?

There is an article in the documentation detailing how you can setup and run a network with multiple producers, voting, and resource consumption. Excerpt: In this tutorial, we will start a number ...
confused00's user avatar
  • 5,554
5 votes

What EOS RPC Libraries are available?

There's also a Swift library: https://github.com/ProChain/SwiftyEOS And Go: https://github.com/eoscanada/eos-go
robrigo's user avatar
  • 440
5 votes

What EOS RPC Libraries are available?

We built the Elixir one: https://hex.pm/packages/eosrpc As our project depends on it, we will always keep it updated! Feel free to create issues to report bug, new ideas and any discussion! :)
Leo Ribeiro's user avatar
  • 3,023
4 votes
Accepted

How to bundle several transactions into one?

There is an endpoint at /v1/chain/push_transactions which takes a payload that is a JSON array of the same JSON transactions you would send to /v1/chain/push_transaction and returns a JSON array of ...
Bart Wyatt's user avatar
4 votes
Accepted

New version of eosjs does not use chainId, How does it work?

eosjs does require chainId, but if it isn't provided directly it will be retrieved from the host endpoint. Api accepts chainId as an argument but if chainId isn't passed as an argument when the api ...
Don's user avatar
  • 1,165
3 votes
Accepted

Creating a keypair through the RPC API

I would reconsider this approach because it is possible to expose your/the users private key if you rely on a thrid party to create the key. Even if the third party behaves correct, due to ...
tmm's user avatar
  • 2,114
3 votes

Wallet location different between RPC API and cleos

The keosd wallet daemon has an option to set the wallet directory. --wallet-dir arg (=".") The path of the wallet files (absolute path or relative to application data dir) If you have the wallet ...
John Haager's user avatar
  • 1,844
3 votes

Get balance by address

Query your account name by publick key cleos -u https://mainnet.meet.one get accounts *publick_key* Query your balance by account name cleos -u https://mainnet.meet.one get currency balance eosio....
wuyahuang's user avatar
3 votes

Get balance by address

To get transaction history, you need to hit a node that has that filter installed (otherwise you'll get back an empty array). Here's a working curl request (replace accountnamehere with a real account ...
Ira Herman's user avatar
2 votes

What EOS RPC Libraries are available?

A java sdk with eos-rpc: https://github.com/adyliu/jeos local signature support like this: Transfer EOS with java Create account with java Create EOS Key with java without RPC Sign transaction ...
imxylz's user avatar
  • 121
2 votes

RPC interface not working?

This is happening because localhost is not relaying the browser's request to the docker container. Run docker-machine ip default to get the ip for your docker container. $ docker-machine ip default ...
billbitt's user avatar
2 votes
Accepted

EOS: How to get structured data within transaction?Is there restful API for this/

Yes there is. You can get this data from nodes that are running with the history_plugin plugin. You could use the HTTP API directly as in /v1/history/get_transaction, or you could use cleos: cleos --...
Andres Berrios's user avatar
2 votes

Creating a keypair through the RPC API

When you run nodeos, the RPC is start on the port number 8888. You can generate new keypair by following method: Note:- Creates a key within the specified wallet, wallet must be opened and unlocked. ...
Monarth Sarvaiya's user avatar
2 votes

Where is wallet rpc api documentation?

You can refer to RPC API document of v1.1.0 which had wallet APIs before. https://developers.eos.io/eosio-nodeos/v1.1.0/reference
DongJin Seo's user avatar
2 votes

How to create wallet using eosjs or RPC call

I found the answer by trying various things posting this answer as a help. So everyone can view this. Ok that is true that wallet_plugin has been removed from the nodeos but kleosd is still using that ...
yash vadhvani's user avatar
2 votes

How to implement "cleos push action" in Node.js via RPC or eosjs?

Here is my final code that is working ... Thank you leettamna const { Api, JsonRpc, RpcError, JsSignatureProvider } = require('eosjs'); const fetch = require('node-fetch'); ...
Sanghwan Lee's user avatar
2 votes

Get Table Rows with Pagination

This has its limitations but if you are fetching a table by the primary key which is an incremented integer value, you could use a combination of lower_bound, upper_bound, and limit and do something ...
mayur relekar's user avatar
2 votes

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

It was an error in the documentation. lower_bound and upper_bound do exist in the source code: struct get_table_rows_params { bool json = false; name code; string scope; ...
poiuytrez's user avatar
  • 165
2 votes

Create test account using EOSIO

There is no RPC api for create account. But you can implement it using push_transaction api. In eos, only an existing account can create a new account. You can create a new account by pushing some ...
Muhzin's user avatar
  • 510
2 votes
Accepted

EOSIO - Error 3120006: No available wallet

Try this command cleos -u http://127.0.0.1:8892 --wallet-url http://127.0.0.1:8891 create account eosio eosio.token your_key your_key
Mr.Y's user avatar
  • 957
1 vote

How to implement "cleos push action" in Node.js via RPC or eosjs?

Try 'eosjs'. It is official javascript eos rpc library. repository has simple example. https://github.com/EOSIO/eosjs modify defaultPrivateKey = "shlee_private_key", and parameter1 ~ parameter3 to ...
leettamna's user avatar
  • 102
1 vote
Accepted

How to pack transaction without cleos?

I ended up using https://github.com/OracleChain/chainkit/blob/master/chain/packedtransaction.cpp. This is my packtx.cpp: #include <iostream> #include <string> #include "chain/...
Gotenks's user avatar
  • 141
1 vote

Getting bin for multiple json payloads via RPC abi_json_to_bin

Answering my own question, The bin data should be generated for each individual json in payload and appended in the actions field as a list. The transaction will then be signed, packed and pushed.
silvercondor's user avatar
1 vote
Accepted

transaction can't be found when use cleos

I can see your transaction on both block explorers, but eosflare labels it as a hard_fail transaction. Therefore, I assume your transaction exceeded the resources it was entitled to without running ...
confused00's user avatar
  • 5,554
1 vote

Problem with keosd connection via http rpc

Maybe you will copy keosd from docker, and put it in the same directory of cleos. When call cleos to interact with wallet, keosd will be launched by cleos.
ofo's user avatar
  • 320
1 vote

why core_liquid_balance field not show at cleos get account?

it's related to not compiling source code using EOS as core symbol.
César Rodríguez's user avatar
1 vote
Accepted

How to create wallet using eosjs or RPC call

OP found their answer, but to give a slightly different answer, keosd was never recommended for accepting external connections. Using it locally is fine, but once you start making API calls from a ...
confused00's user avatar
  • 5,554
1 vote

Where is wallet rpc api documentation?

Ok that is true that wallet_plugin has been removed from the nodeos but kleosd is still using that and we can still perform any rpc of wallet operations suppose your keosd is running on the port 9999 ...
yash vadhvani's user avatar
1 vote

Where is wallet rpc api documentation?

According to the release notes of v1.2.0, the wallet_api_plugin has been removed: it is no longer possible to run the wallet_plugin or wallet_api_plugin as part of nodeos. This configuration ...
confused00's user avatar
  • 5,554

Only top scored, non community-wiki answers of a minimum length are eligible