Questions tagged [operation]
The operation tag has no usage guidance.
72
questions
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 ...
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 ...
-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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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 ...
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 ...
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/...
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 ...
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 ...
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/...
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'...
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 ...
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
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 ...
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 ...
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 ...
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: ...
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....
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?
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 ...
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 ...
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,
"...
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?
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 ...
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 ...
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 ...
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 ...
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 ...
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:
[...
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 ...
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
[...
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!
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 ...
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 ...
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?
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 ...
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 --...
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. ...
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 ...
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/...
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?
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 ...
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/...
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?
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/...