Kip37TokenOwnershipApi

Kip37TokenOwnershipApi

new Kip37TokenOwnershipApi()

Version:
  • 1.0

Kip37TokenOwnership service.

Methods

getTokensByOwner(opts, callback)

Get KIP-37 Token List of an Account Returns a list of tokens owned by a certain account.

Parameters:
Name Type Description
opts Object

Optional parameters

callback Kip37TokenOwnershipApi~getTokensByOwnerCallback

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

Type Definitions

getTokensByOwnerCallback(error, data, response)

Callback function to receive the result of the getTokensByOwner operation.

Parameters:
Name Type Description
error String

Error message, if any.

data Kip37TokenListResponse

The data returned by the service call.

response String

The complete HTTP response.

Kip37TokenOwnershipApi

new Kip37TokenOwnershipApi(apiClientopt)

Constructs a new Kip37TokenOwnershipApi.

Parameters:
Name Type Attributes Description
apiClient ApiClient <optional>

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

Methods

getTokensByOwner(opts, callback)

Get KIP-37 Token List of an Account Returns a list of tokens owned by a certain account.

Parameters:
Name Type Description
opts Object

Optional parameters

callback Kip37TokenOwnershipApi~getTokensByOwnerCallback

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

Type Definitions

getTokensByOwnerCallback(error, data, response)

Callback function to receive the result of the getTokensByOwner operation.

Parameters:
Name Type Description
error String

Error message, if any.

data Kip37TokenListResponse

The data returned by the service call.

response String

The complete HTTP response.