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

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, privacy policy and cookie policy

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