Provides information about library.
get_api_reference – Returns Core Library API reference
version – Returns Core Library version
Returns Core Library API reference
type ResultOfGetApiReference = {
api: any
};
function get_api_reference(): Promise<ResultOfGetApiReference>;
api
: API
Returns Core Library version
type ResultOfVersion = {
version: string
};
function version(): Promise<ResultOfVersion>;
version
: string – Core Library version
type ResultOfBuildInfo = {
build_info: any
};
function build_info(): Promise<ResultOfBuildInfo>;
build_info
: any
type ClientError = {
code: number,
message: string,
data: any
};
code
: numbermessage
: stringdata
: any
type ClientConfig = {
network?: NetworkConfig,
crypto?: CryptoConfig,
abi?: AbiConfig
};
network
?: NetworkConfigcrypto
?: CryptoConfigabi
?: AbiConfig
type NetworkConfig = {
server_address?: string,
network_retries_count?: number,
message_retries_count?: number,
message_processing_timeout?: number,
wait_for_timeout?: number,
out_of_sync_threshold?: bigint,
access_key?: string
};
server_address
?: stringnetwork_retries_count
?: numbermessage_retries_count
?: numbermessage_processing_timeout
?: numberwait_for_timeout
?: numberout_of_sync_threshold
?: bigintaccess_key
?: string
type CryptoConfig = {
mnemonic_dictionary?: number,
mnemonic_word_count?: number,
hdkey_derivation_path?: string,
hdkey_compliant?: boolean
};
mnemonic_dictionary
?: numbermnemonic_word_count
?: numberhdkey_derivation_path
?: stringhdkey_compliant
?: boolean
type AbiConfig = {
workchain?: number,
message_expiration_timeout?: number,
message_expiration_timeout_grow_factor?: number
};
workchain
?: numbermessage_expiration_timeout
?: numbermessage_expiration_timeout_grow_factor
?: number
type ResultOfGetApiReference = {
api: any
};
api
: API
type ResultOfVersion = {
version: string
};
version
: string – Core Library version
type ResultOfBuildInfo = {
build_info: any
};
build_info
: any