btc

Bitcoin (BTC)

Method: POST listlockunspent

dropdown
POST

listlockunspent

Method not allowed

Returns list of temporarily unspendable outputs.

See the lockunspent call to lock and unlock transactions for spending.

Parameters

-

Request

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


Response

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

It’s Black Friday Sale!
Don’t Miss.