Generate Deposit Address
Adding a new coin/asset to a wallet (Generates a new wallet blockchain deposit address)
Adding a New Coin to a Wallet
The AddCoinAddress
query allows API users to add a new coin into their API wallet/s. This action will generate a new blockchain address in the wallet.
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 support@inabit.com to create one!
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body (WalletDepositAddressWhereInput object)
walletId*
string
ID of the wallet
financialAssetId*
string
ID of the financial asset in inabit (can be token/native)
blockchainId*
string
ID of the blockchain in inabit
Example body:
Response
Return values:
address
String
API Wallet Address
In the query's response, you will receive the created API wallet address for the asset & blockchain given in the body.
Reminder - You can't add multiple blockchains under the same API wallet. One inabit API wallet = one address