Questions tagged [transactions]

Transactions are one of the the fundamental mechanisms of communication between EOSIO accounts. Thus, questions may relate to aspects such as the process of sending, receiving, validating, and creating transactions, as well as transaction properties, components, limitations, and other related functionalities.

53 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
150 views

How to confirm if a transaction is confirmed for a wallet app?

Our wallet client wants to check if a transaction issued by some an account is confirmed or not. I know history_api_plugin provides API for query actions related to the account. But if the filter for ...
2
votes
1answer
77 views

serialization limit and executed transactions are lost

I get a lot of "serialization time limit 15000us exceeded" when sending transactions to the EOS mainnet with eosjs. Also, a lot of the transactions return status = executed, but are not found on the ...
2
votes
1answer
56 views

EOS error while pushing transaction

I received an error while pushing a transaction onto the jungle test net
2
votes
0answers
28 views

Can I determine the number of actions implied in the actual running transaction?

transaction_size() returns the size in bytes but is not useful to determine the number of actions implied. Can I get the count?
2
votes
0answers
35 views

Is there any index to be used to get transaction history for a certain-aggregate Id?

I was wondering if EOS blockchain could be used as event-store for event-sourcing. At least, we should be able to retrieve history with an aggregate id. Of course, we can use the EOS account name as ...
2
votes
0answers
29 views

Why are some exceptions not returned?

Sometimes, if an action failed, the details of the exception are returned and sometimes not. However, in the node log, we always can see what happened. When is the detailed exception returned and ...
1
vote
1answer
21 views

Is EOSIO v2.0.6 handle http requests and package transactions, and execute transactions on the multiple threads?

hello,I have few question when I run EOSIO v2.0.6 is handle http requests and package transactions, and execute transactions on the multiple threads? Is the transaction received from the broadcast ...
1
vote
0answers
26 views

It is possible to get transaction without the block number?

I would like to know if is possible to get transaction without the block number, or how to get the block number corresponds to the transaction ID. Error 3040011: The transaction can not be found ...
1
vote
2answers
54 views

How to get Block Number

Which is the accurate method to get the block number to which a transaction is written after executing a transaction? The resposne of push_transaction API is not accurate Can anyone help me with ...
1
vote
1answer
93 views

Is it possible to deploy contract via curl?

Using command line i am deploying smart contract "eosio.token". cleos -u http://127.0.0.1:8888 set contract eosio.token ./eosio.token -p eosio.token Is it possible to deploy smart contract using ...
1
vote
1answer
154 views

Transfer tokens inside a smart contract from an account to another account

I need to write a simple function that would send tokens using a different account action. Exactly the same situation as in these questions: one and two But I have to use not eosio.token contract but ...
1
vote
0answers
192 views

How jungle test net show account history?

I am getting a history of account on jungle test net. Like this: cleos --url http://junglehistory.cryptolions.io get actions <my account> -1 -2 -j The problem is it shows the actions till 14 ...
1
vote
1answer
52 views

validate the identity of the chain

as a non-block producer, how do I know I'm uploading a transaction to the true eos blockchain and not an impersonator? What methods exist to verify that? Example: websites use certificates.
1
vote
0answers
38 views

Multiple action_traces, which one is the “good” one?

Sorry if I'm asking a lot of questions but you're really helpful and I'm getting a better understanding of the platform every day thanks to you ;) I'm having a hard time figuring out why some ...
1
vote
2answers
197 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
185 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
2answers
266 views

How to transfer/deposit tokens on Front end Dapp with Scatter?

I am working on an EOS frontend Dapp with Scatter on local chain. I am getting a problem with transfer/deposit tokens from one account to another. After logging into scatter with "test1" and trying to ...
1
vote
0answers
306 views

How to call a contract from scatter

I want to make a transaction with Scatter but I'm getting this error function callContract(){ const account = scatter.identity.accounts.find(x => x.blockchain === 'eos'); const ...
1
vote
0answers
64 views

