NFT 숨김 조회

개요

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

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

Parameters

이름타입설명참조

network

Array<String>

네트워크

required

account

Array<String>

계정

required

Response

object

이름타입설명

result

String

숨김 성공여부("OK", "FAIL")

sum

String

호출 결과 카운터

sort

String

정렬

page_count

int

페이지 수

value (array of object)

이름타입설명

network

String

네트워크

account

String

소유자 계정

collection_id

String

컬렉션 아이디

token_id

String

NFT 토큰 아이디

image

String

NFT 토큰 이미지

name

String

NFT 토큰 이름

Example

// parameters
val network = arrayOf("ethereum", "cypress", "polygon" ,"bnb")
val account = arrayOf("0x...", "0x...")
val getNFTHide = getNFTsHide(network, account)
println(getNFTHide)

// result log
/*
  {
    "result": "OK",
    "sum": 3,
    "sort": "desc",
    "page_count": 0,
    "value": [
      {
        "network": "polygon",
        "account": "0x...",
        "collection_id": "0x...",
        "token_id": "4",
        "image": "https://kthulu.io/1.png",
        "name": "KTHULU"
      },
      {
        "network": "polygon",
        "account": "0x...",
        "collection_id": "0x...",
        "token_id": "4",
        "image": "https://kthulu.io/1.png",
        "name": "KTHULU"
      }
    ]
  }
*/

Last updated