DASH
POST
GET
Last updated on January 1, 1970
2 min read
Method listunspent undefined ()
connect with JSON-RPC protocol
listunspent
Method not allowed
Returns an array of unspent transaction outputs belonging to thiswallet.Note as of Bitcoin Core 0.10.0, outputs affecting watch-only addresseswill be returned see the spendable field in the results describedbelow.
Parameters
Minimum Confirmations
- number (int)
Optional.
The minimum number of confirmations the transaction containing an output must have in order to be returned. Use 0 to return outputs from unconfirmed transactions. Default is 1.
Maximum Confirmations
- number (int)
Optional.
The maximum number of confirmations the transaction containing an output may have in order to be returned. Default is 9999999 (~10 million).
Addresses
- array
Optional.
If present, only outputs which pay an address in this array will be returned.
Include Unsafe
- bool
Optional.
Include outputs that are not safe to spend . See description of safe attribute below. Default is true.
Query Options
- json
Optional.
JSON with query options. Available options: - minimumAmount: Minimum value of each UTXO in DASH - maximumAmount: Maximum value of each UTXO in DASH - maximumCount: Maximum number of UTXOs - minimumSumAmount: Minimum sum value of all UTXOs in DASH - cointType: Filter coinTypes as follows: - - 0 = ALL_COINS, - - 1 = ONLY_FULLY_MIXED, - - 2 = ONLY_READY_TO_MIX, - - 3 = ONLY_NONDENOMINATED, - - 4 = ONLY_MASTERNODE_COLLATERAL, - - 5 = ONLY_COINJOIN_COLLATERAL
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": "None",
"params": [null, null, [{"name": "address", "type": "string (base58)", "description": ["A P2PKH or P2SH address"], "value": null}], null, 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" }