Solana Suite Develpoment Guide
  • Overview
  • Features
    • Install
    • Function Driven
    • Result Type
    • Configuring settings
  • Usage
    • Airdrop in devnet
    • Compressed NFT(cNGFT)
      • Overview
      • Create a space
      • Calculate a space
      • Mint a collection
      • Mint the cNFT
    • Upload to decentrized storage
  • API Reference
  • Github
Powered by GitBook
On this page
  1. Usage
  2. Compressed NFT(cNGFT)

Calculate a space

PreviousCreate a spaceNextMint a collection

Last updated 1 year ago

Space requires a substantial SOL to be allocated initially for securing data storage. The cost of this SOL can be calculated.

example

import { CompressedNft } from "@solana-suite/compressed-nft";

await CompressedNft.calculateSpaceCost(10000);

calculateSpaceCost | Solana Suite API Reference