Locks
List Open HTLC Lock transactions
The paginated API is used to query for multiple HTLC Locs transactions. You can apply filters through the query parameter to search for specific transactions.
Method: GET
https://ark.nownodes.io/api/locks?page=1&limit=100
Example response: 200
{
"meta": {
"totalCountIsEstimate": false,
"count": 0,
"pageCount": 1,
"totalCount": 0,
"next": null,
"previous": null,
"self": "/locks?page=1&limit=100",
"first": "/locks?page=1&limit=100",
"last": "/locks?page=1&limit=100"
},
"data": []
}
Retrieve a HTLC transaction
Specific HTLC transactions can be obtained by its lockId
.
Method: GET
https://ark.nownodes.io/api/locks/299b3c1a23e57f4487a6db827dbc8c3f7b05ce9bfd18c203661dba3587cc4490
Example response: 404
{
"statusCode": 404,
"error": "Not Found",
"message": "Lock not found"
}
List Open HTLC Lock transactions
The paginated API is used to query for multiple HTLC Lock transactions. You can apply βfiltersβ through the query parameter to search for specific transactions.
Method: GET
https://ark.nownodes.io/api/locks/299b3c1a23e57f4487a6db827dbc8c3f7b05ce9bfd18c203661dba3587cc4490/unlocked?page=1&limit=100
Example response: 404
{
"statusCode": 404,
"error": "Not Found",
"message": "Not Found"
}
Last updated