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
7 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
13 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
30 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
22 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
27 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
12 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
43 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
33 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
54 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 ...
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
31 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
43 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
votes
0answers
21 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
29 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
293 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
155 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
120 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
44 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
48 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
115 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
44 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
148 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
32 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
53 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
80 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
39 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
26 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
90 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
72 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
101 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
198 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
73 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
159 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
105 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
67 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
150 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
205 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
274 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
181 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
25 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
322 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
18 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
147 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
134 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
25 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
180 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
124 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{"...