Comment on page
Create your first Wallet
Niftory provides a simple API to create a custodial wallet. You don't even need to specify any args!
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:
Last modified 3mo ago