Search
Preparing search index...
The search index is not available
@eversdk/core
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@eversdk/core
TonClient
Class TonClient
Hierarchy
TonClient
Index
Constructors
constructor
Properties
abi
boc
client
config
context
context
Creation
context
Error
crypto
net
processing
proofs
tvm
utils
_default
_default
Config
Accessors
default
default
Config
Methods
close
context
Required
context
Required
Sync
get
Client
Config
reject_
app_
request
request
request
Sync
resolve
Api
Error
resolve
Error
resolve
Error
Sync
resolve_
app_
request
to
Hash128
to
Hash256
to
Hash512
to
Hash64
to
Hex
to
Key
use
Binary
Library
Constructors
constructor
new
Ton
Client
(
config
?:
ClientConfig
)
:
TonClient
Parameters
Optional
config:
ClientConfig
Returns
TonClient
Properties
Readonly
abi
abi
:
AbiModule
Readonly
boc
boc
:
BocModule
Readonly
client
client
:
ClientModule
Private
Readonly
config
config
:
ClientConfig
Private
context
context
:
undefined
|
number
= undefined
Private
context
Creation
context
Creation
:
undefined
|
ContextPromise
[]
= undefined
Private
context
Error
context
Error
:
undefined
|
Error
= undefined
Readonly
crypto
crypto
:
CryptoModule
Readonly
net
net
:
NetModule
Readonly
processing
processing
:
ProcessingModule
Readonly
proofs
proofs
:
ProofsModule
Readonly
tvm
tvm
:
TvmModule
Readonly
utils
utils
:
UtilsModule
Static
Private
_default
_default
:
null
|
TonClient
= null
Static
Private
_default
Config
_default
Config
:
ClientConfig
= {}
Accessors
Static
default
get
default
(
)
:
TonClient
set
default
(
client
:
TonClient
)
:
void
Returns
TonClient
Parameters
client:
TonClient
Returns
void
Static
default
Config
get
defaultConfig
(
)
:
ClientConfig
set
defaultConfig
(
config
:
ClientConfig
)
:
void
Returns
ClientConfig
Parameters
config:
ClientConfig
Returns
void
Methods
close
close
(
)
:
void
Returns
void
Private
context
Required
context
Required
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
Private
context
Required
Sync
context
Required
Sync
(
)
:
number
Returns
number
Private
get
Client
Config
get
Client
Config
(
libName
:
string
)
:
ClientConfig
Parameters
libName:
string
Returns
ClientConfig
reject_
app_
request
reject_
app_
request
(
app_request_id
:
null
|
number
, error
:
any
)
:
Promise
<
void
>
Parameters
app_request_id:
null
|
number
error:
any
Returns
Promise
<
void
>
request
request
(
functionName
:
string
, functionParams
:
any
, responseHandler
?:
ResponseHandler
)
:
Promise
<
any
>
Parameters
functionName:
string
functionParams:
any
Optional
responseHandler:
ResponseHandler
Returns
Promise
<
any
>
request
Sync
request
Sync
(
functionName
:
string
, functionParams
:
any
)
:
any
Parameters
functionName:
string
functionParams:
any
Returns
any
Private
resolve
Api
Error
resolve
Api
Error
(
api
:
any
, functionName
:
string
, params
:
any
, err
:
TonClientError
)
:
TonClientError
Parameters
api:
any
functionName:
string
params:
any
err:
TonClientError
Returns
TonClientError
resolve
Error
resolve
Error
(
functionName
:
string
, params
:
any
, err
:
TonClientError
)
:
Promise
<
TonClientError
>
Parameters
functionName:
string
params:
any
err:
TonClientError
Returns
Promise
<
TonClientError
>
resolve
Error
Sync
resolve
Error
Sync
(
functionName
:
string
, params
:
any
, err
:
TonClientError
)
:
TonClientError
Parameters
functionName:
string
params:
any
err:
TonClientError
Returns
TonClientError
resolve_
app_
request
resolve_
app_
request
(
app_request_id
:
null
|
number
, result
:
any
)
:
Promise
<
void
>
Parameters
app_request_id:
null
|
number
result:
any
Returns
Promise
<
void
>
Static
to
Hash128
to
Hash128
(
d
:
string
)
:
string
Parameters
d:
string
Returns
string
Static
to
Hash256
to
Hash256
(
d
:
string
)
:
string
Parameters
d:
string
Returns
string
Static
to
Hash512
to
Hash512
(
d
:
string
)
:
string
Parameters
d:
string
Returns
string
Static
to
Hash64
to
Hash64
(
d
:
string
)
:
string
Parameters
d:
string
Returns
string
Static
to
Hex
to
Hex
(
dec
:
string
, bits
?:
number
)
:
string
Parameters
dec:
string
bits:
number
= 0
Returns
string
Static
to
Key
to
Key
(
d
:
string
)
:
string
Parameters
d:
string
Returns
string
Static
use
Binary
Library
use
Binary
Library
(
loader
:
(
(
)
=>
Promise
<
BinaryLibrary
>
)
)
:
void
Parameters
loader:
(
(
)
=>
Promise
<
BinaryLibrary
>
)
(
)
:
Promise
<
BinaryLibrary
>
Returns
Promise
<
BinaryLibrary
>
Returns
void
Exports
Ton
Client
constructor
abi
boc
client
config
context
context
Creation
context
Error
crypto
net
processing
proofs
tvm
utils
_default
_default
Config
default
default
Config
close
context
Required
context
Required
Sync
get
Client
Config
reject_
app_
request
request
request
Sync
resolve
Api
Error
resolve
Error
resolve
Error
Sync
resolve_
app_
request
to
Hash128
to
Hash256
to
Hash512
to
Hash64
to
Hex
to
Key
use
Binary
Library
Generated using
TypeDoc