1

When I inject an operation using the taquito library, how can I have my program wait for a specific number of blocks after my operation is included in the network.

1 Answer 1

1

Taquito return an operation object for each operation you inject using it.

For instance if you do:

const op = Tezos.contract.transfer({to: address, amount: 1})

You can wait until the confirmation with 

await op.confirmation();

Or

op.then(() => {
// post operation logic here
})

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.