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
Answered
How to get the latest block number?

What's the easiest way to get the number of the latest block on the TON blockchain?


This question was imported from Telegram Chat: https://t.me/tondev/47900

1
1
Posted 2 years ago
Votes Newest

Answers


Yes, you can find the latest Blocknumber in a series of API suppliers.

Or using the follow of code from orbs network

// copy paste the following snippet into your dapp client code
// to initialize your favorite TON API library and make blockchain queries

import { getHttpEndpoint } from "@orbs-network/ton-access";
import { TonClient } from "ton";

// get the decentralized RPC endpoint
const endpoint = await getHttpEndpoint(); 

// initialize ton library
const client = new TonClient({ endpoint });
1
1
Posted 2 years ago
13K Views
1 Answer
2 years ago
2 years ago
Tags