New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image
dgb

DGB

POST

GET

chevron-right

Last updated on January 1, 1970

2 min read

Method sendmany undefined ()
connect with JSON-RPC protocol

sendmany

info-circle-fill

Method not allowed

info-circle-fill

Send multiple times. Amounts are double-precision floating pointnumbers.Requires wallet passphrase to be set with walletpassphrase call ifwallet is encrypted.

Parameters

dummy - string, required

Must be set to “” for backwards compatibility.

amounts - json object, required

The addresses and amounts

minconf - numeric, optional

Ignored dummy value

comment - string, optional

A comment

subtractfeefrom - json array, optional

The fee will be equally deducted from the amount of each selected address. Those recipients will receive less bitcoins than you enter in their corresponding amount field. If no addresses are specified here, the sender pays the fee.

replaceable - boolean, optional, default=wallet default

Allow this transaction to be replaced by a transaction with higher fees via BIP 125

conf_target - numeric, optional, default=wallet -txconfirmtarget

Confirmation target in blocks

estimate_mode - string, optional, default=unset

The fee estimate mode, must be one of (case insensitive) “unset” “economical” “conservative”

fee_rate - numeric or string, optional, default=not set, fall back to wallet fee estimation

Specify a fee rate in sat/vB.

Request

curl --location --request POST 'https://dgb.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "sendmany",
"params": [null, null, null, null, null, null, null, null, null],
"id": "getblock.io"}'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
banner icon

Start Building with GetBlock RPCs for Free