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

Docs: Clear definition of transaction status terminology (pending/success, any other?) and probabilities of success #439

Open
ross-spencer opened this issue Jul 3, 2023 · 2 comments

Comments

@ross-spencer
Copy link

Searching the Arweave docs it is unclear what each of the transaction statuses mean and what it means to a developer to see one status over another.

Specifically, it would be useful to know all potential transaction statuses, i.e. are there any more than pending and success? (nb. I am not sure if success is an official status or just one we see on viewblock.io).

It may also be useful alongside more documentation about statuses to include information about the likelihood of success of a transaction, e.g. if a transaction is pending is it ever likely it will be dropped? Are there any other potential outcomes of pending one should watch out for?

Are there any other transaction statuses after success? e.g. deleted, removed etc.

Apologies in advance if there is somewhere clearer covering this.

@rosmcmahon
Copy link
Member

You could have a look of the arweave-js docs. it's a long read, but there are details pertaining to this area all over the Transactions section.
There's also a short mention of the endpoint in the http-api docs

N.B. Two other good resources for development are the cookbook and Dev Talk discord

@ross-spencer
Copy link
Author

Thanks @rosmcmahon that helps. Some useful leads. This is a particularly helpful start from the JS docs:

N.B. We strongly advise that you check the status and number of confirmations for a given txid before integrating it elsewhere (for example, if you plan to integrate a txid into an NFT contract), even if you have received a ‘200’ status response.

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