btc

Bitcoin (BTC)

Method: POST addmultisigaddress

dropdown

POST addmultisigaddress

Method not allowed

Add an nrequired-to-sign multisignature address to the wallet. Requires a new wallet backup.

Each key is a Bitcoin address or hex-encoded public key.

This functionality is only intended for use with non-watchonly addresses

See `importaddress` for watchonly p2sh address support.

If 'label' is specified, assign address to that label.

Parameters

nrequired - numeric, required

The number of required signatures out of the n keys or addresses.

keys - json array, required

The bitcoin addresses or hex-encoded public keys

label - string, optional

A label to assign the addresses to.

address_type - string, optional

A label to assign the addresses to.

Request

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


Response

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

Get access to 40+ blockchain nodes right now! GetBlock provides a fast and reliable connection for the most popular cryptocurrencies` nodes.

Subscribe

Email is invalid

Products
For developers
Contact

Technical support:

support@getblock.io

General inquiries:

marketing@getblock.io

To contact Us:

Schedule a Call

2019 - 2021 GetBlock