Stack Exchange Network

Stack Exchange network consists of 174 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
17 views

Expired transaction

Seq: --- Undelegate xxxxyyyygggg undelegated from the account ---- 2.0000 EOS for NET, and 1498.0000 EOS for CPU Seq: --- bankofstaked - expireorder { "id": --- } What is the meaning of this ...
1
vote
1answer
26 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
31 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 ...
0
votes
0answers
17 views

Java RPC for self signing a transaction

Does anyone have sample code on selfsigning a transaction with a private key in Java? I am working on an application and do not want to use the wallet service. All the Java RPC wrappers in git are ...
0
votes
1answer
25 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
284 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 ...
2
votes
1answer
60 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
85 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
42 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
32 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
87 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
38 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
84 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
27 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
30 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
51 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
33 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
22 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
72 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
55 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
65 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
108 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
77 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
60 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
116 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
74 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 ...
2
votes
1answer
48 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
126 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
166 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
216 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
133 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
22 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 ...
4
votes
1answer
205 views

How can I get an accounts currency balance using eosjs

In the new version of eosjs, the getCurrencyBalance() method is no longer supported. How can I still get the currency balance of an account using eosjs?
1
vote
1answer
16 views

What Data ownership really is in EOS?

All data of transactions can be view live as EOS is public , suppose i made a transaction on EOS block-chain this transaction belong to me but still people can see it. Here is my Question how this ...
2
votes
1answer
91 views

Is there a way to attach a message to an EOS transaction and see it publicly on a block explorer?

Let's say I want to attach the following message to an EOS transaction: "This is a test message" How can I attach this message to a transaction when sending nothing? Can I see this message on a ...
2
votes
1answer
110 views

EOS has ZERO fee transactions, but what is required to setup an account?

I created a new EOS private key and didn't send anything to it. Can I use this brand new untouched account to send out some type of message or interact with a dapp since it's a ZERO transaction fee ...
2
votes
0answers
23 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?
0
votes
1answer
135 views

Transaction executed, but not confirmed?

I need to know, if my transaction has been confirmed by the network. My workflow to do this is the following: Execute a transaction By running cleos get transaction ID obtain the information ...
1
vote
1answer
107 views

Can we use default parameters in EOS smart contract?

I have a action in my contract : // @abi action void ContractClass::submittxn(string memo,string memo2,uint64_t a = 61) { ... } I try to set a as default parameter but when I push the ...
1
vote
1answer
37 views

How to check if smartcontract action has been actually run? How to count how many times?

Imagine an action, which is not const, and sometimes (but not always) modify a defined multi index. I would like to count, how many times a specific action was run. I do not want to introduce any ...
1
vote
0answers
55 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{"...
2
votes
0answers
30 views

8000 TPS in EOS

I have created a private network of 6 nodes in which 2 nodes are block producing nodes and remaining 4 are non-block producing nodes. I have changed block time from 0.5 sec to 1 sec. I have to ...
0
votes
0answers
87 views

Are multiple actions in a single transaction guaranteed to happen sequentially?

Suppose I have a transaction with two actions, A and B, listed one after another. Like this: { <...>, "actions": [ { "account": "my.token", "name": "action_a", <...&...
0
votes
0answers
37 views

How blockproducers validate transaction?

How blockproducers authenticate or validate transaction ? Which algorithm used to do that ?(other than dpos) i know that there is synchronization for transaction(for blockproducer's side) but what ...
1
vote
1answer
107 views

Allow users to withdraw their tokens

In my contract I have an action which is supposed to allow users to collect the tokens they have accumulated. To do this I use: void transfer_token(account_name receiver, asset quantity, std::string ...
0
votes
2answers
461 views

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

I want to implement, in my smart contract(C++), a function that forwards EOS token to another account. This is actually a basic question, but is that possible actually? Please, could you share the ...
3
votes
1answer
142 views

What will happen with database and inline transaction when a transaction doesn't get 2/3+1 in the end?

As the questions says, what will happen with the database and inline transaction when a transaction doesn't get the 2/3+1 "Votes" from the block producer that a transaction is legit? Will all changes ...
3
votes
2answers
100 views

Meaning of N() function in multi_index

What is the role of N() in defining tables using multi_index. The primary key function does not return string. Why so? e.g. string primary_key() const {return Some_String_Object}. This throws an error....
0
votes
1answer
21 views

Why we match asset quantity with the uris vector in issue action?

I am working on the repo https://github.com/unicoeos/eosio.nft If I want to issue some tokens to the another accout,For that I have to send account_name , asset, uris, name,memo to issue action as ...
2
votes
1answer
19 views

Can an object of the class 'contract' or a class that inherits 'contract' be created in the cpp file of the contract we are making?

Can an object of the class 'contract' or a class that inherits 'contract' be created in the cpp file of the contract we are making?