Class: Transact
The Transact contains methods used for sending transactions and
checking on the state of submitted transactions.
Do not call this constructor directly. Instead, instantiate an TONX API object
with const tonfura = new Tonfura(config)
and then access the transact via tonfura.transact
.
Table of contents
Methods
Methods
sendBoc
▸ sendBoc(boc
): Promise
<AxiosResponse
<JsonRpcResponse
<ReturnSendBoc
>, any
>>
Send serialized boc file: fully packed and serialized external message to blockchain.
Parameters
Name | Type |
---|---|
boc | string |
Returns
Promise
<AxiosResponse
<JsonRpcResponse
<ReturnSendBoc
>, any
>>
Defined in
sendBocReturnHash
▸ sendBocReturnHash(boc
): Promise
<AxiosResponse
<JsonRpcResponse
<ReturnSendBoc
>, any
>>
Send serialized boc file: fully packed and serialized external message to blockchain. The method returns message hash.
Parameters
Name | Type |
---|---|
boc | string |
Returns
Promise
<AxiosResponse
<JsonRpcResponse
<ReturnSendBoc
>, any
>>