src/rest-client/src/kip17/api/KIP17Api.js
/**
     * Query the list of tokens minted by a KIP-17 contract
     * Queries the list of all tokens minted with a specific KIP-17 contract. Select the contract address or alias to query.&lt;p&gt;&lt;/p&gt;
     * @param {Object} opts Optional parameters
     * @param {KIP17Api~listTokensCallback} callback The callback function, accepting three arguments: error, data, response
     * data is of type: {@link Kip17TokenListResponse}
     */
Query the list of tokens minted by a KIP-17 contract
Queries the list of all tokens minted with a specific KIP-17 contract. Select the contract address or alias to query.<p></p>
@param {Object} opts Optional parameters
@param {KIP17Api~listTokensCallback} callback The callback function, accepting three arguments: error, data, response
data is of type:  Kip17TokenListResponse
Query the list of tokens minted by a KIP - 17 contract Queries the list of all tokens minted with a specific KIP - 17 contract . Select the contract address or alias to query . <p > < / p > @param { Object } opts Optional parameters @param { KIP17Api~listTokensCallback } callback The callback function accepting three arguments : error data response data is of type : Kip17TokenListResponse
listTokens(xChainId, contractAddressOrAlias, opts, callback) {
        opts = opts || {}
        const postBody = null
        const pathParams = {
            'contract-address-or-alias': contractAddressOrAlias,
        }
        const queryParams = {
            size: opts.size,
            cursor: opts.cursor,
        }
        const headerParams = {
            'x-chain-id': xChainId,
        }
        const formParams = {}
        const authNames = ['basic']
        const contentTypes = []
        const accepts = ['application/json']
        const returnType = Kip17TokenListResponse
        return this.apiClient.callApi(
            '/v1/contract/{contract-address-or-alias}/token',
            'GET',
            pathParams,
            queryParams,
            headerParams,
            formParams,
            postBody,
            authNames,
            contentTypes,
            accepts,
            returnType,
            callback
        )
    }
listTokens ( xChainId , contractAddressOrAlias , opts , callback ) { opts = opts || { } const postBody = null const pathParams = { 'contract-address-or-alias' : contractAddressOrAlias , } const queryParams = { size : opts . size , cursor : opts . cursor , } const headerParams = { 'x-chain-id' : xChainId , } const formParams = { } const authNames = [ 'basic' ] const contentTypes = [ ] const accepts = [ 'application/json' ] const returnType = Kip17TokenListResponse return this . apiClient . callApi ( '/v1/contract/{contract-address-or-alias}/token' , 'GET' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType , callback ) }
Query the list of tokens minted by a KIP-17 contract
 Queries the list of all tokens minted with a specific KIP-17 contract.
Query the list of tokens minted by a KIP - 17 contract Queries the list of all tokens minted with a specific KIP - 17 contract .