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

RPC: decode raw transaction #1478

Open
kehiy opened this issue Aug 19, 2024 · 2 comments
Open

RPC: decode raw transaction #1478

kehiy opened this issue Aug 19, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request www

Comments

@kehiy
Copy link
Contributor

kehiy commented Aug 19, 2024

No description provided.

@Ja7ad
Copy link
Contributor

Ja7ad commented Oct 13, 2024

@kehiy @b00f Please write more details about this issue.

@kehiy
Copy link
Contributor Author

kehiy commented Oct 13, 2024

@Ja7ad this endpoint works like that:

  1. input: a raw hex transaction (like what we get for broadcasting).
  2. output: a decoded json(?) object of transaction.

example:

curl -X POST https://bitcoin-mainnet.public.blastapi.io -H 'Content-Type: application/json' -d '{"jsonrpc":"1.0","id":0,"method":"decoderawtransaction","params":[""]}'

or:

https://www.blockchain.com/explorer/assets/btc/decode-transaction

@Ja7ad Ja7ad added enhancement New feature or request www labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request www
Projects
None yet
Development

No branches or pull requests

3 participants