src/rest-client/src/kip17/api/KIP17Api.js
/**
     * Mints KIP-17 contract token
     * Mints a new token on the given KIP-17 contract. Contract address or alias are available to target the contract. Do not mint tokens to accounts out of the KAS account pool. All APIs of KIP-17 allow processes only with accounts in the KAS account pool.&lt;p&gt;&lt;/p&gt;
     * @param {Object} opts Optional parameters
     * @param {KIP17Api~mintTokenCallback} callback The callback function, accepting three arguments: error, data, response
     * data is of type: {@link Kip17TransactionStatusResponse}
     */
Mints KIP-17 contract token
Mints a new token on the given KIP-17 contract. Contract address or alias are available to target the contract. Do not mint tokens to accounts out of the KAS account pool. All APIs of KIP-17 allow processes only with accounts in the KAS account pool.<p></p>
@param {Object} opts Optional parameters
@param {KIP17Api~mintTokenCallback} callback The callback function, accepting three arguments: error, data, response
data is of type:  Kip17TransactionStatusResponse
Mints KIP - 17 contract token Mints a new token on the given KIP - 17 contract . Contract address or alias are available to target the contract . Do not mint tokens to accounts out of the KAS account pool . All APIs of KIP - 17 allow processes only with accounts in the KAS account pool . <p > < / p > @param { Object } opts Optional parameters @param { KIP17Api~mintTokenCallback } callback The callback function accepting three arguments : error data response data is of type : Kip17TransactionStatusResponse
mintToken(xChainId, contractAddressOrAlias, opts, callback) {
        opts = opts || {}
        const postBody = opts.body
        const pathParams = {
            'contract-address-or-alias': contractAddressOrAlias,
        }
        const queryParams = {}
        const headerParams = {
            'x-chain-id': xChainId,
        }
        const formParams = {}
        const authNames = ['basic']
        const contentTypes = ['application/json']
        const accepts = ['application/json']
        const returnType = Kip17TransactionStatusResponse
        return this.apiClient.callApi(
            '/v1/contract/{contract-address-or-alias}/token',
            'POST',
            pathParams,
            queryParams,
            headerParams,
            formParams,
            postBody,
            authNames,
            contentTypes,
            accepts,
            returnType,
            callback
        )
    }
mintToken ( xChainId , contractAddressOrAlias , opts , callback ) { opts = opts || { } const postBody = opts . body const pathParams = { 'contract-address-or-alias' : contractAddressOrAlias , } const queryParams = { } const headerParams = { 'x-chain-id' : xChainId , } const formParams = { } const authNames = [ 'basic' ] const contentTypes = [ 'application/json' ] const accepts = [ 'application/json' ] const returnType = Kip17TransactionStatusResponse return this . apiClient . callApi ( '/v1/contract/{contract-address-or-alias}/token' , 'POST' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType , callback ) }
Mints KIP-17 contract token
 Mints a new token on the given KIP-17 contract.
Mints KIP - 17 contract token Mints a new token on the given KIP - 17 contract .