TokenContractApi

TokenContractApi

new TokenContractApi()

Version:
  • 1.0

TokenContract service.

Methods

getFtContractDetail(callback)

Get data of a certain FT contract Fetch the FT contract information of a given address

Parameters:
Name Type Description
callback TokenContractApi~getFtContractDetailCallback

The callback function, accepting three arguments: error, data, response data is of type: FtContractDetail

getListOfMtContracts(opts, callback)

Query list of MT contract data Fetch data of labelled MTs for all contracts.<p></p> ## Size<p></p> * The query parameter `size` is optional. (Min = 1, Max = 1000, Default = 100)<br> * Returns an error when given a negative number<br> * Uses default (`size=100`) when given a 0<br> * Uses the maximum value (`size=1000`) when given a value higher than 1000<br>

Parameters:
Name Type Description
opts Object

Optional parameters

callback TokenContractApi~getListOfMtContractsCallback

The callback function, accepting three arguments: error, data, response data is of type: PageableMtContractDetails

getListOfNftContracts(opts, callback)

Query list of all NFT contract data Fetch data of all labelled NFT contracts.<p></p> ## Size<p></p> * The query parameter `size` is optional. (Min = 1, Max = 1000, Default = 100)<br> * Returns an error when given a negative number<br> * Uses default (`size=100`) when given a 0<br> * Uses the maximum value (`size=1000`) when given a value higher than 1000<br>

Parameters:
Name Type Description
opts Object

Optional parameters

callback TokenContractApi~getListOfNftContractsCallback

The callback function, accepting three arguments: error, data, response data is of type: PageableNftContractDetails

getListofFtContracts(opts, callback)

Query all FT contract data Fetch data of all labelled FT contracts.<p></p> ## Size<p></p> * The query parameter `size` is optional. (Min = 1, Max = 1000, Default = 100)<br> * Returns an error when given a negative number<br> * Uses default (`size=100`) when given a 0<br> * Uses the maximum value (`size=1000`) when given a value higher than 1000<br>

Parameters:
Name Type Description
opts Object

Optional parameters

callback TokenContractApi~getListofFtContractsCallback

The callback function, accepting three arguments: error, data, response data is of type: PageableFtContractDetails

getMtContractDetail(callback)

Get data of a certain MT contract Fetch data of labelled MTs for a certain contract.

Parameters:
Name Type Description
callback TokenContractApi~getMtContractDetailCallback

The callback function, accepting three arguments: error, data, response data is of type: MtContractDetail

getNftContractDetail(callback)

Get data of certain NFT contracts Fetch data of labelled NFTs for a certain contract.

Parameters:
Name Type Description
callback TokenContractApi~getNftContractDetailCallback

The callback function, accepting three arguments: error, data, response data is of type: NftContractDetail

Type Definitions

getFtContractDetailCallback(error, data, response)

Callback function to receive the result of the getFtContractDetail operation.

Parameters:
Name Type Description
error String

Error message, if any.

data FtContractDetail

The data returned by the service call.

response String

The complete HTTP response.

getListOfMtContractsCallback(error, data, response)

Callback function to receive the result of the getListOfMtContracts operation.

Parameters:
Name Type Description
error String

Error message, if any.

data PageableMtContractDetails

The data returned by the service call.

response String

The complete HTTP response.

getListOfNftContractsCallback(error, data, response)

Callback function to receive the result of the getListOfNftContracts operation.

Parameters:
Name Type Description
error String

Error message, if any.

data PageableNftContractDetails

The data returned by the service call.

response String

The complete HTTP response.

getListofFtContractsCallback(error, data, response)

Callback function to receive the result of the getListofFtContracts operation.

Parameters:
Name Type Description
error String

Error message, if any.

data PageableFtContractDetails

The data returned by the service call.

response String

The complete HTTP response.

getMtContractDetailCallback(error, data, response)

Callback function to receive the result of the getMtContractDetail operation.

Parameters:
Name Type Description
error String

Error message, if any.

data MtContractDetail

The data returned by the service call.

response String

The complete HTTP response.

getNftContractDetailCallback(error, data, response)

Callback function to receive the result of the getNftContractDetail operation.

Parameters:
Name Type Description
error String

Error message, if any.

data NftContractDetail

The data returned by the service call.

response String

The complete HTTP response.

TokenContractApi

new TokenContractApi(apiClientopt)

