sendmany - Divi 2.5.1 RPC
sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ) Send multiple times. Amounts are double-precision floating point numbers. Arguments: 1. "fromaccount" (string, required) The account to send the funds from, can be "" for the default account 2. "amounts" (string, required) A json object with addresses and amounts { "address":amount (numeric) The divi address is the key, the numeric amount in DIVI is the value ,... } 3. minconf (numeric, optional, default=1) Only use the balance confirmed at least this many times. 4. "comment" (string, optional) A comment Result: "transactionid" (string) The transaction id for the send. Only 1 transaction is created regardless of the number of addresses. Examples: Send two amounts to two different addresses: > divi-cli sendmany "tabby" "{\"XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg\":0.01,\"XuQQkwA4FYkq2XERzMY2CiAZhJTEDAbtcg\":0.02}" Send two amounts to two different addresses setting the confirmation and comment: > divi-cli sendmany "tabby" "{\"XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg\":0.01,\"XuQQkwA4FYkq2XERzMY2CiAZhJTEDAbtcg\":0.02}" 6 "testing" As a json rpc call > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "sendmany", "params": ["tabby", "{\"XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwg\":0.01,\"XuQQkwA4FYkq2XERzMY2CiAZhJTEDAbtcg\":0.02}", 6, "testing"] }' -H 'content-type: text/plain;' http://127.0.0.1:51473/
Maintained by DiviDomains; modified by: Bert Shuler;license of the docs is MIT (see divi repo), license of the scripts and webpage is also MIT (github repo)
Note it uses a mainnet divi node
Blockchain
Divi
allocatefunds
ban
broadcaststartmasternode
clearbanned
createmasternodekey
fundmasternode
getmasternodecount
getmasternodeoutputs
getmasternodescores
getmasternodestatus
getmasternodewinners
Obfuscation,
clearbanned
listmasternodeconf
listmasternodes
masternode
masternodecurrent
mnsync
setupmasternode
spork
startmasternode
verifymasternodesetup
ban
broadcaststartmasternode
clearbanned
createmasternodekey
fundmasternode
getmasternodecount
getmasternodeoutputs
getmasternodescores
getmasternodestatus
getmasternodewinners
Obfuscation,
clearbanned
listmasternodeconf
listmasternodes
masternode
masternodecurrent
mnsync
setupmasternode
spork
startmasternode
verifymasternodesetup
Generating
Getinvalid
Rawtransactions
Wallet
addmultisigaddress
addvault
backupwallet
bip38decrypt
bip38encrypt
dumphdinfo
dumpprivkey
dumpwallet
encryptwallet
fundvault
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
getstakingstatus
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
reclaimvaultfunds
removevault
sendfrom
sendmany
sendtoaddress
setaccount
signmessage
walletverify
addvault
backupwallet
bip38decrypt
bip38encrypt
dumphdinfo
dumpprivkey
dumpwallet
encryptwallet
fundvault
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
getstakingstatus
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
reclaimvaultfunds
removevault
sendfrom
sendmany
sendtoaddress
setaccount
signmessage
walletverify