Questions tagged [api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

How to return all/multiple tokens owned by an account?

How do you return the balance of multiple tokens for an account in a single call? I'm using get_currency_balance to return the balance of a single token: POST https://eos.greymass.com/v1/chain/...
user avatar
  • 3
0 votes
1 answer
23 views

Issue tokens via API

I can issue my own tokens via cleos, it works fine. But I can't find any reference on how to issue tokens via EOS API. Is there any way? Thanks in advance.
user avatar
0 votes
0 answers
16 views

I can't search owner's NFTS in spesific collection and schema

I want to make a website about; i write owner's wam adress and collection and schema. It will search owner's NFTS in these collection and schema but i cant do it. I need help in this code. It isn't ...
user avatar
  • 1
0 votes
0 answers
23 views

I cant search assets with collection and owner name

I want to search owner's NFTs on spesific collection and spesific schema. here's the code but i cant get owner's assets name in this collection and schema <script> function bindUI() { const ...
user avatar
  • 1
0 votes
0 answers
18 views

How to import key to wallet using api

I want to import the key generated from the mnemonic to the wallet of eosio server using the api. Please let me know the api like the work on the following cmd. cleos wallet import ********************...
user avatar
0 votes
0 answers
36 views

What is the API to get a Merkle Proof for a transaction or a table row?

Ideally we need a Merkle Proof that a certain row is in a table. However, we may adapt our need to any form of Merkle Proof about a state or presence of a transaction. As far as I understand, the ...
user avatar
0 votes
1 answer
88 views

Is the genesis.json initial_key is used to sign transactions in multi-node blockchain?

In my private multi-node blockchain. There are 4 nodes. One genesis (only receives blocks) and Others (Produce and receive blocks). All nodes share the same genesis.json file. Inside genesis.json I ...
user avatar
  • 293
0 votes
1 answer
90 views

Get_account with Python

After reading the documentation about EOS APIs, I tried to get information about an account on the blockchain by following examples and docs. However it's not working and I really don't understand why....
user avatar
0 votes
1 answer
140 views

EOSFLARE API Request

I'm trying to test the APIs I've found on eosflare because I need to find some blocks and transactions information for my thesis. I was wondering if I could retrieve the data without downloading cleos ...
user avatar
1 vote
1 answer
59 views

EOSIO Error: 3040006 from api

from this afternoon we receive the error in question from the api, without having changed anything after several months of use. Anyone have an idea why?
user avatar
  • 11
1 vote
0 answers
9 views

Is there any way to know the number of transactions?

Is there a way to know in advance the number of transactions of the block value generated after 30 seconds, 1 minute, and 2 minutes?
user avatar
0 votes
1 answer
91 views

How to get the genesis block of a running EOSIO blockchain?

Given the P2P and API endpoints of a running, public EOSIO blockchain, how do I query either of them for the JSON genesis block description of that running blockchain? Specifically, I want to discover ...
user avatar
0 votes
2 answers
94 views

Can I send transactions to nodeos via websocket? are there any 'API' available?

For some reason I need send transactions to nodeos via WebSocket I tried to find relevant information from the developer documentation, but did not find
user avatar
  • 103
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
64 views

How to integrate Restfull API with smart contract using c#?

I am new to EOSIO. I referred eos.io for learning. Now I need to learn how to integrate API with a smart contract. I am willing to do this in c#. I got answers mostly for eosjs which is used in nodejs,...
user avatar
  • 293
1 vote
1 answer
45 views

Profiling EOS.IO smart contract code

What's the best way for profiling the code of an EOS.IO smart contract? I'd like to know what percentage of the CPU time is spent on executing each function\line (including multi index table function ...
user avatar
1 vote
1 answer
100 views

Error: Number is out of range

I am trying to create and account from another account, both on JungleNet. I am using junglenet rpc. Here is my code: const {Api, JsonRpc} = require('eosjs'); const {JsSignatureProvider} = require('...
user avatar
  • 31
1 vote
1 answer
664 views

Error: fetching abi for eosio: unknown key

I am trying to create and account from another account, both on JungleNet. I am using dffuse for my rpc. Here is my code: const {Api, JsonRpc} = require('eosjs'); const {JsSignatureProvider} = ...
user avatar
  • 31
1 vote
1 answer
335 views

What is a replacement for deprecated v1/history/get_transaction?

https://developers.eos.io/eosio-nodeos/reference#get_transaction-1 Api docs says that history plugin is deprecated. So v1/history/get_transaction is deprecated as well. Many eos nodes don't support it ...
user avatar
  • 111
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
21 views

get total blocks on eos chain

Through one these api endpoints, is there a request I can make to query the total number of blocks on the chain?
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
494 views

Get public key of an EOS account name

Most questions are asking about getting the account name from a public key. But what I'm looking for is getting the public key from an account name. How can this be done via one of the BP public api ...
user avatar
3 votes
2 answers
157 views

modules.format.encodeName() replacement in 20.0.0?

In eosjs@16.0.9 I have a Eos.modules.format.encodeName() Is there something like that in eosjs@20.0.0 or what can I use to replace it?
user avatar
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
0 votes
2 answers
318 views

Mainnet Api to generate new account?

Using this api http://faucet.cryptokylin.io/create_account?testingaccoun2 it's possibile to generate new wallet whicch can be used on the testnet of crypto kylin. I need same thing for the mainnet, ...
user avatar
4 votes
3 answers
2k views

What is the most reliable endpoint for `/v1/history/get_actions/`

I want to get info about my account's actions So I am using the endpoint https://history.cryptolions.io/v1/history/get_actions/ also add the params required. But my question here is some time it takes ...
user avatar
1 vote
1 answer
79 views

What actions should be done to get binargs without EOS api abi_json_to_bin?

I am writing java code for communication with eos network and now need steps which should be done for retrieving data in the bin format without help of the node. Unfortunately I have not found ...
user avatar
  • 33
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
0 votes
1 answer
101 views

Is there a convert API for Bancor on EOS?

I was looking at the Bancor's documentation and was particularly interested in the Bancor API, mostly the convert function as described here. I've seen that it says only ETH is supported as of yet ...
user avatar
  • 175
1 vote
1 answer
136 views

Get all associated EOS accounts linked to a public key using javascript using a public endpoint?

I want to return all the associated EOS accounts that is linked to a specific public key in JSON format for my javascript dapp. Currently I can paste the pub key into: https://eosflare.io/key/...
user avatar
2 votes
3 answers
1k views

How to properly use cleos get table with --key-type sha256 / secondary index (failing on 1.4.2)

I am not able to filter a hash correctly, using get table / get_table_rows. Also I noticed that the abi is not generating a secondary index, although I am assuming this is not the problem, since ...
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
1 vote
1 answer
54 views

Which eos block explorers have an API endpoint to query accounts?

Which eos block explorers has an api endpoint where I can query an account? I want to pull in account json data into my javascript application.
user avatar
2 votes
1 answer
188 views

ABI File To Communicate With Unity Game Engine

So I'm building an HTML5 Unity game that will run in an internet browser attached to the Interplanetary File System. Unity allows for JSON files to be used to send and receive binary data between ...
user avatar
  • 141
1 vote
2 answers
74 views

Where is the best place to get API calls of what happens to an account?

Is there a blockchain explorer like blockchain.info that lets me access an API to do a query if something happens to an account? I want to get a json response of all transactions of an account. Say if ...
user avatar
3 votes
1 answer
101 views

Is it possible to use eos as the only backend for web application?

If I create a smart contract implementing the logic there and put js/images outside the eos platform (say S3 or else) is it possible to use eos platform to host 100% backend? As I understand eos ...
user avatar
  • 135
2 votes
1 answer
71 views

I Need Help Setting Up a Back-End Infrastructure for my Future DApp

I'm going through the process of designing a desktop DApp. I'm going to use GraphQL API's to connect the EOS blockchain to a Node.js server that'll use MongoDB with Electron.js and React.js on the ...
user avatar
  • 141
3 votes
2 answers
2k views

How to get transactions from an account through API call

Is it possible to get the incoming and outgoing transactions from an account? according to this https://developers.eos.io/eosio-nodeos/reference link there is no way to do so. I've seen people making ...
user avatar
  • 41
2 votes
2 answers
949 views

How to query for all tokens owned by an acoount?

Several airdrops are coming in these days. One doesn't know which tokens are gifted to them. How can I retrieve all tokens owned by a particular account? I know how to retrieve token balance, by ...
user avatar
8 votes
1 answer
190 views

What limits does an API endpoint impose on transactions which fail due to assertions?

Scenario: I connect to an API endpoint and repeatedly send transactions (with cleos) which are all ultimately rejected with eosio_assert_message. Such transactions don't seem to eat up CPU or network ...
user avatar
  • 598
3 votes
1 answer
546 views

STD Exception encountered while processing chain.get_account when requesting get_account

I'm trying to get account info by posting to /v1/chain/get_account But I'm getting the following error: STD Exception encountered while processing chain.get_account Exception Details: unknown key ...
user avatar
  • 131
2 votes
2 answers
246 views

cleos host not found problem

I use docker cleos as below instruction: https://developers.eos.io/eosio-nodeos/docs/docker-quickstart Before the cleos command works fine, but recently the cleos only works for read type, when I run "...
user avatar
2 votes
1 answer
969 views

How to get all the accounts of EOS mainnet for research purpose?

How many accounts are there on the blockchain? Are there APIs/sites to get a list of all the account names/publikeys of EOS mainet?
user avatar
2 votes
1 answer
2k views

How to query account balance use EOS api?

How to query the balance of an account using EOS api? Is is possible to query account balance with public key or account name?
user avatar
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
3 votes
2 answers
239 views

Adding a new api for smart contracts to WASM

I'm trying to add a new smart contract API to wasm_interface.cpp. I did the same things like context_free_transaction_api::tapos_block_prefix(), https://github.com/EOSIO/eos/pull/1217, adding ...
user avatar