KTHULU DOCS
  • 소개
    • 크툴루 소개
    • 스캐너 소개
  • 크툴루 가이드
    • 이용 가이드
      • 다운로드 및 계정 생성
      • 컬렉션 및 NFT 조회
      • NFT 전송
      • 계정 활동
  • 크툴루 개발가이드
    • Quick Start
    • WEB, APP SDK 개발 가이드
      • 계정 생성
      • 계정 복원
      • 계정 정보 조회
      • 지갑 모드
      • 가스비 추정
      • 트랜잭션 상태 확인
      • 토큰 발행
      • 토큰 정보 조회
      • 토큰 목록 조회
      • 토큰 잔고 조회
      • 토큰 거래내역
      • 토큰 전송
      • 토큰 승인
      • 토큰 스왑
      • 토큰 브릿지
      • NFT 컬렉션 생성
      • NFT 민트 (발행)
      • NFT 다중민트 (발행)
      • NFT 조회
      • NFT 거래내역
      • NFT 총발행량
      • NFT 전송
      • NFT 다중전송
      • NFT 소각
      • NFT 숨김
      • NFT 숨김 조회
      • NFT 브릿지
      • NFT 스캠방지
    • Scanner APP SDK 개발 가이드
      • NFT 홀더인증(서명)
      • NFT 홀더인증(검증)
      • NFT 홀더인증(확인)
    • 블록체인 End-Point
      • Ethereum
      • Klaytn
      • Polygon
      • BNB
    • 블록체인 스캐너(Crawler) 로직
      • crawler_table
      • nft_collection_table
      • nft_owner_table
      • nft_token_table
      • nft_transaction_table
      • nft_hide_table
      • nodes_table
      • statistics_table
      • token_owner_table
      • token_table
      • token_transfer_table
      • users_table
      • Crawler Flow
  • 모니터링
    • 모니터링24
  • 고객센터
    • 문의 및 제안
  • 공지사항
    • 공지사항
      • Kthulu App
      • Live Scanner
      • Blockchain Node
    • 릴리즈 노트
  • 크툴루 약관
    • 개인정보처리방침
    • 서비스이용약관
  • 스캐너 약관
    • 개인정보처리방침
    • 서비스이용약관
  • 참조
    • 매뉴얼
      • Live Scanner 운영자 메뉴얼
    • SW사양서
      • Kthulu SDK
      • Live Scanner(Crawler)
Powered by GitBook
On this page
  1. 크툴루 개발가이드
  2. WEB, APP SDK 개발 가이드

NFT 다중민트 (발행)

개요

한번에 여러개의 NFT를 발행합니다. 발행된 NFT는 스마트 컨트랙트의 정의에 따라 고유한 디지털 자산으로써 블록체인에 등록됩니다. 해당 NFT의 소유권은 발행자(민터)에게 있습니다.

ERC721, ERC1155를 지원합니다.

NFT 컬렉션 생성 SDK 기능을 사용하여 생성된 컬렉션의 NFT만 민트할 수 있습니다.

Parameters

이름
타입
설명
참조

network

String

메인넷

required

collection_id

String

컬렉션 아이디

required

from

String

보내는 사람

required

to

String

받는 사람

required

start_id

String

시작 토큰 아이디

required

end_id

String

끝 토큰 아이디

required

token_id

Array<String>

토큰 아이디

if ERC1155 (required)

token_uri

Array<String>

토큰 uri

if uri_type = 2 [{tokenUri}] (required)

amount

Array<String>

발행량

if ERC1155 required

Response

이름
타입
설명

result

String

NFT 발행 성공여부("OK", "FAIL")

value (array of object)

이름
타입
설명

transaction_hash

String

트랜잭션 해시

Example

// parameters
val network = "polygon"
val collection_id = "0x..."
val from = "0x..."
val to = "0x..."
val start_id = "1111"
val end_id = "1112"
val token_id = ["1222", "1223"]
val token_uri = arrayOf("https://kthulu.io/1.json", "https://kthulu.io/2.json")
val amount = arrayOf("100", "10")
//ERC721
val batchMintERC721 = batchMintErc721Async(network,
    from,
    to,
    token_uri,
    start_id,
    end_id,
    collection_id)
//ERC1155
val batchMintERC1155 = batchMintErc1155Async(network, 
    from, 
    to, 
    token_uri, 
    token_id, 
    collection_id, 
    amount)
println(batchMintERC721)
println(batchMintERC1155)

// result log
/*
    {
        "result" : "OK",
        "value": [
            {
                "transaction_hash": "0x..."
            }
        ]
    }
*/

Parameters

이름
타입
설명
참조

network

String

메인넷

required

collection_id

String

컬렉션 아이디

required

from

String

보내는 사람

required

to

String

받는 사람

required

start_id

String

시작 토큰 아이디

required

end_id

String

끝 토큰 아이디

required

token_id

Array<String>

토큰 아이디

if ERC1155 (required)

token_uri

Array<String>

토큰 uri

if uri_type = 2 [{tokenUri}] (required)

amount

Array<String>

발행량

if ERC1155 required

Response

이름
타입
설명

result

String

NFT 발행 성공여부("OK", "FAIL")

value (array of object)

이름
타입
설명

transaction_hash

String

트랜잭션 해시

Example

// parameters
let network = "polygon"
let collection_id = "0x..."
let from = "0x..."
let to = "0x..."
let start_id = "1111"
let end_id = "1112"
let token_id = ["1222", "1223"]
let token_uri = ["https://kthulu.io/1.json", "https://kthulu.io/2.json"]
let amount = ["100", "10"]
//ERC721
let batchMintERC721 = try await batchMintErc721Async(network: network, 
    from: from, 
    to: to, 
    start_id: start_id,
    end_id: end_id,
    token_uri: token_uri, 
    collection_id: collection_id)
//ERC1155
let batchMintERC1155 = try await batchMintErc1155Async(network: network, 
    from: from, 
    to: to, 
    token_id: token_id, 
    token_uri: token_uri, 
    collection_id: collection_id, 
    amount: amount)
print(batchMintERC721)
print(batchMintERC1155)

// result log
/*
    {
        "result" : "OK",
        "value": [
            {
                "transaction_hash": "0x..."
            }
        ]
    }
*/

PreviousNFT 민트 (발행)NextNFT 조회

Last updated 1 year ago