19 votes
Accepted

How to make an offline transaction?

Option 1 Kukai https://kukai.app/ Step 0 First make sure you have a secure offline environment for your wallet. You can either have a dedicated computer for it or a bootable Linux USB Flash Drive (...
user avatar
  • 2,638
14 votes

what this 2 empty [] mean?

The first list contains the endorsements. The second list contains all the operations regarding votes and proposals. The third list contains anonymous operations. The last one contains the manager ...
user avatar
  • 426
14 votes

How to make an offline transaction?

All transactions included in the Tezos must reference a block hash within the past 60 block hashes. This acts as an additional layer of notarization of the chain, besides the consensus but it means ...
user avatar
  • 4,409
11 votes
Accepted

UTXO vs account model

First off, utxos and accounts aren't that different. You can look at the pair (account, counter) as almost equivalent to a utxo. The main reason has to do with concurrent access to smart contracts. ...
user avatar
  • 4,409
11 votes
Accepted

Max theoretical TPS with current setup of block gas/storage limits?

Currently, there is a fixed constant that limits the total gas usage of a single block to: hard_gas_limit_per_block = 4000000 With the proto003 fee change, transactions (txs) have minimum gas costs ...
user avatar
10 votes
Accepted

Spending XTZ held in an implicit account from a smart contract

No, a contract can only spend its own funds.
user avatar
  • 4,409
10 votes
Accepted

How to create a transaction

There are multiple references online which provide material to understand the steps involved in this. You can check this or that. Some elements are also provided in this other question Basically the ...
user avatar
  • 6,006
8 votes

What is the difference between fee and gaslimit?

In Tezos, the fee is independant from the gas : whatever the gas consumed, you always pay the full fee. However, bakers will probably compute the ratio fee/gas, and prefer transactions with higher ...
user avatar
  • 3,278
8 votes
Accepted

How can I understand why a transaction has failed?

Failed transactions should be detected and get an error code returned in the preapply (RPC). So that this transaction even have been injected indicate a bug or bad error handling in a wallet. It is ...
user avatar
  • 1,320
8 votes

How to batch transactions?

https://kukai.app (not for mobile) You can use the kukai wallet to do multi-send operations. It was a feature-request from a baker and now multiple bakers are using it.
user avatar
  • 146
8 votes
Accepted

How to manage rewards for small delegators?

The best solution is to apply the minimum payout rule. So, you will pay the delegator only when this value is reached. For example, let MinPayout = 0.01, then: Cycle Reward Debt Payout #n ...
user avatar
  • 2,317
8 votes

Why is my account reduced by 0.257 tz?

Both the transactions that you are referencing are the fist transaction to a new address. As you can see on the operations cost table for Protocol 004, 0.257 tz is burned "if the recipient is a new ...
user avatar
7 votes
Accepted

Max lifetime of transactions in mempool?

In the current protocol there's a time to live of 60 blocks for every manager operation, after which they can no longer be included.
user avatar
  • 4,409
7 votes
Accepted

Largest block size in tezos?

In Tezos Alpha the Transaction List size is limited: Tezos does not download blocks all at once, but rather considers headers and various lists of operations separately. In Tezos.alpha, a maximum ...
user avatar
  • 697
7 votes
Accepted

TzScan API for alphanet?

After inspecting TzScan's alphanet frontend, i've been able to extract the following curl request: curl 'https://api.alphanet.tzscan.io/v1/operation/...
user avatar
6 votes

When is a Tezos transaction considered to be confirmed?

Tezos current protocol (003) achieves probabilistic finality after a recommended time of 30 confirmations which reduces the chances of the transaction being impacted by a reorg. There are ...
user avatar
  • 6,006
6 votes
Accepted

Transactions index in tezos

Conseil is software that provides this functionality. Alongside ConseilJS you can easily use this with your applications. Here is a full article regarding Conseil. And you can view the GitHub repo ...
user avatar
6 votes

How to check if remote-signer is working as expected?

I figured out that you can use the --dry-run option in the transfer statement so that node will send transaction to remote-signer to sign, and you can check the remote-signer logs to see if everything ...
user avatar
  • 1,115
6 votes
Accepted

How to use rpc parse operations endpoint

The problem is that /parse/operations expects signed operations. You can just add 64 zero bytes to the end: { "operations": [ { "data": "...
user avatar
  • 2,501
6 votes

Invalid Signature for Tezos transaction

Make sure you revealed public key just once and make sure you properly incement counter. Also, take a look at Netezos, C# Tezos SDK. Here is an example of how to forge, sign and send a transaction: ...
user avatar
  • 2,317
5 votes

How much is a "small, meaningless" transaction?

Any transaction will do, even an amount of 0. Note that you may need to include a small transaction fee to ensure the transaction is relayed by your peers and included inside a block.
user avatar
  • 4,409
5 votes

What is the difference between fee and gaslimit?

The full fee is always paid for every transactions - the gas limit is just that, a cap on the amount of gas a given transaction can consume. A baker can be guaranteed that they are paid at least fee/...
user avatar
5 votes

what this 2 empty [] mean?

Difference between reveal and transaction: When a wallet sends a transaction, it must sign the transaction with the user's private key. However, there is no way for other users to check the signature,...
user avatar
  • 3,278
5 votes

How to batch transactions?

Here is a good reference article by one baker on the topic Sending multiple transactions in one batch using tezos rpc
user avatar
  • 6,006
5 votes
Accepted

When is a Tezos transaction considered to be confirmed?

It is better (although more complex) to use fitness/endorsements. 900 fitness/endorsements is roughly 30 "normal" blocks (i.e. blocks with close to full endorsements), which is a simpler rule of thumb ...
user avatar
5 votes

Can't send my tezos around because of a "transaction failed" error

The error occurred because I needed to have some balance left to complete the transaction. It works fine after that.
user avatar
  • 81
5 votes

How to calculate the txHash?

Create a 32 byte generic hash of the raw tx Base58 encode it with the 'o' prefix It would look something like this: var rawHash = libsodium.crypto_generichash(32, rawTx); var prefix = new Uint8Array(...
user avatar
  • 1,320
5 votes
Accepted

Which operations can change Tezos address balances?

Operations of the following types can affect account balance: transaction revelation origination delegation endorsement seed_nonce_revelation double_endorsement_evidence double_baking_evidence ...
user avatar
  • 2,317
5 votes
Accepted

FA2 from/to serialization

In the FA2.0 standard the sender and receiver is send as Bytes (vs. send as string for FA1.2). Both token standards say that sender and receiver are Michelson addresses. Michelson addresses have two ...
user avatar
4 votes

When is a Tezos transaction considered to be confirmed?

A series of blog posts from Nomadic Labs give a more detailed and up-to-date answer, notably this one: https://blog.nomadic-labs.com/emmy-in-the-partial-synchrony-model.html. Roughly, the answer ...
user avatar
  • 883

Only top scored, non community-wiki answers of a minimum length are eligible