⚡ Private API access, no rate limits, unlimited number of requests & more just for $50!
Decred (DCR)
Method: POST importmulti
Method not allowed
Import addresses/scripts (with private or public keys, redeem script (P2SH)), optionally rescanning the blockchain from the earliest creation time of the imported scripts. Requires a new wallet backup.
If an address/script is imported without all of the private keys required to spend from that address, it will be watchonly. The ‘watchonly’ option must be set to true in this case or a warning will be returned.
Conversely, if all the private keys are provided and the address/script is spendable, the watchonly option must be set to false, or a warning will be returned.
Note This call can take over an hour to complete if rescan is true, during that time, other rpc calls may report that the imported keys, addresses or scripts exist but related transactions are still missing.
Note Use “getwalletinfo” to query the scanning progress.
requests
- json array, required
Data to be imported
curl --location --request POST 'https://dcr.getblock.io/mainnet/' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "importmulti", "params": [null], "id": "getblock.io"}'
{ "result": "null", "id": "getblock.io", "status_code": 405, "message": "Method not allowed" }
POST getchaintips
POST getbestblock
POST getbestblockhash
POST getblock
POST getblockchaininfo
POST getblockcount
POST getblockhash
POST getblockheader
POST getheaders
POST getblocksubsidy
POST getmempoolinfo
POST getrawmempool
POST gettxout
POST gettxoutsetinfo
POST getcfilterv2
POST getcoinsupply
POST getdifficulty
POST existsaddress
POST existsaddresses
POST getstakedifficulty
POST getstakeversioninfo
POST getstakeversions
POST gettreasurybalance
POST gettreasuryspendvotes
POST getvoteinfo
POST getwork
POST gethashespersec
POST getmininginfo
POST getnetworkhashps
POST regentemplate
POST getconnectioncount
POST getcurrentnet
POST getnettotals
POST getnetworkinfo
POST createrawtransaction
POST decoderawtransaction
POST getrawtransaction
POST searchrawtransactions
POST sendrawtransaction
POST decodescript
POST createrawsstx
POST createrawssrtx
POST existsmempooltxs
POST txfeeinfo
POST estimatestakediff
POST existsexpiredtickets
POST existsliveticket
POST existslivetickets
POST existsmissedtickets
POST getticketpoolvalue
POST livetickets
POST missedtickets
POST ticketfeeinfo
POST ticketsforaddress
POST ticketvwap
POST estimatefee
POST estimatesmartfee
POST getinfo
POST help
POST verifymessage
POST validateaddress
POST version
POST verifychain
POST generate
POST getgenerate
POST invalidateblock
POST reconsiderblock
POST setgenerate
POST getblockfilter
POST gettxoutsetinfo
POST pruneblockchain
POST savemempool
POST scantxoutset
POST verifytxoutproof
POST generatetodescriptor
POST generatetoaddress
POST prioritisetransaction
POST submitheader
POST clearbanned
POST disconnectnode
POST getnodeaddresses
POST listbanned
POST setban
POST setnetworkactive
POST createmultisig
POST signmessagewithprivkey
POST submitblock
POST addnode
POST getaddednodeinfo
POST getpeerinfo
POST node
POST ping
POST debuglevel
POST stop
POST abandontransaction
POST abortrescan
POST addmultisigaddress
POST backupwallet
POST bumpfee
POST createwallet
POST dumpprivkey
POST dumpwallet
POST encryptwallet
POST getaddressesbylabel
POST getaddressinfo
POST getbalance
POST getbalances
POST getnewaddress
POST getrawchangeaddress
POST getreceivedbyaddress
POST getreceivedbylabel
POST gettransaction
POST getunconfirmedbalance
POST getwalletinfo
POST importaddress
POST importdescriptors
POST importmulti
POST importprivkey
POST importprunedfunds
POST importpubkey
POST importwallet
POST keypoolrefill
POST listaddressgroupings
POST listlabels
POST listlockunspent
POST listreceivedbyaddress
POST listsinceblock
POST listtransactions
POST listunspent
POST listwalletdir
POST listwallets
POST loadwallet
POST lockunspent
POST psbtbumpfee
POST removeprunedfunds
POST rescanblockchain
POST send
POST sendmany
POST setlabel
POST settxfee
POST setwalletflag
POST signmessage
POST signrawtransactionwithwallet
POST unloadwallet
POST upgradewallet
POST walletcreatefundedpsbt
POST walletlock
POST walletpassphrase
POST walletpassphrasechange
POST walletprocesspsbt
POST sethdseed
POST sendtoaddress
Explorers
Blockchain ExplorerPartnerships
Media KitExplorers
Blockchain ExplorerPartnerships
Media KitPartnerships
Media KitExplorers
Blockchain ExplorerExplorers
Blockchain ExplorerPartnerships
Media KitKakaoTalk