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

Add "dest_type" option to name_new/firstupdate/update #468

Open
JeremyRand opened this issue Sep 30, 2021 · 0 comments
Open

Add "dest_type" option to name_new/firstupdate/update #468

JeremyRand opened this issue Sep 30, 2021 · 0 comments

Comments

@JeremyRand
Copy link
Member

Is your feature request related to a problem? Please describe.

When the send RPC method generates an output address on behalf of the user (i.e. the change address), it supports both an explicit change_address option (user specifies the address) and an implicit change_type option (user only specifies the address type; a change address is generated automatically of the requested type). The name RPC methods also generate an output address on behalf of the user (the name output address), but they only support specifying an explicit destination address, not an address type. This is unfortunate.

Describe the solution you'd like

Add a dest_type field to the name RPC methods, which influences the name output address in the same way that the change_type field influences the change address in the send RPC method. This improves parity between currency and name transactions.

Describe alternatives you've considered

N/A.

Additional context

N/A.

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

No branches or pull requests

1 participant