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")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, 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
Answered
When using TonWeb, what does an error code of "-13" mean?

I am using TonWeb to get data from a Jetton wallet:

let res = new TonWeb.token.jetton.JettonWallet(
	tonweb.provider, 
	{
		ownerAddress: new TonWeb.Address(address),
		jettonAddress: new TonWeb.Address(address2)
	}
);
res = await res.getData();

I get a result with gas_used being 0, and an exit_code of -13. What does this mean?


This question was imported from Telegram Chat: https://t.me/tondev_eng/4087

  
  
Posted 10 days ago
Votes Newest

Answers


I believe this question was more or less answered in another question by
Vladimir Plotvinov. You can view it here:

https://answers.ton.org/question/1538089852979908608/

For sake of visibility, I'll repost his answer:

You recieve a "-13" exit code. API called lite-server and receive some result it's why you got 200 OK. -13 exit code I would say it means method_id not found on smartcontract (but I can't find this remark in documentation).

  
  
Posted 10 days ago
Edited 10 days ago
Jeremy
354 × 5 Administrator
474 Views
1 Answer
10 days ago
10 days ago
Tags