Create inabit Wallet Swap
Create a swap request from a specific wallet.
Last updated
Create a swap request from a specific wallet.
Last updated
Initiate a mutation to create an assets swap request for approval, from one of your organization's inabit wallets:
Please note that this mutation is applicable only for inabit wallets.
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Example body:
Return values:
Name | Type | Description |
---|---|---|
Content-Type
application/json
Authorization
Bearer <token>
amount*
Integer
Swap Amount
financialAsset*
String
ID of Swapped From Asset
swapAssetTo*
String
ID of Swapped To Asset
walletId*
String
inabit Wallet ID
note
String
Internal Note on the Swap
isAccelerated
boolean
Always keep as null
id
String
Swap ID
amount
Integer
Swap Amount
fee
Integer
Fee Amount (in Native Asset of the "From Asset")