Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
6 views

How can I got transactoin receipt using transaction id in EOSJS or RPC method

I want to get transaction by its hash using eosjs or rpc method
0
votes
1answer
12 views

Difference between EOS transaction “traces” and “trx”

I use RPC to retrieve transaction information - e.g: { "id": "84373c7756f0ad09972cd839c4b862328aa96b40ea52b3e91633acf583dffe44", "trx": { "receipt": { "status": "executed", "...
0
votes
1answer
40 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
20 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
16 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 ...
-1
votes
0answers
11 views

Best method of retrieving all “memo” messages from a specific account name sent to a particular account?

I'm using the memo field to store user profile data I send from my "master" account. Each user that signs up for my service I send them their "profile" data in the memo field from my "master" account. ...
0
votes
0answers
17 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
38 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
20 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
37 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
21 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
0answers
34 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
32 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
34 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
48 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 ...
0
votes
1answer
15 views

Making an EOS delay send transaction into the future?

Is it possible to send a delayed transaction using EOS? Say I want to send 5 EOS to someone after 24 hours has passed. How can one do this in EOS? Do I need a smart contract? And does my EOS get ...
0
votes
1answer
58 views

Double sign a transaction, first on client, second on server

I am struggling with getting the following scenario to work, I want to create a transaction signed by two parties (not via the multisig contract, just a transaction with 2 signatures). One is the ...
2
votes
1answer
42 views

Is there any way to “request transfer” from another EOS account without “multisig”

imagine I have account A and account B. Account A would like to ask B to transfer him some EOS tokens. Is it technically possible to: create a multisig request transaction from A side: "B, please ...
1
vote
0answers
118 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
38 views

How can i send 10,000 NFT in a single transaction like we send EOS tokens

I have implemented the nft statndard in EOS but I am having issue that I can't send more than 60 tokens at a single time. In NFT standard each token has unique id so they need to be send one at a time....
0
votes
1answer
52 views

Need the updated parameters for push_transaction

I have some problems trying to transfer EOS in push_transaction. I followed the instructions from https://steemit.com/eos/@noprom/using-eos-rpc-api-to-transfer-eos and other references because the ...
1
vote
1answer
45 views

Can a deferred transaction make the initial transaction fail

Imagine a user sending me some eosio.token to my contract and when I receive the notification, I start a new deferred transaction that fails later. Can the deferred transaction make the initial ...
0
votes
1answer
33 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.
5
votes
1answer
297 views

Is it secure to use keosd in an aws to let dapp/app server sign transaction?

I would like to know if it is secure to run keosd on an aws locally as a hot-wallet, to let the server of a dapp send a transaction which should be signed to the aws. The server of the dapp would get ...
3
votes
1answer
280 views

How to transfer EOS Token with eosjs? [duplicate]

The title sums it up ;-) I'd like to move EOS tokens (say EOSDAC for example but any token will do it for my education) using the eosjs API... I've tried to use Scatter.js and did that but it's not ...
3
votes
1answer
193 views

New version of eosjs does not use chainId, How does it work?

I have worked with both new and previous versions of eosjs. In the previous version I had to make a config object like this: Eos = require('eosjs') // Default configuration config = { chainId: ...
3
votes
1answer
45 views

Order transactions get mined in

In Ethereum, for each account, transactions are mined in FIFO order. Each transaction has a transaction ID associated with it called a nonce and miners can only mine transactions with lower nonces ...
1
vote
1answer
81 views

Why am I getting Error 3010014: Invalid symbol when I perform a simple transfer

INFO Jungle Testnet 2.0 <myaccount1> has funds WHAT I WANT TO DO Just perform a simple transfer of EOS such as: cleos transfer <myaccount1> <myaccount2> "1.0000 EOS" cleos ...
0
votes
1answer
130 views

How to be more efficient (transaction took too long)

I'm trying to modify the eosio.token contract to fit a purpose. And I need to send many delayed transactions to an array of accounts. Here's the code: for (auto i = st.bearers.begin(); i != st....
0
votes
1answer
52 views

How to perform 2 transfers at once using cleos push transaction?

I've searched for the answer on Google to no avail. I am able to use cleos transfer 2 run the following transactions without an error: cleos -u <eos ny api url> transfer abcabcabcabc ...
1
vote
1answer
211 views

Difference between ref_block_num and ref_block_prefix and how to retrieve it?

I am trying to construct a header of a transaction. So my question is - what is the difference between ref_block_num and ref_block_prefix in a transaction header and how to retrieve it? is there a ...
0
votes
1answer
41 views

What is the ledger in EOS?

When I create a smart contract, e.g: game. what does the ledger store? (EOS tokens, or heathy points, level of user). If the ledger stores heathy points, level, so how I can push it into block (...
1
vote
0answers
63 views

When receive a transaction, how to EOS push it into block chain?

I am researching how to transaction work in Block producer(BP). I knew when BP received a transaction from user, maybe it start from push_transaction function then to apply_context::exec and ...
2
votes
1answer
112 views

how to solve Error Details: Cannot charge RAM to other accounts during notify on testnet

I need help for an issue developing an EOS dapp. I want to call a contract function when someone transfer EOS to my contract. For this i used the apply method to call the function upon any transfer ...
0
votes
2answers
46 views

Send ID for transaction inside smart contract can not be _self

With the last CDT, to send transaction inside smart contract, here is my code eosio::transaction out; out.actions.emplace_back(eosio::permission_level{get_self(), "active"_n}, get_self(), "...
1
vote
0answers
28 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 ...
2
votes
1answer
116 views

Beginner question about signing transaction with cleos

I am new to EOS and having some trouble. I got cleos working and I am connected to one of the api endpoints found here. It's working as far as I know since I am able to get block info. My end goal is ...
1
vote
1answer
76 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
1answer
127 views

eosjs, have getActions working both ways

I've been struggling with that for a couple days and I'm crawling out for help now ;-) I've been using eosjs to parse the Actions of an account but all I can see are the transactions created by the ...
2
votes
1answer
258 views

Accessing current transaction ID within a smart contract

Is it possible to access the current transaction ID from within a smart contract?
1
vote
1answer
81 views

Preferred way to find a transaction's block

With the history plugin deprecated, what's the preferred way to find out which block a transaction is in?
1
vote
2answers
82 views

Divide funds by % to send to different wallets

I need a contract that can send funds at 1 time to multiple addresses by percentage. Ex: n disbursements 1@ 20% Another - 14% Another - x% Another - x% and so on. Ethereum does NOT have this ...
2
votes
3answers
198 views

How to pack transaction without cleos?

So the new API only accepts a packed_trx but there is no RPC call to pack a signed transaction. How can it be done on system without cleos installed? Is there any implementation in pure Python, ...
1
vote
0answers
129 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 ...
3
votes
1answer
79 views

Storing the data in “Memo” of block chain transaction

Can I store large size of data such as MP3 in Memo? Are there any implementation examples? To store the data or any comments in Memo, should I send some amount of EOS? Can I store the data without ...
1
vote
2answers
174 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
240 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 ...
6
votes
3answers
309 views

Why the first time I execute an action I get “Error 3080006: transaction took too long”?

WHAT I WANT Call an action and see it succeed at the first execution. WHAT IS NOT WORKING The function, which I am executing, the first time fails with error: Error 3080006: Transaction took too ...
1
vote
1answer
208 views

minimalistic mongodb to query tx | config.ini

I setup a non-producing node and an API to let an app query user transactions. API is similar to the CryptoLions/EOS-mongo-history-API What is the most minimalistic and effective approach to ...
1
vote
1answer
26 views

How does one add a message to a transaction and what are the limitations?

I saw the following message attached to a transaction in an EOS explorer below. Since you can attach a message to a transaction my questions are: How does one attach a message using a desktop wallet ...