Create inabit Wallet
Create an inabit wallet in your organization
Generate an inabit Wallet
The CreateWalletWithInabit mutation allows API admins to create a new inabit wallet (that is accessible in the platform's interface, unlike API wallets) with a designated address for a given asset & blockchain.
Remember to authenticate to call our GraphQL API using an access token (bearer) with your API Admin credentials. (If you're not sure how, refer to Authentication)
Don't have an API Admin user yet? contact us at [email protected] to create one!
mutation CreateWalletWithInabit($data: WalletCreateWithInabitInput!) {
createWalletWithInabit(data: $data) {
id
name
}
}
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body (WalletCreateWithInabitInput object)
name*
string
Name of the wallet
organizationId*
string
ID of the organization in inabit
Example body:
{
"data": {
"name": "My Inabit Wallet",
"organization": {
"id": "clu6oj0kg0004r4ub98guo82u"
}
}
}
Response
Return values:
id
String
Created Wallet ID
name
String
Created Wallet Name
{
"data": {
"createWalletWithInabit": {
"id": "clvw5p0oj000er47qhe3atv9d",
"name": "My Inabit Wallet",
}
}
}
In the mutation's response, you will receive the created API wallet ID including the associated blockchain address.
Try it out!
Was this helpful?