DASH
POST
GET
Last updated on January 1, 1970
1 min read
Method createmultisig undefined ()
connect with JSON-RPC protocol
createmultisig
Method not allowed
Creates a P2SH multi-signature address.Deprecation Warning!As of Dash Core 0.17.0, using addresses with createmultisig isunsupported. Clients must use addmultisigaddress to create multisigaddresses.
Parameters
required
- number (int)
The minimum (m) number of signatures required to spend this m-of-n multisig script
keys
- array
An array of strings with each string being a public key.
Request
curl --location --request POST 'https://dash.getblock.io/mainnet/'
--header 'x-api-key: YOUR-API-KEY'
--header 'Content-Type: application/json'
--data-raw '{"jsonrpc": "2.0",
"method": "createmultisig",
"params": [null, [{"name": "key", "type": "string", "description": ["A public key against which signatures will be checked. There must be at least as many keys as specified by the Required parameter, and there may be more keys."], "value": null}]],
"id": "getblock.io"}'
Response
{
"result": "null",
"id": "getblock.io",
"status_code": 405,
"message": "Method not allowed"
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }