You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change method sendMany to receive main parameters explicit and optional as Map. Reinforce the validations of all parameters. Modified documentation to the new variables.
* Invokes the sendmany method see https://www.bitgo.com/api/v2/?shell#send-transaction-to-many
41
-
* Required parameters are:
42
-
* coin tbtc for test bitcoin, see full list at https://www.bitgo.com/api/v2/#coin-digital-currency-support
43
-
* walletId The ID of the source wallet.
44
-
* walletPass The wallet passphrase.
45
-
* recipients A map with the recipients' addresses as keys and the corresponding
46
-
* amounts as values. Amounts are in satoshis
47
-
* sequenceId A unique identifier for this transaction (optional).
48
41
*
49
-
* Optional parameters are:
50
-
* message Notes about the transaction (optional).
42
+
* @param coin tbtc for test bitcoin, see full list at https://www.bitgo.com/api/v2/#coin-digital-currency-support
43
+
* @param walletId The ID of the source wallet.
44
+
* @param walletPass The wallet passphrase.
45
+
* @param recipients A map with the recipients' addresses as keys and the corresponding
46
+
* amounts as values. Amounts are in satoshis
47
+
* @param sequenceId A unique identifier for this transaction (optional).
48
+
* @param optionalParameters A map with optional extra parameters.
49
+
* Some of the known optional parameters are:
50
+
* message Notes about the transaction.
51
51
* fee Fee (in satoshis), leave null for autodetect. Do not specify unless you are sure it is sufficient.
52
52
* feeTxConfirmTarget Calculate fees per kilobyte, targeting transaction confirmation in this number of blocks. Default: 2, Minimum: 2, Maximum: 20
53
53
* minConfirms only choose unspent inputs with a certain number of confirmations. We recommend setting this to 1 and using enforceMinConfirmsForChange
54
54
* enforceMinConfirmsForChange Defaults to false. When constructing a transaction, minConfirms will only be enforced for unspents not originating from the wallet
55
55
* @return A SendCoinsResponse, or empty if there was a problem (although more likely in case of a problem it will throw).
0 commit comments