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

CIP-0030 Add .getCollateral() #233

Closed
kk-kien opened this issue Mar 11, 2022 · 1 comment
Closed

CIP-0030 Add .getCollateral() #233

kk-kien opened this issue Mar 11, 2022 · 1 comment

Comments

@kk-kien
Copy link

kk-kien commented Mar 11, 2022

To balance a partial transaction, we need to know which UTXO is the collateral.

nami-wallet has implemented this feature:

> await nami.experimental.getCollateral()
['828258200c153f47be46b76d1df3b46c9d2532c3b0adb8817a…a34c6601ee0b3e5ef71542561443c1a07dc69911a004c4b40']

I suggest that .getCollateral() should be included in CIP-0030, with the interface similar to what nami-wallet has done.

@KtorZ
Copy link
Member

KtorZ commented Jan 20, 2023

Fixed by #208

@KtorZ KtorZ closed this as completed Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants