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
Unanswered
Error 500 when using endpoint from Orbs


Hi,

This error caused by trying to access an old block from a node which does not store this information for long period.

All nodes in the network have some default retention for historical data and fetching old blocks requires accessing archive nodes which stores this information for longer periods.

We are currently working to dramatically increase the retention for archive nodes and soon you will be able to access old blocks.

  
  

Thanks for your answer

Sergei Krivochenko   8 months ago Report
  
  

If I run my own instance with docker

docker run -e TON_CONFIG=https://ton.org/global-config.json -p 3000:3000 tonwhales/ton-api-v4:v41

, will it be possible to get old blocks?

Sergei Krivochenko   8 months ago Report
  
  

I ask because currently I can't run it because of issue https://github.com/ton-community/ton-api-v4/issues/9

Sergei Krivochenko   8 months ago Report
  
  

Most of the nodes in the global config will not provide long history as the default when installing new node is 1 week for block state.

Ami Hazbany   8 months ago Report
502 Views
0 Answers
8 months ago
8 months ago