UNPKG
@ton3/liteclient
Version:
latest (0.0.7)
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
TON Blockchain LiteClient
github.com/tonkite/ton3-liteclient
tonkite/ton3-liteclient
@ton3/liteclient
/
src
/
functions
/
liteServer
/
getVersion.ts
7 lines
(5 loc)
•
231 B
text/typescript
View Raw
1
2
3
4
5
6
7
import
{
StreamWriter
}
from
'../../tl/stream'
;
import
{ crc32 }
from
'../../utils'
;
export
const
getVersion
= (
bufferWriter: StreamWriter
) => { bufferWriter.
writeInt32LE
(
crc32
(
'liteServer.getVersion = liteServer.Version'
)); };