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들을 일일이 개별 전송했을 때 낭비되는 시간과 비용을 최소화 할 수 있게 됩니다.

Parameters

이름
타입
설명
참조

network

String

네트워크

required

from

String

보낸 계정

required

to

String

받는 계정

required

collection_id

String

컬렉션 아이디

required

token_id

Array<String>

전송할 NFT 아이디

required

amount

Array<String>

전송량

if ERC1155 required

Response

이름
타입
설명

result

String

전송 성공여부("OK", "FAIL")

value (array of object)

이름
타입
설명

transaction_hash

String

전송 트랜잭션 해쉬

Example

//parameters
val network = "polygon" // ("cypress", "polygon", "bnb")
val from = "0x..."
val to = "0x..."
val collection_id = "0x..."
val token_id = arrayOf("1","2")
val amount = arrayOf("1","2")
//ERC721
val sendERC721Batch = sendNFT721BatchTransactionAsync(network, 
    from, 
    to, 
    token_id, 
    collection_id)
//ERC1155
val sendERC1155Batch = sendNFT1155BatchTransactionAsync(network, 
    from, 
    to, 
    token_id, 
    collection_id, 
    amount)
println(sendERC721Batch)
println(sendERC1155Batch)

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

Parameters

이름
타입
설명
참조

network

String

네트워크

required

from

String

보낸 계정

required

to

String

받는 계정

required

collection_id

String

컬렉션 아이디

required

token_id

Array<String>

전송할 NFT 아이디

required

amount

Array<String>

전송량

if ERC1155 required

Response

이름
타입
설명

result

String

전송 성공여부("OK", "FAIL")

value (array of object)

이름
타입
설명

transaction_hash

String

전송 트랜잭션 해쉬

Example

//parameters
let network = "polygon" // ("cypress", "polygon", "bnb")
let from = "0x..."
let to = "0x..."
let collection_id = "0x..."
let token_id = ["1","2"]
let amount = ["1","2"]
//ERC721
let sendERC721Batch = try await sendErc721BatchAsync(network: network, 
    from: from, 
    to: to, 
    token_id: token_id, 
    collection_id: collection_id)
//ERC1155
let sendERC1155Batch = try await sendErc1155BatchAsync(network: network, 
    from: from, 
    to: to, 
    token_id: token_id, 
    collection_id: collection_id, 
    amount: amount)
print(sendERC721Batch)
print(sendERC1155Batch)

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

PreviousNFT 전송NextNFT 소각

Last updated 1 year ago