How can I get all transactions made by an account?

I tried this history api of this function : func (api *API) GetTransactions(name AccountName) (out *TransactionsResp, err error) { err = api.call("account_history", "get_transactions", M{"...
1
vote
0answers
248 views

Using recover_key with eosjs

I want to validate user signatures in my smart contract. As I understood, I am supposed to do that with recover_key function from crypto.h I am using JavaScript with eosjs and eosjs-ecc for ...
1
vote
0answers
281 views

How to pack a transaction to be pushed to rpc using push_tranasction?

Im trying to figure out exactly what is expected to pack a transaction. I've written a class to pack my transaction based off of a couple of opensource projects I've seen. First of all is there any ...
1
vote
0answers
125 views

unpack_action_data - error: !“unresolvable”: env.free. #

I am trying to use unpack_action_data. void apply(const account_name contract, const account_name act) { if (act == N(transfer)) { transferReceived(eosio::unpack_action_data<...
1
vote
0answers
47 views

When a client receives a transaction id, what does that mean?

When a client submits a transaction to a node it receives a return code including, if successful, a transaction id. What does receipt of this transaction id indicate? Does it indicate simply that the ...
0
votes
1answer
20 views

Multiple transaction hash collisions on mainnet

There are currently multiple transaction hash collisions in consecutive blocks in EOS as noted below: 7dcdcdb558028c7703faddee96e1aa48e9bbe7cd3a07cd0a74513a3599185b40 at block 10712420 and 10712421 ...
0
votes
1answer
33 views

Unable to fetch transaction using transactionId on Local Single Node Testnet eos. What could be the reason?

So I am trying to grab the information for a given transaction from EOS Local Single Node Testnet. No matter what I do it says it can't find the transactionID I pass. The transactionID ID is the valid ...
0
votes
0answers
18 views

Using Swift SDK to Encode and Mint Atomic Assets?

I've been trying to solve this for weeks but I'm new to this. Atomic Assets use C++ variants to hold asset data. I've tried a range of ways to create structs and enums that can be encoded into ...
0
votes
0answers
13 views

Caught exception: TypeError: Cannot read property 'getAvailableKeys' of undefined

When i try to do transaction this error gets thrown no information on this so far I am using latest version of eosjs v= 21.0.2 I am reading the accounts names balance to transfer and public key from a ...
0
votes
0answers
24 views

Detailed EOS transaction signature

I want to know exactly how the final EOS transaction signature is built. I use C++ but it could be any language. I can't find any detailed documentation about it. I'm really not sure of what I found ...
0
votes
0answers
13 views

Erorr : assertion failure with message: unable to find key on push action eosio init

I have read other answers regarding this error but this case is different. I have created a private network on which i deployed eosio.token contract on a account with name other than eosio.token (...
0
votes
0answers
13 views

How to measure eos TPS?

I want to measure TPS for my localhost network. What are the ways? I am using eoslime for unit testing, here testing gives output: EOSIO Unit testing ✓ Should add fruits (1645ms) ✓ Should add ...
0
votes
0answers
16 views

EOSIO calculate transaction_mroot

As a general task i am trying to reverse engineer the production of a Block. With the help of EOSJS i was able to make a transaction from scratch and i can de/serialize it and sign it and so on. Now i ...
0
votes
0answers
13 views

EOS and IOT to check integrity

I would like to check the integrity of the data sent by the IOT device using EOS. It is the hash of the data that is stored in EOS but the data is stored in the database. I used a smart contract to ...
0
votes
1answer
65 views

Error: fetching abi for eosio: deadline exceeded by xx us

When launching a transaction like: await eosioApi.transact({ actions: [ { account: "eosio", name: 'newaccount', authorization: [{ actor:...
0
votes
1answer
28 views

Monitoring transactions on a private blockchain

I just started working with EOSIO and I created a private blockchain with 4 producersfollowing the bios boot sequence tutorial (https://developers.eos.io/welcome/latest/tutorials/bios-boot-sequence). ...
0
votes
1answer
32 views

Contract transaction cannot be found after i get result of pushSignedTransaction

I've send a contract trans on mainnet use eosjs@20, and i've tried for 4 times, every time i get a trans result, but all of them seemed been drop, i cannot find them on explorer or on chain, can any ...
0
votes
0answers
22 views

RECENT BLOCKS RECENT TRANSACTION

How I can do this with local Blockchain, I would like to have the RECENT TRANSACTIONS and RECENT BLOCKS. I use these two APIs: http://host/:port/v1/history/get_transaction http://localhost:8080/...
0
votes
1answer
36 views

Error: assertion failure with message: comparison of assets with different symbols is not allowed

I am trying to create and account from another account, both on JungleNet. I am using junglenet rpc. Here is my code: const {Api, JsonRpc} = require('eosjs'); const {JsSignatureProvider} = require('...
0
votes
0answers
26 views

Only including serialized action data in transaction

Typical eosio transactions fall just outside of the amount of data that can be sent over a LoRa radio frequency network packet. Is it possible to pack a transaction and submit it to the network with ...
0
votes
1answer
41 views

Error: Number is out of range

I am trying to create and account from another account, both on JungleNet. I am using junglenet rpc. Here is my code: const {Api, JsonRpc} = require('eosjs'); const {JsSignatureProvider} = require('...
0
votes
1answer
169 views

Error: fetching abi for eosio: unknown key

I am trying to create and account from another account, both on JungleNet. I am using dffuse for my rpc. Here is my code: const {Api, JsonRpc} = require('eosjs'); const {JsSignatureProvider} = ...
0
votes
1answer
57 views

Unsupported abi version

I am making an offline transaction. I am providing the API with the following parameters as an object: rpc: new JsonRpc('https://jungle.eos.dfuse.io/', { fetch }), signatureProvider: new ...
0
votes
1answer
21 views

What should I do to specify an optional action parameter for cleos?

I wrote an action that has an optional parameter, as something like: [[eosio::action]] void foo(..., const std::optional<name>& recipient); Then in the generated .abi, it is represented as:...
0
votes
0answers
12 views

Transfer the transaction again after it was not appearing in blockchain explorers

I was sending the transaction using the command like: cleos -u "https://eosapi.blockmatrix.network:443" transfer {account_from} {account_to} "{amount} EOS" "{memo}" and got the problem with one ...
0
votes
1answer
43 views

Are all actions on a transaction supposed to be included in the block?

I've noticed something strange that is confusing me. I have a transaction that includes multiple actions on it, but it appears that the "transfer" action did not get recorded in the actual block. You ...
0
votes
0answers
32 views

EOS CPU Full i'm do nothing

Why CPU max overflow what I do nothing. Just I looked at https://bloks.io/ (or) https://eospark.com/ Of my account. Last Transaction is Oct-07-2019, 11:18:08 PM. to now is Oct-09-2019.
0
votes
0answers
33 views

Catch errors when calling deposit

When I send EOS in a contract to several recipients, it can happen that this fails, e.g. because a recipient has a contract running like that: Example contract of one recipient: [[eosio::on_notify("...
0
votes
1answer
55 views

How to operate the get_actions endpoint to get transaction history

Following what I think is the official EOS documentation for get_actions . I stumble upon the parameters pos and offset, but they are not documented anywhere. Can somebody explain to me, what these ...
0
votes
1answer
20 views

Signing a transaction: string(22) “Internal Service Error”

I'm using the jungle test chain jungle.eoscafeblock.com:8888 endpoint and import the private key to my local wallet, but when trying to get signature throuth local keosd api /v1/wallet/sign_signature ,...
0
votes
0answers
85 views

When deploying a contract what is important (overall contract/wasm size or amount of functions etc) to not get transaction took too long

when I try to deploy the system.contract I sometimes get transaction took too long with the new eosio version 1.8.1. Now I would like to know on which part of a contract do I need to pay attention ...
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-...