Skip to main content

nd to multiple recipients (v2)

POST 

/api/v2/:coin/wallet/:id/sendmany

This endpoint sends funds to multiple recipients by:

  1. Building a transaction with the specified recipients and parameters
  2. Signing the transaction with the user's key (decrypted with walletPassphrase or xprv)
  3. Requesting a signature from MagFi's key
  4. Sending the fully-signed transaction to the blockchain network

The v2 API supports:

  • Multiple recipients in a single transaction
  • Full control over transaction fees (feeRate, maxFeeRate, numBlocks)
  • UTXO selection (minValue, maxValue, unspents array)
  • Instant transactions (if supported by the coin)
  • TSS wallets with txRequest flow
  • Account-based and UTXO-based coins
  • Token transfers
  • Advanced features like memo fields, hop transactions, EIP-1559 fees

Request

Responses

OK

Environment: