View the key in pending status
lixianbin1 opened this issue · 3 comments
Okay, I found it
@lixianbin1 Glad you got your issue resolved. For reference if using Polymaths dashboard to add secondary keys then the easiest way to accept joining the identity is to select the secondary key in your wallet to make it active and then go back to the account tab of the dashboard. A banner will display at the top of the dashboard window with an option to confirm joining the secondary key to the identity.
There are also multiple other options available. Some are listed below:
If using the Polkadot API you can use the identity pallet - authorizations
to get a list of pending authorization ID's. See this link for available extrinsics and chain state https://polymesh.subscan.io/runtime/Identity?version=5001002
You can use the Polymesh instance of the Polkadot JS app to similarly query the chain to get an authorization ID
https://testnet-app.polymesh.live/#/chainstate
or
https://mainnet-app.polymesh.network/#/chainstate
Or you can just look at the event from one of the authorizations you created to get the authorization ID. e.g. https://polymesh-testnet.subscan.io/extrinsic/5760178-1?event=5760178-1
If using the SDK you can use getAccount to get the account, then authorizations and getReceived to return a list of Authorizations Requests.
@F-OBrien Thanks for your reply, but I want to query the keys in pending. I use identity. authorizations GetSent ()
To query