Create Batch Sweeping

Create a batch transfer request from multiple wallets to sweep funds

Create a Batch Transfer

Initiate a mutation to create an assets batch transfer request to sweep asset funds from multiple source wallets to a destination wallet address within your inabit organization.

mutation SweepWallets($data: SweepTransactionInput!) {
  sweepWallets(data: $data) {
    transactionId
  }
}

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body (SweepTransactionInput) object

Name
Type
Description

id* (destinationWallet)

String

Wallet ID

id* (blockchain)

String

Blockchain ID

id* (financialAsset)

String

Asset ID

id* (Organization)

String

Organization ID

id* (sourceWalletIds)

String

Source Wallet IDs

Example body:

Response

Return values:

Name
Type
Description

transactionId

String

Batch Transfer ID

Try it out!

Last updated

Was this helpful?