ton4j
ton4j copied to clipboard
Java libraries for interacting with TON blockchain.
I would like to decrypt the message for opcode 260734629 (Jetton transfer). It worked fine for the jetton notification opcode, but it fails for the jetton transfer opcode. comment :...
```java //Tonlib.java line 457 if (StringUtils.isEmpty(response) || response.contains("error")) { if (!StringUtils.isEmpty(response)) { log.info(response); } if (++retry > receiveRetryTimes) { throw new Error( "Error in tonlib.receive(), " + receiveRetryTimes + "...
hi, Running the latest TestTonlibJson.testTonlibRunMethodActiveElectionId test case results in the following error. It appears that the JNI version is incompatible with the released tonlib version. tonlib file: https://github.com/neodix42/ton/releases/download/v2025.03/tonlibjson-mac-x86-64.dylib will you...
java.lang.NoSuchMethodError: com.sun.jna.Native.load(Ljava/lang/String;Ljava/lang/Class;)Lcom/sun/jna/Library; 
Title: get_last_clean_time throws exit code -13 when setting timeout to 900 in HighloadWalletV3 (Ton4j v0.9.9) Description: I am trying to deploy a HighloadWalletV3 contract using Ton4j version 0.9.9, and I’m...
hello, I found when i called BlockHeader header = tonlib.getBlockHeader(block); the header only contain type BlockId but i want to get blockIdExt in BlockHeader. i see the rpc return data...
"error": "failed to unmarshal internal message: not enough bits" Boc is quite long compared to other SDKs, and when requesting v2/gasrest/estimate interfaces, an error occurs here is my boc from...
An error occurs when parsing boc. The method used is the same as in the test demo. The code is as shown below. The boc returned to me by the...
1、I added JSON val configStr = Utils.streamToString(openJson) val build = Tonlib.builder().testnet(true).originalGlobalConfigStr(configStr).build() 2、error log Error creating tonlib instance: Attempt to invoke virtual method 'org.ton.java.tonlib.types.globalconfig.LiteServers[] org.ton.java.tonlib.types.globalconfig.TonGlobalConfig.getLiteservers()' on a null object reference
一、After send Tx。We get this ``` ExtMessageInfo emi = hotWallet.send(walletV3Config); ``` and then ``` RawTransactions rawTransactions = tonlib.getRawTransactions(address, null, emi.getHash(), 1); ``` And what's going on? 二、toncenter api I find...