Queries HTLCs with flexible filtering options.
Method Signature
Parameters
Array of payment hashes to filter by
Array of transfer IDs to filter by
Filter by role (default: PREIMAGE_REQUEST_ROLE_RECEIVER)
Maximum results to return (1-100, default: 100). Values outside this range throw SparkValidationError.
Pagination offset (default: 0). Must be non-negative.
Returns
QueryHtlcResponse
required
HTLC query results
Example