KTHULU DOCS
Search
K
Comment on page

NFT 숨김

개요

NFT 조회 시, 조회하지 않을 NFT를 설정할 수 있습니다.

숨김 상태 정보는 데이터베이스 숨김 테이블에 저장되어 NFT 조회 시에 활용됩니다.

Android
iOS
Web

Parameters

이름
타입
설명
참조
network
String
네트워크
required
account
String
계정
required
collection_id
String
컬렉션 아이디
required
token_id
String
NFT 토큰 아이디
required

Response

object
이름
타입
설명
result
String
숨김 성공여부("OK", "FAIL")

Example

// parameters
val network = "polygon"
val account = "0x..."
val collection_id = "0x..."
val token_id = "2"
//숨김처리
val insertNFTHide = setNFTsHide(network,
account,
collection_id,
token_id)
//숨김취소
val deleteNFTHide = deleteNFTsHide(network,
account,
collection_id,
token_id)
println(insertNFTHide)
println(deleteNFTHide)
// result log
/*
{
"result" : "OK"
}
*/

Parameters

이름
타입
설명
참조
network
String
네트워크
required
account
String
계정
required
collection_id
String
컬렉션 아이디
required
token_id
String
NFT 토큰 아이디
required

Response

object
이름
타입
설명
result
String
숨김 성공여부("OK", "FAIL")

Example

// parameters
let network = "polygon"
let account = "0x..."
let collection_id = "0x..."
let token_id = "2"
//숨김처리
let insertNFTHide = try await setNFTsHide(network: network,
account: account,
collection_id: collection_id,
token_id: token_id)
//숨김취소
let deleteNFTHide = try await deleteNFTsHide(network: network,
account: account,
collection_id: collection_id,
token_id: token_id)
print(insertNFTHide)
print(deleteNFTHide)
// result log
/*
{
"result" : "OK"
}
*/