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

NameType
bocstring

Returns

Promise<AxiosResponse<JsonRpcResponse<ReturnSendBoc>, any>>

Defined in

api/Transact.ts:22


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

NameType
bocstring

Returns

Promise<AxiosResponse<JsonRpcResponse<ReturnSendBoc>, any>>

Defined in

api/Transact.ts:36