Questions tagged [operation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
25 views

Is it still not possible to update or cancel a tx in the Tezos Mempool

As of ~1.5 years ago, this wasn't possible: https://twitter.com/dsintermediatd/status/1286341689368551428 I am wondering if there is any way to do this now and if so whether or not anybody has built ...
0
votes
0answers
16 views

Tezos Taquito Originate Process

I understand Taquito can originate a contract, but I am unable to understand how and what happens in that process. Can someone explain the process.
0
votes
1answer
34 views

How to transfer between two tz1 accounts using Taquito RPC functions such as forgeOperations and injectOperation?

I want to use taquito to successfully transfer the amount between two tz1 accounts without using the transfer function of contract API or wallet API. Instead, I want to use taquito RPC functions such ...
0
votes
1answer
21 views

How to forge an operation of kind reveal along with operation of kind transaction using Taquito?

I am using methods such as forgeOperations, injectOperation provided by '@taquito/rpc' package. However, this method works for already revealed accounts to complete the transfer between two tz1 ...
0
votes
1answer
22 views

How to know the `branch` value while forging an operation using Taquito?

0 I want to use forgeOperation function provided by '@taquito/rpc' to make a transfer between two tz1 accounts. I can estimate gasLimit, storageLimit and suggestedFee using '@taquito/taquito' estimate ...
0
votes
1answer
32 views

How to know the transaction counter of an address before making a transaction using Taquito?

I want to use forgeOperation and injectOperation function provided by '@taquito/rpc' to make a transfer between two tz1 accounts. I can estimate gasLimit, storageLimit and suggestedFee using '@taquito/...
0
votes
2answers
85 views

How long should I expect to wait for an operation to be included? Seeing "Waiting for the operation to be included..."

let me preface this by saying that I'm using a public node. It's fully bootstrapped and up to date, and I followed these instructions to check. I'm trying to call the mintOrBurn function of this ...
0
votes
1answer
26 views

What are anonymous operations?

It is referenced in this answer about using rpc api GET ..//operations. The first list contains the endorsements. The second list contains all the operations regarding votes and proposals. The third ...
1
vote
1answer
79 views

What is an operation group?

In general what makes two or more operations part of an operation group? And as an example, why are these operations all in the same operation group? https://tzkt.io/...
0
votes
0answers
63 views

Contract call sender mix-up - what happened?

I'm trying to work out how this happened, and also to find out where to log it as a bug. There were simultaneous contract calls from 2 separate Hicetnunc users that ended up next to each other in ...
1
vote
0answers
27 views

How often do failed operations get included in the blockchain?

My understanding is that failed transaction like this should be checked by the node before injecting the operation, but either because of a bug in the node software, or because an operation that hadn'...
0
votes
1answer
71 views

What happens if there are two operations calling the same contract in the same block?

How is the order determined, or how would you tell from the blockchain what order they were applied in? And if the two operations are conflicting, such that only one can execute the contract ...
0
votes
0answers
15 views

How to log start and end times of each transaction/block execution

In order to benchmark tranaction and block execution times, I want to log the start/end timestamps of each block and each transaction while baking, and also during validation. However this does not ...
0
votes
1answer
42 views

How is the opHash generated?

Could someone give a step-by-step approach of how to go from the operation inputs (e.g. sender, receiver, amount etc) to generating an opHash for an operation? Thanks
1
vote
1answer
70 views

Need help understanding smart contract method call of tzBTC

I need to be able to reconstruct history of transactions in tzBTC contract: https://better-call.dev/mainnet/KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn/operations If we filter operations by mint, we get two ...
1
vote
0answers
58 views

What is a manager operation?

Transactions, originations, public key reveals, and delegations are "manager operations". According to Different types of operation in Tezos Block - Which one fee is spent, "manager ...
1
vote
2answers
145 views

Listen for operations of a deployed contract

Coming from an ethereum web3 background, I'm accustomed to listening for a contract's events to figure out when things happen in my contract and react accordingly in the application. I'm looking for ...
2
votes
1answer
91 views

Ledger Blake2b hash calculation

How is the “Ledger Blake2b hash” calculated by the tezos-client and the Ledger? I can calculate the other hashes, but unable to figure out the “Ledger Blake2b hash”: Raw Script-expression-ID-Hash: ...
6
votes
1answer
114 views

Updated fee constants in Delphi?

I am using the following formula and associated constants to calculate fees: https://tezos.gitlab.io/protocols/003_PsddFKi3.html#more-details-on-fees-and-cost-model Also referenced here: https://tezos....
1
vote
1answer
59 views

Test vectors for calculating operation hash

I am writing code to calculate operation hash from the raw hex and I would like some test vectors to verify my code. Where can I find that?
1
vote
1answer
76 views

Why won't transaction propagate to other nodes?

I've got a transaction where I've already signed bytes and am ready to inject the operation. If I inject it to my local node, I can see the txn in my nodes' mempool. But if I query another node, say ...
2
votes
0answers
90 views

Previously revealed manager key for contract

What this error Previously revealed manager key for contract <address> means? I tried to craft a delegation tx from a not-revealed address. Putting a reveal and a delegate operation in the same ...
3
votes
1answer
169 views

Switching from full mode to archive mode

I have a full node with the last checkpoint at block 1077249: $ ./tezos-client rpc get /chains/main/checkpoint { "block": { "level": 1077249, "proto": 6, "...
3
votes
1answer
272 views

Speeding up / Cancelling Transactions Stuck in Mempool

If I have a transaction stuck in mempool, how can I cancel the transaction or pay more to speed it up?
1
vote
1answer
61 views

Success response when injecting a transaction with outdated branch

Action: Publish a Operation through the Node RPC which references a branch/block that is older than allowed. Observed Behavior: Node returns Operation Id, Operation gets published to mempool ...
3
votes
1answer
115 views

What is an operation counter?

Counters are only mentioned briefly in the developer documentation. Furthermore each operation has a counter (explained in more detail later) that prevents replays so it is usually safe to re-emit ...
0
votes
1answer
35 views

Can I use balance_update at block to confirm account tezos change is valid?

In the return result of rpc /chains/main/blocks/321432, there are many balance_updates field, should I use this field to judge one address tezos banlance change? And how can I confirm this block is ...
4
votes
0answers
39 views

When do operations expire if not included?

I read something somewhere about how the branch you specify in the operation allows you to set a hard limit, where after 64 blocks have passed after that branch, then if the operation isnt there, its ...
2
votes
2answers
50 views

Rewards for Operations

Out of these Operations which operations affect the balance of an Account either by rewards or by any transaction? First four I know they incur a fee at least so that balance gets affected. Can any ...
1
vote
0answers
41 views

Transaction simulation with preapply fails while injection finish successfully

I'm trying to simulate an operation (transaction) before injecting it. The run_operation endpoint return: { status: 'applied', storage: { prim: 'Pair', args: [ [Object], [] ] }, big_map_diff: [...
5
votes
2answers
274 views

Operation cost for invoking smart contract

I would like to find out if the smart contract's code size/storage or an operation's parameters helps to derive to the cost. Is there a formula to calculate the cost of the operation to be invoking a ...
4
votes
1answer
351 views

Manager operation results: Applied | Backtracked | Failed | Skipped

Applied is self explanatory but the others really arent. The source code gives a bit of clues though; as file apply_results.mli says [Skipped] ones should always be at the tail, and after a single [...
1
vote
3answers
56 views

Operation has injection no error but is not included

My contract is here === === but not include == What's wrong! Please help me!
4
votes
1answer
206 views

How to estimate Baker and Storage fee with @taquito for a contract?

I have a simple smart-contract that holds user funds and that can be withdrawn by sending a signed message. However, I would like to offer the possibility for users to anticipate the fees they have ...
2
votes
1answer
127 views

What are the bounds / restrictions on the mempool?

While consulting documentation on the prevalidator, it describes portions of the mempool as bounded sets: For instance, in Alpha, contracts have counters, and operations with counters in the future ...
2
votes
2answers
73 views

Does Tezos have any on-chain signature verification algorithms implemented?

Does Tezos have any on-chain signature verification algorithms implemented? Could it verify ECDSA/secp256k1 for example?
0
votes
1answer
464 views

Operation injected to node, but not added to blockchain | Wallet counter error

I use my own babbylon node and previously i have added some wallet from tezos faucet and send some coins to my generated wallet with tezos-client: ./tezos-client transfer 8500 from test_w1 to ...
0
votes
1answer
300 views

Operation not included due to 0 fees, now counter is stuck

I've submitted a transaction following cryptium post https://www.reddit.com/r/tezos/comments/dlyev8/accounts_in_babylon/ tezos-client -A mainnet.cryptium.ch transfer xxx from tz1a to tz1b --fee 0 --...
3
votes
2answers
118 views

Why are my transactions not processing?

I'm trying to use TRD to make rewards payments. I can see that everything is forged, signed, and pre-apply'd correctly. Then injected correctly. I get an op-hash. But then nothing. Op never shows up. ...
2
votes
0answers
40 views

What means this error?

When I want validate my offline generated transaction using RPC call /chains/main/blocks/head/helpers/scripts/run_operation. I got error: Json_encoding.Unexpected_field(\"protocol\") My generated ...
1
vote
1answer
173 views

Decode a Tezos hexadecimal operation

I ran tezos-baker with the -l option to see all the RPC calls it makes to construct a block. Eventually, I see this: >>>>220: http://10.10.10.203:20001/keys/...
1
vote
1answer
28 views

Query operations by id on ROLLING History Mode Node

Is it possible to query operations by id using node synced in ROLLING History Mode?
1
vote
1answer
141 views

How to originate a smart contract with Taquito

How can I access my contract after originating it using taquito? If I use taquito like this. Tezos.contract.originate({...contractOptions}) How can I access my new originated address and start using ...
1
vote
1answer
46 views

Sometimes returning errors when looking for block transactions

tezos-client rpc get /chains/main/blocks/BMGi65PWTKoUbcs5hVm83LciAznJSQsKTrRLZ7HiLBNnoxgsJAs/operations result: Did not find service: GET http://localhost:8732/describe/chains/main/blocks/...
1
vote
1answer
323 views

How to get hash of operation without injecting in chain

Can I get txn hash without injecting operation in block chain? After injecting I will get same txn hash?
1
vote
1answer
83 views

Why are some blocks not finding operations?

"http://localhost:8732/chains/main/blocks/BL8uS3sAr7UgtNryr4oyY9dJv4Nbds36UzvWbY6HRLvG1EiwoLA/operations" "http://localhost:8732/chains/main/blocks/BLFFLhrVqdTw1HCagqKBbuAoSFQ8dZwyJgWqNCWgFvisbr8h8ff/...
4
votes
1answer
129 views

Operation bytes parsing

I am trying to query the RPC parse operation method and I found another question about it. But I can't figure out why operation bytes with the same data are different (58 vs 90 bytes), moreover: Query:...
3
votes
1answer
72 views

Where is the reward operation for athens?

Athens amendment proposal was succesfully integrated as proto004 into the mainnet at level 458753. The first mined block can be seen here https://api6.tzscan.io//v3/block/...
5
votes
1answer
120 views

Why Operations have extra money transaction that are not included in balance calculation?

I found that some operations have more money transfers that are actually included in the explorer, can somebody explain why? This operation for example have the following JSON: { "protocol": "...
9
votes
1answer
309 views

How to use rpc parse operations endpoint

I am trying to query the RPC parse operation endpoint The RPC documentation only states that this endpoint Parse operations and I can't seem to find example of how to use it on the web. What I am ...