network
String
네트워크
required
account
계정
collection_id
컬렉션 아이디
token_id
NFT 토큰 아이디
object
result
숨김 성공여부("OK", "FAIL")
// 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 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" } */
Last updated 1 year ago