Contract
​Contract represents a smart contract on the blockchain.

Contract Deployment

When you sign up in the Niftory Admin Portal, we help you automatically deploy a contract for your application. All NFTs minted for your application are based on this contract, and user wallets have to be initialized for this contract.
For details on how to deploy a smart contract, follow this guide.

Contract API

There are several ways to query for your Contract.

​contract - returns the Contract for the current App context (determined by API Key)

query ContractQuery {
contract {
id
address
blockchain
name
}
}
Sample Response

​app query (and include the Contract fragment)

query AppWithContractQuery {
app {
id
contract
}
}
Copy link
On this page
Contract Deployment
Contract API