🔐
Trust Enterprises
  • Getting Started
  • Intro video course
    • Introduction of the Trust Enterprises project [2:16]
    • Deployment of your first Serverless client [6:29]
    • Using Postman with the Trust Enterprises API [6:33]
    • Installation of the Trust Enterprises Laravel package [7:51]
    • Basic interaction with your client with Laravel. [10:28]
  • Deployment
    • Vercel
    • Environment Variables
    • Github Actions
  • REST API
    • Overview
    • Inscriptions
      • Deploy an Inscription
      • Mint an Inscription
      • Burn an Inscription
      • Transfer an Inscription
    • NFT Ecosystem
      • Create an NFT Collection
      • Generate Metadata
      • Mint an NFT
      • Transfer an NFT
      • Claiming NFTs through Passes
    • Accounts
    • Tokens
      • Create a token
      • Bequesting a token
      • Token Holdings and Balance
    • Topics
      • Get topic info
      • Creating a new topic
      • Updating a topic
    • Consensus Messages
    • Balance
    • Status
    • Webhooks
  • The Laravel Client
    • Overview
    • Installation
    • Interacting with your client
    • Create a Marketplace
    • Manage your Inscription Flow
    • Checking account balances and sending tokens
  • Contributing
    • Local Development
      • Architecture Rationale
    • Contributing Guidelines
    • Changelog
  • Links
    • Github
    • Trust Enterprises
    • Postman Documentation
    • Hedera Network Status
    • Remote Software Development
Powered by GitBook
On this page

Was this helpful?

  1. REST API
  2. NFT Ecosystem

Create an NFT Collection

Create an NFT Collection with a name, symbol, supply, and basic default royalties.

Note, that by using these tools for creating NFTs, we will add 5% to the current royalty structure for secondary sales we will receive.

As a developer or project owner, you may fork our repositories and remove this additional royalty, however, you probably will not receive any support from the team and it will make Matt sad...

Our royalty accounts are as follows:

Testnet: 0.0.34319163

Mainnet: 0.0.1119570

Overview

There are 3 required fields needed to create an NFT:

  • symbol

  • collection_name

  • supply

In addition, royalties of 5.25% are automatically added, these may be turned off. After all, we don't live in a web2 world anymore. For future secondary sales, you will receive 5% and this tooling treasury will receive 0.25% or 5% of the current royal structure.

These are the optional fields you can use:

  • allow_custom_fees (to disable royalties)

  • royalty_account_id (the account that will receive royalties, defaults to the Treasury API account)

  • royalty_fee (set as 0.05, or 5%, by default)

  • fallback_fee (default set as 0, for simpler internal transfers)

  • enable_unsafe_keys (CONSIDERED DANGEROUS: set the admin, freeze, and wipe keys)

POST https://hedera-serverless-consensus.vercel.app/api/nft

Create an NFT collection

Headers

Name
Type
Description

x-api-key*

String

The API_SECRET_KEY from the client's environment variables.

Request Body

Name
Type
Description

symbol*

Symbol of the NFT collection

name*

String

Name of the NFT collection

supply*

Int

Supply of the NFT collection

allow_custom_fees

boolean

default true, enable custom/royalty fees

royalty_account_id

String

Hedera account id to send royalties to

royalty_fee

decimal

Royalty percentage as a decimal for secondary sales

fallback_fee

decimal

HBAR fallback for non-treasury transfers

enable_unsafe_keys

boolean

Considered Dangerous, if true, stops an NFT collection from being immutable

{
    // Response
}
{
    // Response
}
{
    // Response
}

PreviousNFT EcosystemNextGenerate Metadata

Last updated 1 year ago

Was this helpful?