public class TokenHistoryApi
extends java.lang.Object
Constructor and Description |
---|
TokenHistoryApi() |
TokenHistoryApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
PageableTransfers |
getTransfers(java.lang.String xChainId,
java.lang.String presets,
java.lang.String kind,
java.lang.String range,
java.lang.Long size,
java.lang.String cursor)
Search for Token Transfer History
Search for integrated transfer details.
|
com.squareup.okhttp.Call |
getTransfersAsync(java.lang.String xChainId,
java.lang.String presets,
java.lang.String kind,
java.lang.String range,
java.lang.Long size,
java.lang.String cursor,
ApiCallback<PageableTransfers> callback)
Search for Token Transfer History (asynchronously)
Search for integrated transfer details.
|
PageableTransfers |
getTransfersByEoa(java.lang.String xChainId,
java.lang.String address,
java.lang.String kind,
java.lang.String caFilter,
java.lang.String range,
java.lang.Long size,
java.lang.String cursor)
Search for Token Transfer History with EOA
Search for token transfer details of a specific EOA.
|
com.squareup.okhttp.Call |
getTransfersByEoaAsync(java.lang.String xChainId,
java.lang.String address,
java.lang.String kind,
java.lang.String caFilter,
java.lang.String range,
java.lang.Long size,
java.lang.String cursor,
ApiCallback<PageableTransfers> callback)
Search for Token Transfer History with EOA (asynchronously)
Search for token transfer details of a specific EOA.
|
com.squareup.okhttp.Call |
getTransfersByEoaCall(java.lang.String xChainId,
java.lang.String address,
java.lang.String kind,
java.lang.String caFilter,
java.lang.String range,
java.lang.Long size,
java.lang.String cursor,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getTransfersByEoa
|
ApiResponse<PageableTransfers> |
getTransfersByEoaWithHttpInfo(java.lang.String xChainId,
java.lang.String address,
java.lang.String kind,
java.lang.String caFilter,
java.lang.String range,
java.lang.Long size,
java.lang.String cursor)
Search for Token Transfer History with EOA
Search for token transfer details of a specific EOA.
|
Transfers |
getTransfersByTxHash(java.lang.String xChainId,
java.lang.String transactionHash)
Search for Token Transfer History with a Transaction Hash
Search for transfer details with a transaction hash.
|
com.squareup.okhttp.Call |
getTransfersByTxHashAsync(java.lang.String xChainId,
java.lang.String transactionHash,
ApiCallback<Transfers> callback)
Search for Token Transfer History with a Transaction Hash (asynchronously)
Search for transfer details with a transaction hash.
|
com.squareup.okhttp.Call |
getTransfersByTxHashCall(java.lang.String xChainId,
java.lang.String transactionHash,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getTransfersByTxHash
|
ApiResponse<Transfers> |
getTransfersByTxHashWithHttpInfo(java.lang.String xChainId,
java.lang.String transactionHash)
Search for Token Transfer History with a Transaction Hash
Search for transfer details with a transaction hash.
|
com.squareup.okhttp.Call |
getTransfersCall(java.lang.String xChainId,
java.lang.String presets,
java.lang.String kind,
java.lang.String range,
java.lang.Long size,
java.lang.String cursor,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getTransfers
|
ApiResponse<PageableTransfers> |
getTransfersWithHttpInfo(java.lang.String xChainId,
java.lang.String presets,
java.lang.String kind,
java.lang.String range,
java.lang.Long size,
java.lang.String cursor)
Search for Token Transfer History
Search for integrated transfer details.
|
void |
setApiClient(ApiClient apiClient) |
public TokenHistoryApi()
public TokenHistoryApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getTransfersCall(java.lang.String xChainId, java.lang.String presets, java.lang.String kind, java.lang.String range, java.lang.Long size, java.lang.String cursor, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn network chain ID (1001 or 8217) (required)presets
- (csv) Preset IDs to use in search, check Preset IDs in KSA Console (required)kind
- (csv) Indicate the [“klay”, “ft”, “nft”, \"mt\"] type. All types will be searched if no type is specified. (optional)range
- Search range (block number of Unix time) (optional)size
- Maximum number of items to retrieve (min=1, max=1000, default=100) (optional)cursor
- Response offset (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic PageableTransfers getTransfers(java.lang.String xChainId, java.lang.String presets, java.lang.String kind, java.lang.String range, java.lang.Long size, java.lang.String cursor) throws ApiException
xChainId
- Klaytn network chain ID (1001 or 8217) (required)presets
- (csv) Preset IDs to use in search, check Preset IDs in KSA Console (required)kind
- (csv) Indicate the [“klay”, “ft”, “nft”, \"mt\"] type. All types will be searched if no type is specified. (optional)range
- Search range (block number of Unix time) (optional)size
- Maximum number of items to retrieve (min=1, max=1000, default=100) (optional)cursor
- Response offset (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PageableTransfers> getTransfersWithHttpInfo(java.lang.String xChainId, java.lang.String presets, java.lang.String kind, java.lang.String range, java.lang.Long size, java.lang.String cursor) throws ApiException
xChainId
- Klaytn network chain ID (1001 or 8217) (required)presets
- (csv) Preset IDs to use in search, check Preset IDs in KSA Console (required)kind
- (csv) Indicate the [“klay”, “ft”, “nft”, \"mt\"] type. All types will be searched if no type is specified. (optional)range
- Search range (block number of Unix time) (optional)size
- Maximum number of items to retrieve (min=1, max=1000, default=100) (optional)cursor
- Response offset (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getTransfersAsync(java.lang.String xChainId, java.lang.String presets, java.lang.String kind, java.lang.String range, java.lang.Long size, java.lang.String cursor, ApiCallback<PageableTransfers> callback) throws ApiException
xChainId
- Klaytn network chain ID (1001 or 8217) (required)presets
- (csv) Preset IDs to use in search, check Preset IDs in KSA Console (required)kind
- (csv) Indicate the [“klay”, “ft”, “nft”, \"mt\"] type. All types will be searched if no type is specified. (optional)range
- Search range (block number of Unix time) (optional)size
- Maximum number of items to retrieve (min=1, max=1000, default=100) (optional)cursor
- Response offset (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getTransfersByEoaCall(java.lang.String xChainId, java.lang.String address, java.lang.String kind, java.lang.String caFilter, java.lang.String range, java.lang.Long size, java.lang.String cursor, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- EOA to search, the response only contains transfer details where each transfer detail's `from` or `to` is equal to `address` (required)kind
- (csv) Indicate the [“klay”, “ft”, “nft”, \"mt\"] type. All types will be searched if no type is specified. (optional)caFilter
- FT/NFT contract address to filter from the result. If set, the response only contains FT/NFT transfer details with the matching address specified in `ca-filter`. (optional)range
- Search range (block number of Unix time) (optional)size
- Maximum number of items to retrieve (min=1, max=1000, default=100) (optional)cursor
- Response offset (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic PageableTransfers getTransfersByEoa(java.lang.String xChainId, java.lang.String address, java.lang.String kind, java.lang.String caFilter, java.lang.String range, java.lang.Long size, java.lang.String cursor) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- EOA to search, the response only contains transfer details where each transfer detail's `from` or `to` is equal to `address` (required)kind
- (csv) Indicate the [“klay”, “ft”, “nft”, \"mt\"] type. All types will be searched if no type is specified. (optional)caFilter
- FT/NFT contract address to filter from the result. If set, the response only contains FT/NFT transfer details with the matching address specified in `ca-filter`. (optional)range
- Search range (block number of Unix time) (optional)size
- Maximum number of items to retrieve (min=1, max=1000, default=100) (optional)cursor
- Response offset (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PageableTransfers> getTransfersByEoaWithHttpInfo(java.lang.String xChainId, java.lang.String address, java.lang.String kind, java.lang.String caFilter, java.lang.String range, java.lang.Long size, java.lang.String cursor) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- EOA to search, the response only contains transfer details where each transfer detail's `from` or `to` is equal to `address` (required)kind
- (csv) Indicate the [“klay”, “ft”, “nft”, \"mt\"] type. All types will be searched if no type is specified. (optional)caFilter
- FT/NFT contract address to filter from the result. If set, the response only contains FT/NFT transfer details with the matching address specified in `ca-filter`. (optional)range
- Search range (block number of Unix time) (optional)size
- Maximum number of items to retrieve (min=1, max=1000, default=100) (optional)cursor
- Response offset (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getTransfersByEoaAsync(java.lang.String xChainId, java.lang.String address, java.lang.String kind, java.lang.String caFilter, java.lang.String range, java.lang.Long size, java.lang.String cursor, ApiCallback<PageableTransfers> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- EOA to search, the response only contains transfer details where each transfer detail's `from` or `to` is equal to `address` (required)kind
- (csv) Indicate the [“klay”, “ft”, “nft”, \"mt\"] type. All types will be searched if no type is specified. (optional)caFilter
- FT/NFT contract address to filter from the result. If set, the response only contains FT/NFT transfer details with the matching address specified in `ca-filter`. (optional)range
- Search range (block number of Unix time) (optional)size
- Maximum number of items to retrieve (min=1, max=1000, default=100) (optional)cursor
- Response offset (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getTransfersByTxHashCall(java.lang.String xChainId, java.lang.String transactionHash, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn network chain ID (1001 or 8217) (required)transactionHash
- Transaction hash to search (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Transfers getTransfersByTxHash(java.lang.String xChainId, java.lang.String transactionHash) throws ApiException
xChainId
- Klaytn network chain ID (1001 or 8217) (required)transactionHash
- Transaction hash to search (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Transfers> getTransfersByTxHashWithHttpInfo(java.lang.String xChainId, java.lang.String transactionHash) throws ApiException
xChainId
- Klaytn network chain ID (1001 or 8217) (required)transactionHash
- Transaction hash to search (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getTransfersByTxHashAsync(java.lang.String xChainId, java.lang.String transactionHash, ApiCallback<Transfers> callback) throws ApiException
xChainId
- Klaytn network chain ID (1001 or 8217) (required)transactionHash
- Transaction hash to search (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body object