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

feat(rpbpp-sdk/ckb): Add queue rpc #28

Merged
merged 4 commits into from
Mar 18, 2024
Merged

feat(rpbpp-sdk/ckb): Add queue rpc #28

merged 4 commits into from
Mar 18, 2024

Conversation

duanyytop
Copy link
Collaborator

Main Changes

  • Add queue RPC APIs
  • Add queue RPC request and response types

Reviewers

@Flouse @ahonn

@duanyytop duanyytop requested a review from ahonn March 18, 2024 03:20

export interface CheckRgppTxResp {
ckbTxHash: string;
state: Hex;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The state is a string that can have one of the following values:

  • completed: The CKB transaction has been sent and confirmed.
  • failed: Something went wrong during the process, and it has failed.
  • delayed: The transaction has not been confirmed yet and is waiting for confirmation.
  • active: The transaction is currently being processed.
  • waiting: The transaction is pending and is waiting to be processed.

I will add these to the API documents later.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated 5c280f2

@duanyytop duanyytop requested a review from ahonn March 18, 2024 03:57
@duanyytop duanyytop merged commit 4ae99d8 into main Mar 18, 2024
1 check passed
@duanyytop duanyytop deleted the feat/queue-rpc branch March 18, 2024 05:47
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

Successfully merging this pull request may close these issues.

2 participants