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
4
votes
3answers
93 views

Is it possible to only install keosd on ubuntu?

I need a solution for signing transactions sent with HTTP API (RPC) from a .Net webserver. EOSjs works fine for signing transactions in the browser - but some transactions must be sent from the server....
1
vote
1answer
231 views

Why does EOS stay in the refund section sometimes and other times it goes automatically to unstaked section?

I am trying to figure out if there is any reason for this. When I unstake EOS, it shows up on the refund section in a block explorer. Sometimes, the refund goes automatically to unstaked section and ...
1
vote
2answers
890 views

How to increase billable CPU time?

I tried the execute a transaction to update public keys for my account. But I got the following error: billed CPU time (857 us) is greater than the maximum billable CPU time for the transaction (165 ...
3
votes
1answer
200 views

Sending transaction from a Windows application

I want to send a transaction to EOS blockchain from my windows application. What library do I have to put into the windows application? And what are the preparations? Thanks
1
vote
1answer
45 views

Account is unable to receive EOS

When trying to send to this account jakejakejake, it is not able to receive any EOS. When trying to send to it, it looks like the the transaction goes through (and it deducts from my account balance),...
3
votes
1answer
157 views

How do dApp developers manage the end-user max transaction time with the following 3 unpredictable factors?

The unpredictable factors are: 21 different CPUs (and even those 21 CPUs are constantly changing based on BP voting) Potentially different max-transaction-time for each BP (can a dApp developer even ...
1
vote
2answers
174 views

The given contract doesn't exist in the blockchain

I have got contract code below: #include <eosiolib/eosio.hpp> #include <eosiolib/print.hpp> using namespace std; using namespace eosio; class deneme: contract { // @abi table ...
1
vote
1answer
489 views

Can we get all the actions from all blocks?

Somebody say we can get all the blocks through rpc, then we can get all the actions. But I found that in the block information, there're no inline actions, so many inline actions will lose, right?
1
vote
1answer
49 views

EOS: In order to save & show other clients a piece of information. Is transaction needed? To whom?

Suppose I want to save and send this information to all the world: "I'm Fu Song, I made Taylor Swift pregnant, and I'm going to marry her on Christmas, 2018, so that I will still be a responsible ...
2
votes
1answer
564 views

EOS: How to get structured data within transaction?Is there restful API for this/

Suppose A sent a transaction to SC(smart contract), including structured data, for example: {"intention":"like","target":"ae16xx0...."} As usual, this transaction will be stored on all nodes in the ...
0
votes
1answer
446 views

How to add a “memo” to an action?

In an action in my contract, I want to attach some text to it, so that users can see the text in their transaction history using a block explore like eosflare.io. I see that eosio.token has a "memo" ...
1
vote
0answers
256 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 ...
3
votes
1answer
279 views

How do I listen to the actions contained in a transaction to my smart contract?

For example, if Alice sends a transfer from the eosio.token contract to my smart contract, how do I listen to see if she has actually sent me a transfer from the eosio.token contract and get the data ...
2
votes
1answer
636 views

How to correctly unpack “packed_trx” from transaction?

Hello Dear EOSIO Community, I have following transaction on mainnet that I want to unpack. I get its data using curl: curl https://api.tokenika.io/v1/history/get_transaction -d'{"id": "...
2
votes
1answer
72 views

Is it safe to assume that a function can't be called directly if it is not defined in the ABI?

I'm writing a function in my contract that is supposed to run only if I receive a transfer notification from "eosio.token". The way I handle eosio.token transfer notification is similar to this (but ...
1
vote
1answer
120 views

Secure way to sign a Transaction in a polling Service

assume i have written an polling service in nodejs which i would like to run on an aws e2 instance (t2.nano/t2.micro). This service will observe a specific account every 10sec or so for incoming ...
4
votes
2answers
1k views

How to perform something when my contract receives a eosio.token transfer notification?

I know a very similar question has been asked here (How to do something when your contract is an action notification recipient (like when it receives funds)?), however I don't have enough reputation ...
4
votes
2answers
1k views

How to get a list of transactions related to an account?

I'm able to get transactions for an account by using the /history/get_actions rpc interface, but it seems to only list actions that were initiated by that account. It lists transfer actions, but only ...
1
vote
1answer
56 views

Is a transaction(like token transfer) could fail after being sent? if so, how can I get information about it?

In EOSIO, we know that a transaction can be packed in block very fast, and we can also treat it as irreversible after "lastirreversibleblock >= block_num". Whether a transaction could fail after ...
3
votes
1answer
757 views

How can increase RAM or reset it?

EOSflare.io shows I am using all of the RAM (7.94 KB / 7.95 KB). Now all my transactions are failing. I assume its because of maxing out the RAM? If so, when does EOS.IO reset RAM usage or do I need ...
1
vote
2answers
239 views

transcation take to long on cleos push action in EOS 1.0.2

Exception encountered while processing chain.push_transaction: 3040005 expired_tx_exception: Expired Transaction transaction has expired, expiration is 2018-06-12T12:30:04 and pending block time is ...
4
votes
2answers
96 views

Slowing testnet for testing

How can I slow down the blocks produced in a local test environment or pause the processing of transactions and diagnose the state of the blockchain? I would like to really slow it down, instead of a ...
0
votes
1answer
254 views

How do you create the packed_trx field when submitting a transaction to the chain?

When submitting a signed transaction to the chain via the RPC interface, I get an error about an "Invalid packed transaction". What is the process for packing a transaction for submission to the ...
0
votes
2answers
197 views

How does EOS scale?

How does EOS handle the long term blockchain size? with thousands of transactions faster than bitcoin wouldn't the blockchain become too large to manage
6
votes
2answers
828 views

What block hash function and transaction signature method does EOS use?

What hash function does EOS use for creating a block. Is it SHA-256? In addition, what procedure for signing a transaction is used? RSA?
1
vote
0answers
121 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<...
4
votes
1answer
824 views

how to know if a transaction was include in block?

In bitcoin and ethereum blockchain, I can get transactions's details that not included in blockchain yet via api. but in EOS blockchain ,it seems that there were no such api to get those information. ...
3
votes
1answer
317 views

How can I know the cpu and net bandwidth required for my transaction to be completed?

Before pushing an action on blockchain, how do I find out the minimum amount of cpu and net bandwidth required for my transaction to be completed? If there is no way to know such thing, then how do I ...
3
votes
1answer
280 views

ICO/Payment contact

Anyone is working on some ICO/Payment contacts? What I would like to learn are following functionalities within the contract: Payment, where the fee is split into 3 accounts. a) So user sends a fee ...
0
votes
1answer
227 views

transaction reached the deadline set due to leeway on account CPU limits

I get this error while delegating resources from one account to other account. Is this because i have low available cpu and available net in my account? If so how can I avoid it?
0
votes
2answers
129 views

TPS of EOS network's transaction processing

Will EOS get the declared millions grade TPS when it is lunched? Some of the benchmark test shows current TPS is in thousands. It might be the hardware. But is there any bottleneck in the EOS software?...
4
votes
2answers
421 views

How is the action data encoded?

Take for example this action belonging to a newaccount transaction: { "account": "eosio", "name": "newaccount", "authorization": [{ "actor": "eosio", "permission"...
3
votes
1answer
127 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 ...
7
votes
2answers
506 views

Is there any method to know whether a transaction has been confirmed or not?

I need to do some actions which need to make sure the other transactions having been confirmed already in a contract. so, Is there any method to know whether a transaction has been confirmed or not?
2
votes
1answer
903 views

require_auth differs from the auth check of INLINE_ACTION_SENDER but how?

In a contract action I've got the following: require_auth(from); // NOTICE THIS LINE... INLINE_ACTION_SENDER(contract, transfer)( N(contract), {from, N(active)}, // ... AND THIS LINE. {...
2
votes
1answer
175 views

Getting 'unable to find key' error when sending transaction in eosjs

Here is transfer: eos.transfer("dylan1", "dylan2", "1 EOS", "", {broadcast: true, sign: true}).then(result=>{console.log(result)}); Here is error: error: {"code":10,"name":"assert_exception","what"...
2
votes
1answer
364 views

Example of smart contract action that itself executes a transaction

Can anyone point me to example code for writing a smart contract that calls actions on other smart contracts? The general method of doing this is documented here but example code is not provided.
2
votes
1answer
50 views

Can a pre-validated transaction permanently fail? If so, how to detect this?

When a transaction is accepted by a node and pre-validated is it possible that the transaction will ultimately fail to reach finality? How can the client that pushed the transaction detect this ...
5
votes
1answer
628 views

As a client, how do I know that a transaction I pushed is irreversibly confirmed?

I push a transaction to a node and receive a transaction id in return. How do I know that transaction is irreversibly confirmed?
1
vote
0answers
42 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 ...
1
vote
1answer
222 views

How to embed eosio nonce action in transaction to get over Error 3030011: duplicate transaction?

Reading WAST/WASM from ______ wast... Assembling WASM... Publishing contract... Error 3030011: duplicate transaction You can try embedding eosio nonce action inside your transaction to ensure ...
3
votes
2answers
357 views

transaction with actions across two contracts

Given two contracts, I'd like to push a transaction that requires successful completion of an action by each of the two contracts. If either action by either contract fails then all actions by all ...
11
votes
1answer
1k views

What is the purpose of `require_recipient`?

I saw the description of the function require_recipient and it says: Add the specified account to set of accounts to be notified I would like to understand what's the purpose of receive this ...
11
votes
3answers
3k views

How to sign raw transaction with eosjs?

Lets say I have a transaction like below: var tx = { transaction_id: '111ee28e5deca69e54dadf751eba8fae181f0ceafc601dcab92700f5200abef8', broadcast: false, transaction: { ...
13
votes
4answers
1k views

Can someone explain the transaction struct?

{ expiration: '2018-05-09T10:21:48', region: 0, ref_block_num: 1055, ref_block_prefix: 4035814219, max_net_usage_words: 0, max_kcpu_usage: 0, delay_sec: 0, What is expiration, ...
7
votes
2answers
116 views

Can a transaction be posted to the blockchain without an associated account?

Can I post a transaction to the EOS blockchain that is signed using keys that aren't associated with an existing account? How does the blockchain detect these transactions?