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

polkadot staking #299

Open
LXHLeaner opened this issue Sep 28, 2022 · 1 comment
Open

polkadot staking #299

LXHLeaner opened this issue Sep 28, 2022 · 1 comment

Comments

@LXHLeaner
Copy link

  1. Can use this "https://github.com/centrifuge/go-substrate-rpc-client" to deal with polkadot staking ?
  2. Can use this "https://github.com/centrifuge/go-substrate-rpc-client" to search transaction by txid?
@cdamian
Copy link
Contributor

cdamian commented Dec 5, 2023

Hey @LXHLeaner,

  1. What exactly do you mean by dealing with polkadot staking? If it's about submitting extrinsics related to staking, yes.
  2. Sure, you would need to query each block and then look for the transaction ID though - maybe the example found here - https://github.com/centrifuge/go-substrate-rpc-client/blob/master/registry/retriever/extrinsic_retriever_live_test.go#L151, might help.

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