new TokenOwnershipApi()
- Version:
- 1.0
TokenOwnership service.
Methods
getListOfNftOwnershipChanges(xChainId, nftAddress, tokenId, opts, callback)
getListOfNftOwnershipChanges Search for the ownership change history of a specific NFT.
## Size * Thesize
query parameter is optional (minimum = 1, maximum = 1000, default = 100).* Submitting negative values result in errors.
* Submitting zero results in a query with
size=100
, which is the default value.* Submitting values greater than 1000 result in queries with
size=1000
, which is the maximum value.Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
xChainId |
String | Klaytn network chain ID (1001 or 8217) |
|||||||||
nftAddress |
String | NFT contract address |
|||||||||
tokenId |
String | NFT ID (HEX) |
|||||||||
opts |
Object | Optional parameters Properties
|
|||||||||
callback |
TokenOwnershipApi~getListOfNftOwnershipChangesCallback | The callback function, accepting three arguments: error, data, response data is of type: PageableNftOwnershipChanges |
Type Definitions
getListOfNftOwnershipChangesCallback(error, data, response)
Callback function to receive the result of the getListOfNftOwnershipChanges operation.
Parameters:
Name | Type | Description |
---|---|---|
error |
String | Error message, if any. |
data |
PageableNftOwnershipChanges | The data returned by the service call. |
response |
String | The complete HTTP response. |