src/rest-client/src/anchor/api/DataAnchoringTransactionApi.js
/**
     * Create an anchoring transaction
     * Use for anchoring blockchain data. It creates and manages anchoring transactions by the operator set on the KAS console. For successful anchoring through operator or user&#x27;s feepayer, a balance of 10 times more than the fee needed  is required.
     * @param {Object} opts Optional parameters
     * @param {DataAnchoringTransactionApi~anchorBlockCallback} callback The callback function, accepting three arguments: error, data, response
     * data is of type: {@link AnchorBlockStatus}
     */
Create an anchoring transaction
Use for anchoring blockchain data. It creates and manages anchoring transactions by the operator set on the KAS console. For successful anchoring through operator or user's feepayer, a balance of 10 times more than the fee needed  is required.
@param {Object} opts Optional parameters
@param {DataAnchoringTransactionApi~anchorBlockCallback} callback The callback function, accepting three arguments: error, data, response
data is of type:  AnchorBlockStatus
Create an anchoring transaction Use for anchoring blockchain data . It creates and manages anchoring transactions by the operator set on the KAS console . For successful anchoring through operator or user ' s feepayer a balance of 10 times more than the fee needed is required . @param { Object } opts Optional parameters @param { DataAnchoringTransactionApi~anchorBlockCallback } callback The callback function accepting three arguments : error data response data is of type : AnchorBlockStatus
anchorBlock(xChainId, opts, callback) {
        opts = opts || {}
        const postBody = opts.body
        const pathParams = {}
        const queryParams = {}
        const headerParams = {
            'x-chain-id': xChainId,
        }
        const formParams = {}
        const authNames = ['basic']
        const contentTypes = ['application/json']
        const accepts = ['application/json']
        const returnType = AnchorBlockStatus
        return this.apiClient.callApi(
            '/v1/anchor',
            'POST',
            pathParams,
            queryParams,
            headerParams,
            formParams,
            postBody,
            authNames,
            contentTypes,
            accepts,
            returnType,
            callback
        )
    }
anchorBlock ( xChainId , opts , callback ) { opts = opts || { } const postBody = opts . body const pathParams = { } const queryParams = { } const headerParams = { 'x-chain-id' : xChainId , } const formParams = { } const authNames = [ 'basic' ] const contentTypes = [ 'application/json' ] const accepts = [ 'application/json' ] const returnType = AnchorBlockStatus return this . apiClient . callApi ( '/v1/anchor' , 'POST' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType , callback ) }
Create an anchoring transaction
 Use for anchoring blockchain data.
Create an anchoring transaction Use for anchoring blockchain data .