Skip to main content

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
1 answer
3k 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 ...
Mitch Pierias's user avatar
7 votes
3 answers
592 views

Which NodeJs UI Framework is most suitable for EOSJS

I'd like to know which Framework you should use in eosjs. I have little experience with JavaScript and so I don't know which Framework works best together with eosjs or does the framework even matter? ...
Mangooxx's user avatar
  • 341
4 votes
3 answers
3k views

How to get operations history of account?

Should I analyze all the blocks or are there some methods in the eosjs library?
 Captain's user avatar
4 votes
2 answers
902 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 ...
Karthi's user avatar
  • 41
3 votes
2 answers
266 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 ...
friedger's user avatar
  • 833
2 votes
1 answer
154 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-...
Mangooxx's user avatar
  • 341
2 votes
1 answer
896 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 '...
Linda's user avatar
  • 185
2 votes
3 answers
449 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.
yash vadhvani's user avatar
2 votes
2 answers
512 views

EOSJS what is the keyProvider

The Github Page of EOSjs mention a keyProvider to instantiate EOSjs. What is this? my private key?
Julian's user avatar
  • 21
2 votes
1 answer
1k views

Provided keys, permissions, and delays do not satisfy , but does not have signatures for it under a provided delay of 0 ms

my Code var EosApi = require('eosjs-api'); const Eos = require("eosjs"); // ./cleos create key #OwnerKey // Private key: 5KVihg2u3yZpBtoLhRGvqf6vBsq9swjyvUkvbpMVMQWz11NbMa2 // Public key: ...
metaboy's user avatar
  • 51
1 vote
2 answers
3k views

Transaction requires authority, but does not have signatures for it

I am trying to send tokens from one account to another using eosjs & reactjs with the standard eosio.token contract but I have issues with the authority. Can someone please explain the meaning of ...
Viktor Gagaleski's user avatar
1 vote
1 answer
497 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
chip's user avatar
  • 53
0 votes
2 answers
109 views

How to use resource_payer on eosjs

EOSJS added a new feature to their library and now we can specify the resource payer. I wanted to try and use it but their example doesn't work.
Jesseeeee's user avatar