klay_newFilter
POST/
Creates a filter to query logs matching the specified criteria and returns the filter ID. The filter ID is used with klay_getFilterLogs and klay_uninstallFilter.
Is the response taking a long time? Response time may vary based on block range!
Specifying a wide block range or including blocks with many events may cause response delays or timeouts.
For faster responses, consider the following recommendations:
- Keep the fromBlock ~ toBlock range to 1000 blocks or fewer.
- When using latest for blockTag, the exact block number may not be known internally, which can increase response time.
In that case, query the latest block number with klay_blockNumber first, then specify it explicitly.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 405
- 408
- 409
- 413
- 414
- 429
- 500
- 503
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Method Not Allowed
Request Timeout
Conflict
Payload Too Large
URI Too Long
Too Many Requests
Internal Server Error
Service Unavailable