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

Add way to handle timeout errors and give callback on confirmation or failure. #76

Open
xjcaa opened this issue Jan 17, 2022 · 1 comment

Comments

@xjcaa
Copy link
Contributor

xjcaa commented Jan 17, 2022

No description provided.

@xjcaa
Copy link
Contributor Author

xjcaa commented Jan 17, 2022

export const TIMEOUT_FAILURE: string = "Error: Transaction was not confirmed";
export const BLOCKHASH_FAILURE: string = "Error: failed to get recent blockhash";
export const RAW_TRANSACTION_FAILURE: string = "Error: Raw transaction";
export const TRANSACTION_SIMULATION_FAILURE: string = "Error: failed to send transaction";

@xjcaa xjcaa closed this as completed Jan 17, 2022
@xjcaa xjcaa reopened this Jan 17, 2022
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

1 participant