Skip to main content

listlockunspent

Overview

The 'listlockunspent' Returns the list of all labels, or labels that are assigned to addresses with a specific purpose.

Request

wget --no-check-certificate --quiet \
--method POST \
--timeout=0 \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--header 'X-CoinAPI-Key: 4303fb63-adec-42dc-b571-74bc2f2a5167' \
--body-data '{"jsonrpc":"2.0","id":1,"method":"listlockunspent","params": [ ]}' \
'https://bitcoin-mainnet.node.coinapi.io'

Request Parameters

  • txid: The transaction id locked

Response

{
"result": null,
"error": {
"code": -18,
"message": "No wallet is loaded. Load a wallet using loadwallet or create a new one with createwallet. (Note: A default wallet is no longer automatically created)"
},
"id": 1
}