@layerzerolabs/ton-sdk-tools 3.0.47 → 3.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @layerzerolabs/ton-sdk-tools
2
2
 
3
+ ## 3.0.49
4
+
5
+ ### Patch Changes
6
+
7
+ - 3bd6551: Publish new TON packages at Jan 22
8
+
9
+ ## 3.0.48
10
+
11
+ ### Patch Changes
12
+
13
+ - 06754c6: monad testnet
14
+
3
15
  ## 3.0.47
4
16
 
5
17
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -427,6 +427,11 @@ export class TonContractWrapper extends BaseWrapper {
427
427
  return provider.getState()
428
428
  }
429
429
 
430
+ async getContractBalanceView(provider: ContractProvider, futureSeconds: bigint): Promise<bigint> {
431
+ const getResult = await provider.get('getContractBalanceView', [{ type: 'int', value: futureSeconds }])
432
+ return getResult.stack.readBigNumber()
433
+ }
434
+
430
435
  async getCurrentStorageCell(provider: ContractProvider): Promise<Cell> {
431
436
  const getResult = await provider.get('getContractStorage', [])
432
437
  return getResult.stack.readCell()