@eversdk/core
Advanced tools
Changelog
[1.47.0] – 2024-07-12
Updated project dependencies
Some project folders were renamed in accordance with the rebranding:
Removed create failure
, now we use anyhow
and thiserror
creates
Changelog
[1.45.0] – 2023-11-10
For contracts with ABI version => 2.4 initial public key should be explicitly supplied
inside initial_data
in abi
module functions. Signer public key and initial_pubkey
parameter
are not used in contract initial data encoding since ABI version 2.4.
abi.decode_initial_data
and abi.update_initial_data
functions don't support ABI version => 2.4.
abi.decode_account_data
and abi.encode_initial_data
should be used instead
Only workchain_id
parameter is allowed if state_init
parameter of DeploySet
is provided.
State init should be finalized and ready to be used in message as is.
abi.encode_account
parameter state_init
is BOC or cached BOC reference instead of
StateInitSource
enum. There is only one way to provide account state init now.
Changelog
[1.44.4] – 2023-11-07
Changelog
[1.44.3] – 2023-09-05
Changelog
[1.44.1] – 2023-07-25
processing.process_messages
) can be called as sync.send_event
parameter is now optional with default value false
.Changelog
[1.44.0] – 2023-07-12
tc_request_sync
.abi::encode_internal_message
, abi::attach_signature_to_message_body
, abi::attach_signature
,
abi::decode_message
, abi::decode_message_body
, abi::decode_account_data
,
abi::update_initial_data
, abi::encode_initial_data
, abi::decode_initial_data
,
abi::decode_boc
, abi::encode_boc
, boc::decode_tvc
, boc::parse_message
, boc::parse_transaction
,
boc::parse_account
, boc::parse_block
, boc::parse_shardstate
, boc::get_blockchain_config
,
boc::get_boc_hash
, boc::get_code_from_tvc
, boc::cache_get
, boc::cache_set
, boc::cache_unpin
,
boc::encode_boc
, boc::get_code_salt
, boc::set_code_salt
, boc::decode_state_init
, boc::encode_state_init
,
boc::encode_external_in_message
, boc::get_compiler_version
, processing::monitor_messages
,
processing::get_monitor_info
, processing::cancel_monitor
modules.ts
produces _sync
wrapper for all API functions._sync
version for each SDK function.
So SDK can be used in utility scripts in sync manner.
Not all bindings are support sync calls.
The only binding that supports sync calls is the lib-node
.
Example:
const sdk = new TonClient();
console.log(sdk.client.version_sync().version);
console.log(sdk.net.query_sync("query{info{version}}"));