Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API endpoint should show "lease" property for cancel lease transactions #162

Open
sbrekelmans opened this issue Oct 18, 2022 · 1 comment

Comments

@sbrekelmans
Copy link

sbrekelmans commented Oct 18, 2022

The "lease" property contains the corresponding start lease (type 8) transaction including "amount", "receiver" etc.. The /transactions/info endpoint for type 9 transactions already contains this "lease" property, but other endpoints like /block/at/{height} don't.

@jasny jasny changed the title /blocks/at/{height} endpoint should show "lease" property in type 9 transactions. API endpoint should show "lease" property for cancel lease transactions Oct 18, 2022
@jasny
Copy link
Member

jasny commented Oct 18, 2022

All endpoints for transactions should check this.

Note that we might opt to include the recipient and amount for cancel lease v4, so this would only apply to v3 and earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants