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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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 ...

1
vote
1answer
24 views

How to search extra information which is attatched to a transaction?

For example, in one smart contact, a transaction is made, which contains some extra information, let's say the buyer's name. Once the transaction is committed, it is saved into one block. As you know,...
2
votes
1answer
36 views

Signing transactions manually without eosjs-ecc

So because I'm doing things from c++, I don't have access to eosjs-ecc. Assuming that I have successfully packed the transactions (using fcbuffer, packed the action data using the ABI), which I've ...
2
votes
1answer
25 views

what is token hex API and transaction abi?

What is token hex API and transaction abi in the abieos repo? Can ABI be generated for any transaction on the EOS block chain? If yes, then how?
2
votes
1answer
32 views

Transaction id is a hash of what?

https://eosio-cpp.readme.io/docs/communication-model states: On completion of the transaction, a transaction receipt is generated. This receipt takes the form a hash. The transaction receipt is ...
7
votes
0answers
74 views

What limits does an API endpoint impose on transactions which fail due to assertions?

Scenario: I connect to an API endpoint and repeatedly send transactions (with cleos) which are all ultimately rejected with eosio_assert_message. Such transactions don't seem to eat up CPU or network ...
2
votes
1answer
43 views

How does one sign a transaction and push it to nodeos?

If I'm to push a transaction without using eosjs / cleos, and straight into nodeos, how would I sign a transaction? This is assuming I have the private key in memory somewhere, ready to sign things
2
votes
1answer
47 views

Find transactions by memo

I would like to sum up all transactions values with memo = "abc". Is it possible to filtering transactions by memo?
1
vote
1answer
26 views

Getting an unknown key error while transfer some EOS form one account to another

I have written an action transfer in my contract which is as below // @abi action void second::transfer( account_name from, account_name to, asset ...
1
vote
2answers
68 views

How to get transaction receipt?

If you use cleos get block blocknum you can only get the transaction data, but not the transaction receipt. And in the transactions, there're some inline actions which we can't get through the ...
2
votes
1answer
49 views

whose permission is required while sending transaction and how can we give that permission

I have two accounts viz. account1 and account2. I set my contract using account2. Now, I am sending 0.1100 EOS from account2 to account1 as a deferred transaction. I am using the following function ...
3
votes
1answer
50 views

Passing the parameters in actions vector of transaction struct

In the below code, I am passing parameters to actions struct which takes account_name, action_name, permission vector and arguments. But while sending the account_name using N it is taking the exact ...
0
votes
0answers
31 views

Using recover_key with eosjs

I want to validate user signatures in my smart contract. As I understood, I am supposed to do that with recover_key function from crypto.h I am using JavaScript with eosjs and eosjs-ecc for ...
4
votes
1answer
83 views

How to get transaction logs from EOS?

Suppose I have a dapp that monitors transaction of some assets. The smart contract would be generating transactions and I'd get messages like "executed transaction: ...
2
votes
1answer
39 views

Size limit for transaction data?

From what I understand, there are 3 types of storage: RAM > Available to other contracts, but costs EOS to use Transaction data / logs > Not available to contracts, but also no ongoing cost, and ...
4
votes
1answer
27 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....
0
votes
1answer
22 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
120 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 ...
2
votes
1answer
66 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
37 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
43 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
55 views

The given contract doesnt' 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 ...
0
votes
1answer
76 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
29 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 ...
1
vote
1answer
111 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
153 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" ...
0
votes
0answers
59 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
88 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 ...
1
vote
1answer
132 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
38 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 ...
0
votes
1answer
53 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 ...
0
votes
0answers
127 views

Different `get transaction` response format?

There is a normal get transaction response format on EOS mainnet: { "id": "a42a25720d74a003e411f5cb3afefc7b315215767b3979c10082ea507d6d8dc4", "trx": { "receipt": { "status": "...
1
vote
2answers
157 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 ...
1
vote
1answer
292 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 ...
0
votes
1answer
36 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 ...
2
votes
1answer
208 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
99 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 ...
2
votes
1answer
37 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
74 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
79 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
3
votes
2answers
180 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
45 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<...
2
votes
1answer
205 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. ...
2
votes
1answer
132 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 ...
2
votes
1answer
88 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
136 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
79 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
112 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"...
2
votes
1answer
52 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 ...
3
votes
1answer
132 views

How can a action be scheduled to execute at specific timestamp or block?

Is it possible to schedule and action defined in a contract to be automatically executed at a specific timestamp or block? I know it's possible to get a timestamp inside of a contract but, I'm not ...
4
votes
1answer
140 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?