Niftory Docs
  • What is Niftory?
  • Get your API Keys
  • 👩‍💻API
    • Niftory Web3 API
    • SDK QuickStart
      • Using the SDK in React
      • Using the SDK from the Server
    • API Quickstart
      • Create your first Wallet
      • API calls with Sample Content
      • Mint your first NFT
    • API Cheat Sheet
    • Niftory Sample App
      • Explore the Sample App
      • Anatomy of a Niftory App
        • Getting Authenticated
        • GraphQL Client Setup
        • API Usage
        • Transfer an NFT
    • 💡Core Concepts
      • Niftory Data Model
      • Authentication
        • Using Your API Key
        • Configuring Your App
        • Privileged Authentication
      • App and AppUser
      • NFTs
        • Creating NFTs
        • Querying NFTs
        • Transferring NFTs
        • Minting NFTs
      • Wallets
        • Create a Niftory Wallet
        • Register External Wallets
        • Query Wallets
      • Contract
      • User Auth (Client-Side)
    • Your Niftory Account
  • 🧑‍💼Admin Portal
    • Niftory Admin Portal
    • 🚀Guides
      • Setting Up Your Org
      • Create Your First NFT
    • 🗺️Explore
      • Org and Apps
      • NFT Collection
        • Sets
        • Collectibles
        • NFTs
    • 💼Use Cases
      • For Engineers
      • For Designers
      • For Business Users
  • 📖Reference
    • GraphQL & Auth Endpoints
    • API Reference
    • SDK API Reference
Powered by GitBook
On this page

Was this helpful?

  1. API
  2. API Quickstart

Create your first Wallet

PreviousAPI QuickstartNextAPI calls with Sample Content

Last updated 1 year ago

Was this helpful?

Go through the before starting this section.

Niftory provides a simple API to create a custodial wallet. You don't even need to specify any args!

If you've set up the API Playground from , try executing the following mutation:

mutation CreateWallet {
    createNiftoryWallet {
        id
        address
        state
    }
}

It's that simple to create a new wallet. The state should tell you if the wallet is ready for use yet. You can query the wallet using the walletById query:

query WalletById($id: ID!) {
  walletById(id: $id) {
    id
    address
    state
  }
}

And pass in the id args:

{
  "id": "id-returned-by-createWallet-mutation"
}

To learn more about Niftory's Wallet APIs (including registering and verifying external wallets), visit the Wallet guide:

This Wallet is automatically configured to receive NFTs minted with your .

👩‍💻
Niftory Quickstart
Quickstart
Wallets
deployed contract