Constructs a new TokenContractApi.

Parameters:
Name Type Attributes Description
apiClient ApiClient <optional>

Optional API client implementation to use, default to ApiClient#instance if unspecified.

Methods

getFtContractDetail(callback)

Get data of a certain FT contract Fetch the FT contract information of a given address

Parameters:
Name Type Description
callback TokenContractApi~getFtContractDetailCallback

The callback function, accepting three arguments: error, data, response data is of type: FtContractDetail

getListOfMtContracts(opts, callback)

Query list of MT contract data Fetch data of labelled MTs for all contracts.<p></p> ## Size<p></p> * The query parameter `size` is optional. (Min = 1, Max = 1000, Default = 100)<br> * Returns an error when given a negative number<br> * Uses default (`size=100`) when given a 0<br> * Uses the maximum value (`size=1000`) when given a value higher than 1000<br>

Parameters:
Name Type Description
opts Object

Optional parameters

callback TokenContractApi~getListOfMtContractsCallback

The callback function, accepting three arguments: error, data, response data is of type: PageableMtContractDetails

getListOfNftContracts(opts, callback)

Query list of all NFT contract data Fetch data of all labelled NFT contracts.<p></p> ## Size<p></p> * The query parameter `size` is optional. (Min = 1, Max = 1000, Default = 100)<br> * Returns an error when given a negative number<br> * Uses default (`size=100`) when given a 0<br> * Uses the maximum value (`size=1000`) when given a value higher than 1000<br>

Parameters:
Name Type Description
opts Object

Optional parameters

callback TokenContractApi~getListOfNftContractsCallback

The callback function, accepting three arguments: error, data, response data is of type: PageableNftContractDetails

getListofFtContracts(opts, callback)

Query all FT contract data Fetch data of all labelled FT contracts.<p></p> ## Size<p></p> * The query parameter `size` is optional. (Min = 1, Max = 1000, Default = 100)<br> * Returns an error when given a negative number<br> * Uses default (`size=100`) when given a 0<br> * Uses the maximum value (`size=1000`) when given a value higher than 1000<br>

Parameters:
Name Type Description
opts Object

Optional parameters

callback TokenContractApi~getListofFtContractsCallback

The callback function, accepting three arguments: error, data, response data is of type: PageableFtContractDetails

getMtContractDetail(callback)

Get data of a certain MT contract Fetch data of labelled MTs for a certain contract.

Parameters:
Name Type Description
callback TokenContractApi~getMtContractDetailCallback

The callback function, accepting three arguments: error, data, response data is of type: MtContractDetail

getNftContractDetail(callback)

Get data of certain NFT contracts Fetch data of labelled NFTs for a certain contract.

Parameters:
Name Type Description
callback TokenContractApi~getNftContractDetailCallback

The callback function, accepting three arguments: error, data, response data is of type: NftContractDetail

Type Definitions

getFtContractDetailCallback(error, data, response)

Callback function to receive the result of the getFtContractDetail operation.

Parameters:
Name Type Description
error String

Error message, if any.

data FtContractDetail

The data returned by the service call.

response String

The complete HTTP response.

getListOfMtContractsCallback(error, data, response)

Callback function to receive the result of the getListOfMtContracts operation.

Parameters:
Name Type Description
error String

Error message, if any.

data PageableMtContractDetails

The data returned by the service call.

response String

The complete HTTP response.

getListOfNftContractsCallback(error, data, response)

Callback function to receive the result of the getListOfNftContracts operation.

Parameters:
Name Type Description
error String

Error message, if any.

data PageableNftContractDetails

The data returned by the service call.

response String

The complete HTTP response.

getListofFtContractsCallback(error, data, response)

Callback function to receive the result of the getListofFtContracts operation.

Parameters:
Name Type Description
error String

Error message, if any.

data PageableFtContractDetails

The data returned by the service call.

response String

The complete HTTP response.

getMtContractDetailCallback(error, data, response)

Callback function to receive the result of the getMtContractDetail operation.

Parameters:
Name Type Description
error String

Error message, if any.

data MtContractDetail

The data returned by the service call.

response String

The complete HTTP response.

getNftContractDetailCallback(error, data, response)

Callback function to receive the result of the getNftContractDetail operation.

Parameters:
Name Type Description
error String

Error message, if any.

data NftContractDetail

The data returned by the service call.

response String

The complete HTTP response.