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.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 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 ...
0
votes
0answers
8 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 ...
1
vote
0answers
17 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 ...
0
votes
1answer
27 views

Get transaction EOSJS

I used the following function to get transaction with eosjs, but it doesn't display all the content. (async () => { await rpc.history_get_transaction('...
0
votes
0answers
11 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
17 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
25 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). ...
1
vote
0answers
15 views

billed CPU time (2064 us) is greater than the maximum billable CPU time for the transaction (477 us) [duplicate]

Please help. I want to sell my rex into EOS. I am not able to do it. I get the error: billed CPU time (2064 us) is greater than the maximum billable CPU time for the transaction (477 us) Thank you
0
votes
1answer
24 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 ...
1
vote
2answers
35 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 ...
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
26 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
19 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
29 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
94 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
36 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 ...
1
vote
1answer
30 views

Can I transfer EOS from one account to other using eosjs or is EOS only used for buying RAM and staking? (Both accounts are on jungle testnet)

async function sendEos (sender, receiver ) { try{ const result = await api.transact({ actions: [{ account: 'eosio.token', //'eosio.token', name: 'transfer', //'...
1
vote
1answer
107 views

What is a replacement for deprecated v1/history/get_transaction?

https://developers.eos.io/eosio-nodeos/reference#get_transaction-1 Api docs says that history plugin is deprecated. So v1/history/get_transaction is deprecated as well. Many eos nodes don't support it ...
0
votes
1answer
9 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
39 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 ...
4
votes
2answers
153 views

How to calculate `action_mroot`

UPDATE #3 for future action_mroot calculators: The two critical bits of info needed to do this (that are neither easy to find nor documented) are: There exists an extra action (which has a receipt) ...
0
votes
1answer
38 views

Transaction NET usage on eosx.io and 'get account' don't match

When my account did not have enough NET resource ( 12 bytes limit at that moment) and I sent a transaction, I got an error transaction net usage is too high: 120 > 12 I bought NET resource and ...
0
votes
1answer
15 views

Return token to owner after initiating a transfer to my contract

Good Day, I am working on a contract where for example, If I send 2 ETH to a contract, ( 1 ETH = 2 Cryptokitty tokens ) then that contract is supposed to return me 4 Cryptokitty tokens. What I Have ...
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.
1
vote
1answer
60 views

Understanding Transactions

I am trying to understand all the properties of the transaction object. On the developers site (https://developers.eos.io/eosio-nodeos/docs/communication-model) they provide the below transaction ...
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
40 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
16 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
82 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
58 views

Reversing a transaction

Let's say I send a friend some EOS tokens. For a short period, the transaction is considered reversible because it is not included in an 'irreversible block'. What are the possible ways in which this ...
1
vote
1answer
49 views

Why we need an EOSIO account to transfer token?

I have started working on EOSIO. I am following this document. I have created a wallet using cleos. Then open, unlock and import key in it. After that according to document, we need two accounts to ...
0
votes
0answers
35 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-...
1
vote
1answer
75 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 ...
0
votes
0answers
54 views

How to decode the data field

I have the below hex data as part of a generated transaction. Before I broadcast the transaction I want to know what the hex data says in a human readable form. Is there a simple way to convert this ...
0
votes
1answer
110 views

Get address or eos account transactions

I want to get transaction list of request address or account using EOSJS or any RPC method. Kindly guide for it. As per check EOS dev documentation unable to find method which fullfill this.
0
votes
0answers
41 views

How can I get transaction receipt using its id in EOSJS or via RPC? [duplicate]

I want to get transaction by its hash using eosjs or rpc method.
1
vote
1answer
183 views

Difference between EOS transaction “traces” and “trx”

I use RPC to retrieve transaction information - e.g: { "id": "84373c7756f0ad09972cd839c4b862328aa96b40ea52b3e91633acf583dffe44", "trx": { "receipt": { "status": "executed", "...
1
vote
1answer
122 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
1answer
27 views

How transactions are broadcasted to Block Producers?

When a transaction is initiated and send by a user, how are these transactions broadcasted to Block Producers?
0
votes
0answers
26 views

How to implement cold wallet signing in EOS with a long transaction timeout

I'm building a cold wallet with some built in delay (say, 2 hours) between when the transaction is created, and when the transaction gets broadcasted. From reading the source code I see that the ...
0
votes
0answers
25 views

When transaction could be lost?

We meet several cases that a transaction is executed in my node, but finally it is lost, and not seen in the blockchain browser, I'am somehow defused that why it could be lost? My CPU&NET resource ...
1
vote
1answer
61 views

EOSIO transaction propagation model

I try to understand how EOS (mainnet) propagates transactions. Before a transaction gets included in a block, is (thus pending) transaction actively propagated peer-by-peer regardless of peers being ...
0
votes
1answer
93 views

How do I check how LONG the sending transaction lasts for?

I created a new eos acc, I sent some eos from my crypto exchange account.It worked. I have a transaction id, I found it in block explorer. But it does not give much info about HOW LONG or when the ...
1
vote
2answers
43 views

How do I confirm that the person sending an action is the same as a user in the parameter?

Specific example from a contract: ... void hi(name user){ // verification here, require_auth(user)? print(user); } ... I've tried require_auth(user) but that seems to always fail unless the user ...
0
votes
0answers
60 views

Error while pushing a transaction using python?

after successfully signed the transaction, when i try to push it using the pyton api from the eos developers portal, i got the following error {'code': 500, 'message': 'Internal Service Error', '...
0
votes
1answer
164 views

EOSJS error Non-base58 character

Please help! I'm currently encountering the ff. error Uncaught Error: Non-base58 character at Object.decode (eosjs-jssig.js:26) at Object.checkDecode (eosjs-jssig.js:15) at y (...
2
votes
1answer
36 views

Is there any way to discard a committed transaction?

I always have this doubt whenever i push a transcation. Is there any way to cancel a committed transaction before it's verifed by the block producers?
1
vote
1answer
99 views

How to add nonce to generated (deferred) transcation

Using cleos -f adds a context_fee_action to the TX like so: "context_free_actions": [{ "account": "eosio.null", "name": "nonce", "authorization": [], "data": "...
0
votes
2answers
140 views

How to get data from a “packed_transaction”?

I am trying to extract the data out of a packed transaction. Specifically, I am reading a proposal from the eosio.msig table and trying to get the data from the proposed multisig transaction to ...