Bitcoin API retuning same address for Ordinal and Payment types. #173
Unanswered
lbowles
asked this question in
Help & Support
Replies: 1 comment 3 replies
-
Hey @lbowles, Thank you for writing in! I'm investigating and will follow up once I have more info. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
This is for the Bitcoin wallet integration.
When using
await window.phantom.bitcoin.requestAccounts();
it returns 2 accounts:1
2
The 2 accounts have the same type and public key when they should be different, I expect the "ordinals" type to be a taproot address and not segwit. Is there any way to get the correct address information for both types?
Example
No response
Steps to Reproduce
const accounts = await window.phantom.bitcoin.requestAccounts(); console.log("Phantom connected addresses:", accounts);
See more in the request accounts section in the docs
I have tested this with different wallets on Chrome and Firefox
Phantom Version
24.0.1
Is there an existing discussion for this?
Beta Was this translation helpful? Give feedback.
All reactions