Questions tagged [javascript]

All questions related to the use of JavaScript within the EOSIO framework

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
229 views

Sending transaction with Scatter from a single-page application

Request for help: I need a simple example of sending transaction (pushing a contract action test) by Scatter written in plain JS for a single-page browser scrip without any requirjs , vue , angularjs ...
2
votes
1answer
98 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?
2
votes
1answer
226 views

list of confirmed and unconfirmed transactions of address / account

I wanna show users a list of confirmed and unconfirmed transactions of a specific EOS address or account name, using eosjs. Similar like a Ethereum block explorer. Any ideas or work arounds? If ...
1
vote
0answers
103 views

Tutorial on how to connect a website login to logging in with Scatter Desktop?

I have a website with the ability to login with your username / password. But I want to create a way to login with Scatter Desktop. Are there any tutorials on how one can go about doing this? My ...
1
vote
2answers
196 views

Get the last transaction from the blockchain

I'm looking for a way to get the latest transaction recorded on a particular account. For example, I'm trying to get the latest transaction for "newdexpocket", how can I do that using nodejs? Here's ...
1
vote
0answers
86 views

Failed to deserialize variant EOSJS

I am following this tutorial https://github.com/eosasia/ping-eos I am trying to connect my web application to my smart contract. when i use cleos to test the smart contract i am able to see that the ...
1
vote
0answers
89 views

What are the units of the total_votes in the producer_info structure?

The structure is defined here https://github.com/EOSIO/eos/blob/7bce267c6e48bcbf2d81f0ed51a3771501fdbb7b/contracts/eosio.system/eosio.system.abi#L134 total_votres is a float64 The value reported by ...
0
votes
2answers
83 views

how can you use the ONLY_BILL_FIRST_AUTHORIZER feature for updateauth?

when i try to put 2 authorities to updateauth i get this error Error: updateauth action should only have one declared authorization so how can i use another accounts cpu to change my keys not using ...
0
votes
1answer
143 views

How to get Block using JsonRpc from eosjs using nodejs?

Whenever I try to get the block using the eosjs in NodeJS like in the example I get the error 'Invalid Block number or ID, must be greater than 0 and less than 64 characters' Altho when I use other ...
0
votes
0answers
41 views

Transaction signing error

Good morning, everyone I use EOS UAL to login at frontend, and it works, but there is troubles while signing transaction. Done signing like in an example https://github.com/EOSIO/tropical-example-web-...
0
votes
1answer
58 views

Scatter detection delay issue

I am working on developing a web app in EOS. I am using scatter browser extension to sign the transactions. During page load, the status of scatter is checked using the following code const setStatus ...