Skip to content

Add optional offset parameter for the receivable RPC #3699

@Exxenoz

Description

@Exxenoz

Summary

There is currently no way to request receivable blocks in chunks. Getting all receivable blocks of addresses like the famous burn address nano_1111111111111111111111111111111111111111111111111111hifc8npp is hell, because the response body is too huge for some system and/or software environments, which leads to either request timeouts or exceeding of the configured max HTTP body size. A new offset parameter would provide an alternative method to request these receivable blocks in chunks.

What problem would be solved by this feature?

Adding the possibility to request receivable blocks in chunks would help to avoid request timeouts and/or exceeding of the configured max HTTP body size.

Are there any previous requests for this feature?

Not that I'm aware of.

Do you have a suggested solution?

Yes, a new offset parameter for the receivable RPC would allow to request receivable blocks in chunks and solve this issue.

If this feature is approved, would you be willing to submit a pull request with the solution?

I would

Possible solution

I will create a PR.

Supporting files

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationThis item indicates the need for or supplies updated or expanded documentationrpcChanges related to Remote Procedure Calls

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions