NFT Drop

The "NFT Drop" endpoint allows you to make a direct mint of a specified NFT to one or more specified wallet addressess.

Overview

Endpoint

  • Method: POST

  • URL: /nfts/{chain}/drop

Request Body

  • Media Type: application/json

  • Example Value:

{
  "nfts": [
           { "collectionAddress":"0x8a63860fF851bb1391a295dF717a3bD210eB2170",
              "tokenTypeId": 2,
              "quantity": 1,
              "receiver":"0x8e9DD3c1Db3254d968967CbC367542C343273629"
            }
           ]
}

Responses

Success (Code 200)

{
  "transactionHash":"0xeef10fc5170f669b86c4cd0444882a96087221325f8bf2f55d6188633aa7be7c"
}
  • Media Type: application/json

  • Example Value: An object containing the response for the project data.

Usage

  1. Send a GET request to the /api.xerial.io/collections endpoint using the desired URL queries to filtter the collections data.

  2. Handle the response accordingly based on success, unauthorized access, forbidden access, not found, method not allowed, precondition failed, or internal server error.

Note: Ensure to get the studio address from your dashboard.

Last updated