Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use sendmany command through this library? #32

Open
juan-silveira opened this issue Jan 28, 2021 · 1 comment
Open

How to use sendmany command through this library? #32

juan-silveira opened this issue Jan 28, 2021 · 1 comment

Comments

@juan-silveira
Copy link

I think that is lacking of information about the commands, for send many, it just show: sendMany: 'str obj int str str bool bool',

But at RPC is:

Arguments:

  1. "fromaccount" (string, required) DEPRECATED. The account to send the funds from. Should be "" for the default account
  2. "amounts" (string, required) A json object with addresses and amounts
    {
    "address":amount (numeric or string) The Lqx address is the key, the numeric amount (can be string) in DASH is the value
    ,...
    }
  3. minconf (numeric, optional, default=1) Only use the balance confirmed at least this many times.
  4. addlocked (bool, optional, default=false) Whether to include transactions locked via InstantSend.
  5. "comment" (string, optional) A comment
  6. subtractfeefrom (array, optional) A json array with addresses.
    The fee will be equally deducted from the amount of each selected address.
    Those recipients will receive less Lqxs than you enter in their corresponding amount field.
    If no addresses are specified here, the sender pays the fee.
    [
    "address" (string) Subtract fee from this address
    ,...
    ]
  7. "use_is" (bool, optional, default=false) Deprecated and ignored
  8. "use_ps" (bool, optional, default=false) Use PrivateSend funds only
  9. conf_target (numeric, optional) Confirmation target (in blocks)
  10. "estimate_mode" (string, optional, default=UNSET) The fee estimate mode, must be one of:
    "UNSET"
    "ECONOMICAL"
@juan-silveira
Copy link
Author

An example of how to use this command would be great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant