src/rest-client/src/kip7/api/KIP7Api.js
/**
     * Deploy KIP-7 contract
     * Deploys a standard KIP-7 contract based on the data provided. The contract will be deployed via the default contract management account. You cannot change the deployer.   You can retrieve the default contract management accounts via [/v1/deployer/default](#operation/GetDefaultDeployer).   Your &#x60;alias&#x60; must only contain lowercase alphabets, numbers and hyphens and begin with an alphabet. &lt;p&gt;&lt;/p&gt;
     * @param {Object} opts Optional parameters
     * @param {KIP7Api~deployContractCallback} callback The callback function, accepting three arguments: error, data, response
     * data is of type: {@link Kip7TransactionStatusResponse}
     */
Deploy KIP-7 contract
Deploys a standard KIP-7 contract based on the data provided. The contract will be deployed via the default contract management account. You cannot change the deployer.   You can retrieve the default contract management accounts via [/v1/deployer/default](#operation/GetDefaultDeployer).   Your `alias` must only contain lowercase alphabets, numbers and hyphens and begin with an alphabet. <p></p>
@param {Object} opts Optional parameters
@param {KIP7Api~deployContractCallback} callback The callback function, accepting three arguments: error, data, response
data is of type:  Kip7TransactionStatusResponse
Deploy KIP - 7 contract Deploys a standard KIP - 7 contract based on the data provided . The contract will be deployed via the default contract management account . You cannot change the deployer . You can retrieve the default contract management accounts via [ / v1 / deployer / default ] ( #operation / GetDefaultDeployer ) . Your ` alias ` must only contain lowercase alphabets numbers and hyphens and begin with an alphabet . <p > < / p > @param { Object } opts Optional parameters @param { KIP7Api~deployContractCallback } callback The callback function accepting three arguments : error data response data is of type : Kip7TransactionStatusResponse
deployContract(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 = Kip7TransactionStatusResponse
        return this.apiClient.callApi(
            '/v1/contract',
            'POST',
            pathParams,
            queryParams,
            headerParams,
            formParams,
            postBody,
            authNames,
            contentTypes,
            accepts,
            returnType,
            callback
        )
    }
deployContract ( 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 = Kip7TransactionStatusResponse return this . apiClient . callApi ( '/v1/contract' , 'POST' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType , callback ) }
Deploy KIP-7 contract
 Deploys a standard KIP-7 contract based on the data provided.
Deploy KIP - 7 contract Deploys a standard KIP - 7 contract based on the data provided .