Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Back to post

Revisions 5

one year ago
Daniil Sedov
219 × 6 Administrator
How can I wait for transaction to confirm using TonWeb?
How can I wait for transaction to confirm using TonWeb?
I'm writing a simple DApp on *TON blockchain* and using the [`tonweb`](https://github.com/toncenter/tonweb) JavaScript library to interact with it. I need to first send a transaction, and then after it confirms on chain, perform some other code in JavaScript. Example: ```js await ton.send('ton_sendTransaction', [{ to: 'some address', value: '1000' }] ) // wait for tx to confirm on chain console.log('Done!') ``` I don't know how to wait for a transaction's confirmation.
I'm writing a simple DApp on *TON blockchain* and using the `tonweb` JavaScript library to interact with it. I need to send some transaction and after it confirms on chain, perform some other things in JavaScript. Example: ```js await ton.send('ton_sendTransaction', [{ to: 'some address', value: '1000' }] ) // wait for tx to confirm on chain console.log('Done!') ``` But I don't understand how can I wait for confirmation.
#tonweb #javascript
#tonweb #javascript
one year ago
Daniil Sedov
219 × 6 Administrator
How can I wait for transaction to confirm using TonWeb?
How can I wait for transaction to confirm using TonWeb?
I'm writing a simple DApp on *TON blockchain* and using the `tonweb` JavaScript library to interact with it. I need to send some transaction and after it confirms on chain, perform some other things in JavaScript. Example: ```js await ton.send('ton_sendTransaction', [{ to: 'some address', value: '1000' }] ) // wait for tx to confirm on chain console.log('Done!') ``` But I don't understand how can I wait for confirmation.
I'm writing a simple DApp on *TON blockchain* and using the `tonweb` JavaScript library to interact with it. I need to send some transaction and after it confirms on chain, perform some other things in JavaScript. Example: ```js code await ton.send('ton_sendTransaction', [{ to: 'some address', value: '1000' }] ) // wait for tx to confirm on chain console.log('Done!') ``` But I don't understand how can I wait for confirmation.
#tonweb #javascript
#tonweb #javascript
one year ago
Tal Kol
337 × 3 Administrator
How can I wait for transaction to confirm using TonWeb?
How can I wait for transaction to confirm using TonWeb?
I'm writing a simple DApp on *TON blockchain* and using the `tonweb` JavaScript library to interact with it. I need to send some transaction and after it confirms on chain, perform some other things in JavaScript. Example: ```js code await ton.send('ton_sendTransaction', [{ to: 'some address', value: '1000' }] ) // wait for tx to confirm on chain console.log('Done!') ``` But I don't understand how can I wait for confirmation.
I'm writing a simple DApp on *TON blockchain* and using the `tonweb` JavaScript library to interact with it. I need to send some transaction and after it confirms on chain, perform some other things in JavaScript. Example: ```js await ton.send('ton_sendTransaction', [{ to: 'some address', value: '1000' }] ) // wait for tx to confirm on chain console.log('Done!') ``` But I don't understand how can I wait for confirmation.
#tonweb #javascript
#javascript
one year ago
Daniil Sedov
219 × 6 Administrator
How can I wait for transaction to confirm using TonWeb?
How can I wait for transaction to confirm using tonweb?
I'm writing a simple DApp on *TON blockchain* and using the `tonweb` JavaScript library to interact with it. I need to send some transaction and after it confirms on chain, perform some other things in JavaScript. Example: ```js await ton.send('ton_sendTransaction', [{ to: 'some address', value: '1000' }] ) // wait for tx to confirm on chain console.log('Done!') ``` But I don't understand how can I wait for confirmation.
I'm writing a simple DApp on *TON blockchain* and using `tonweb` to interact with it. I need to send some transaction and after it confirms on chain, perform some other things in JS. Example: ``` await ton.send('ton_sendTransaction', [{ to: 'some address', value: '1000' }] ) // wait for tx to confirm on chain console.log('Done!') ``` But I don't understand how can I do that using tonweb
#javascript
#tonweb
one year ago
Original
Daniil Sedov
219 × 6 Administrator
How can I wait for transaction to confirm using tonweb?

I'm writing a simple DApp on *TON blockchain* and using `tonweb` to interact with it. I need to send some transaction and after it confirms on chain, perform some other things in JS. Example: ``` await ton.send('ton_sendTransaction', [{ to: 'some address', value: '1000' }] ) // wait for tx to confirm on chain console.log('Done!') ``` But I don't understand how can I do that using tonweb
#tonweb