Questions tagged [operation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

How to properly call Inject block or protocol api?

I have question how to call properly inject block and inject protocol api methods which I have found here? https://gitlab.com/tezos/tezos/-/blob/master/docs/api/rpc-openapi.json I was searching but I ...
Lukáš Kotol's user avatar
0 votes
2 answers
36 views

I'm sending an amount on a contract call but the contract is not seeming to recognize the amount

I'm trying to make a contract call that requires an amount of tezos to be sent in. I've done this before and it has worked, but now I get this error every time. Here's the code I'm running: const ...
Evan Fisher's user avatar
-1 votes
1 answer
25 views

Is there any way to compute the transaction fee of transfering xtz in python?

I'm creating a python script in which I need to make a function to send the xtz from one address to another addresss before the transfer I want to compute the operation cost.Is there any way to ...
Shahbaz Ali's user avatar
3 votes
1 answer
79 views

Create input for injectOperation (forged op + Beacon Wallet signature)

I'm trying to manually forge a transaction, sign it with Beacon Wallet and inject it. I've forged and sign it. preapplyOperations is OK. Now I'm trying to build the input data for injectOperation ...
avl's user avatar
  • 69
1 vote
1 answer
34 views

Account blocked on pending interaction hangzhounet

as tittle says, my account got stuck at a pending interaction/operation, the hash of the operation doesnt exist when searching it on explorer, i can see the pending operation on temple wallet, umami ...
Marcelo David Moisés's user avatar
0 votes
2 answers
133 views

Taquito "estimate" fails with "storage_exhausted.operation"

I was getting the error storage_exhausted.operation before when trying to send an operation. I thought I fixed it by ensuring I had enough funds in my account to cover the storage fee. Code was ...
Web and Flow's user avatar
0 votes
2 answers
49 views

Manager operation results: failed, backtracked, skipped [duplicate]

When a manager operation result's status is one of the in the title mentioned what exactly does that mean? Do the fees still get payed to the baker, or are they also canceled?
DEVensiv's user avatar
1 vote
2 answers
68 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 ...
Jimmy Johnson's user avatar
0 votes
1 answer
83 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 ...
Vijay Sugali's user avatar
1 vote
1 answer
97 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 ...
Vijay Sugali's user avatar
0 votes
1 answer
66 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 ...
Vijay Sugali's user avatar
0 votes
1 answer
66 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/...
Vijay Sugali's user avatar
0 votes
2 answers
169 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 ...
Whirlybird's user avatar
0 votes
1 answer
42 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 ...
Darius's user avatar
  • 649
1 vote
1 answer
123 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/...
Darius's user avatar
  • 649
1 vote
0 answers
31 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'...
Darius's user avatar
  • 649
0 votes
1 answer
77 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 ...
Darius's user avatar
  • 649
0 votes
1 answer
2k 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
Darius's user avatar
  • 649
1 vote
1 answer
79 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 ...
DimaA6_ABC's user avatar
1 vote
0 answers
125 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 ...
Eugen's user avatar
  • 1,000
1 vote
2 answers
303 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 ...
jon's user avatar
  • 133
2 votes
1 answer
152 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: ...
xinuix's user avatar
  • 23
7 votes
1 answer
134 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....
ewerx's user avatar
  • 173
1 vote
1 answer
71 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?
Thorkil Værge's user avatar
1 vote
1 answer
90 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 ...
utdrmac's user avatar
  • 3,422
2 votes
0 answers
172 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 ...
Rocco Musolino's user avatar
3 votes
1 answer
264 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, "...
coinwalletdev's user avatar
3 votes
1 answer
426 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?
Vinnyson's user avatar
  • 515
1 vote
1 answer
85 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 ...
Felix Laufenberg's user avatar
3 votes
1 answer
206 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 ...
MCH's user avatar
  • 680
0 votes
1 answer
45 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 ...
saiwaixiaowangzi's user avatar
5 votes
1 answer
55 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 ...
Bo Byrd's user avatar
  • 879
2 votes
2 answers
54 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 ...
Debasish22's user avatar
1 vote
0 answers
71 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: [...
Daly's user avatar
  • 442
5 votes
2 answers
394 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 ...
Vinnyson's user avatar
  • 515
4 votes
1 answer
474 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 [...
Bo Byrd's user avatar
  • 879
1 vote
3 answers
65 views

Operation has injection no error but is not included

My contract is here === === but not include == What's wrong! Please help me!
Tkk's user avatar
  • 53
4 votes
1 answer
297 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 ...
Charles Beyer's user avatar
2 votes
1 answer
173 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 ...
mikereinhart's user avatar
2 votes
2 answers
80 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?
XTZfan's user avatar
  • 91
0 votes
1 answer
680 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 ...
Yura Mysko's user avatar
0 votes
1 answer
336 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 --...
petronius's user avatar
  • 143
3 votes
2 answers
127 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. ...
utdrmac's user avatar
  • 3,422
2 votes
0 answers
51 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 ...
intosKai's user avatar
  • 151
1 vote
1 answer
245 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/...
utdrmac's user avatar
  • 3,422
1 vote
1 answer
34 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?
Ivan Zakharov's user avatar
1 vote
1 answer
179 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 ...
Jev Björsell's user avatar
1 vote
1 answer
51 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/...
taozi's user avatar
  • 129
2 votes
1 answer
438 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?
intosKai's user avatar
  • 151
1 vote
1 answer
94 views

Why are some blocks not finding operations?

"http://localhost:8732/chains/main/blocks/BL8uS3sAr7UgtNryr4oyY9dJv4Nbds36UzvWbY6HRLvG1EiwoLA/operations" "http://localhost:8732/chains/main/blocks/BLFFLhrVqdTw1HCagqKBbuAoSFQ8dZwyJgWqNCWgFvisbr8h8ff/...
taozi's user avatar
  • 129