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.

1
vote
2answers
27 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
39 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
41 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
103 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
120 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 ...
7
votes
1answer
98 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
121 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
104 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
145 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
474 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
274 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
93 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
170 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
72 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
119 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() ...
2
votes
1answer
163 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
92 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
245 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?