-
Notifications
You must be signed in to change notification settings - Fork 16
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 retrieveBtcStatusV2ByAccount to ckbtc canister #503
Conversation
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Minor comment
* Returns the status of all BTC withdrawals for the user's main account. | ||
* | ||
* @param {bigint} transactionId The ID of the corresponding burn transaction. | ||
* @param {boolean} certified query or update call |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add the return type and a short explanation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
# Motivation Use `retrieveBtcStatusV2ByAccount` added in dfinity/ic-js#503 # Changes Ran `npm run upgrade:next` # Tests Manually tested in a separate branch. # Todos - [ ] Add entry to changelog (if necessary). not necessary
Motivation
Changes
I want to use this to display BTC withdrawal transactions in nns-dapp as pending or failed when appropriate.
Tests
Unit tests added.
Tested manually in an nns-dapp branch.
Todos