Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [api]

The tag has no usage guidance.

0
votes
1answer
11 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 ...
0
votes
1answer
18 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/...
1
vote
2answers
95 views

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

im not able to filter a hash correctly, using get table / get_table_rows. also noticed abi is not generating secondary index, although im assuming is not that, since anyway is returning something. ...
1
vote
2answers
18 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
71 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
53 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
1answer
22 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.
1
vote
0answers
20 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 ...
1
vote
2answers
40 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 ...
2
votes
1answer
45 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 ...
2
votes
1answer
45 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 ...
3
votes
2answers
261 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 ...
2
votes
2answers
227 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 ...
8
votes
1answer
107 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 ...
3
votes
1answer
178 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 ...
2
votes
2answers
134 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 "...
2
votes
1answer
259 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?
1
vote
1answer
768 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?
3
votes
3answers
439 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 ...
1
vote
1answer
127 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 ...
4
votes
2answers
228 views

How is the action data encoded?

Take for example this action belonging to a newaccount transaction: { "account": "eosio", "name": "newaccount", "authorization": [{ "actor": "eosio", "permission"...
5
votes
1answer
79 views

How to bundle several transactions into one?

How can i bundle several transactions intro one to avoid multiple posts to the RPC API?
4
votes
1answer
204 views

What is sender_id param in send_deferred function?

I tried to implement repeated execution of particular action and set this param as _self of calling contract, but the transaction gets executed only once in this case. Then i tried to set it as time() ...
3
votes
1answer
241 views

Can actions have return types?

I've been looking at most of the example contracts and every action seems to return void. Does this mean that you can not have a return type for your actions? Instead, would you have to send a ...
3
votes
1answer
112 views

How can I call third party APIs from inside a smart contract at a set time or interval?

In a scenario where a smart contract needs to check against a third party service (Let's say an API with weather information from a trusted source like Weather.com) and make a decision on moving ...
8
votes
4answers
339 views

Can EOS.IO DApps provide websocket based APIs?

Most of centralized exchanges support websocket based APIs to stream data to users efficiently. Can we implement the same feature using EOS.IO platform?