Questions tagged [eosjs]

QAs about the JavaScript module eosjs which uses RPC-APIs to interact with an EOS.IO blockchain.

Filter by
Sorted by
Tagged with
3
votes
1answer
2k views

Reading table rows with EOSJS

Is there a way to receive the return output of an action with EOSJS? Say for example I have an action that reads columns from a table, sums a row and returns the result. How would I structure the ...
1
vote
1answer
250 views

What is the maximum speed of EOS?

What is the maximum transaction speed for EOS? I read that 100,000 transactions per second. But I'm not sure about this
4
votes
3answers
2k views

How to get operations history of account?

Should I analyze all the blocks or are there some methods in the eosjs library?
4
votes
1answer
197 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 ...
2
votes
1answer
598 views

How to transfer EOS token using Scatter.js or eos.js?

I've successfully managed to use eosjs to transfer some EOS but when I'm trying to send something else (a token) it's no longer working. For example that code is working: import ScatterJS from '...
2
votes
3answers
196 views

Need to perform automatic smart contract function execution

Can we have a function in a smart contract to be executed automatically after some time? for example, transfer some tokens after every 5 seconds.
2
votes
2answers
206 views

How to find the closest node to connect to mainnet in my dapp?

In our dapp, we would like to offer the user to choose from a list of different mainnet nodes, so that latency is low. Ideally, from the list of BPs the user has voted for. How to retrieve a list ...
2
votes
1answer
117 views

How to prevent cheating in a turn-based-game on blockchain?

I want to create game where p1 and p2 take actions in turns but neither p1 nor p2 should be able to see the action, the other is doing till the end of the game. If I would do it like in a normal Web-...
2
votes
2answers
374 views

EOSJS what is the keyProvider

The Github Page of EOSjs mention a keyProvider to instantiate EOSjs. What is this? my private key?