Blockstream / Blockstream/esplora

API needs an endpoint to submit a package of txs

Open
#532 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
514
Avg merge
1d 10h
Merged PRs (30d)
16

Description

Currently there is the `POST /tx` endpoint where you can submit a tx. With Bitcoin Core 28 releasing package relay in a limited form, it is possible using Core to submit and relay packages of transactions. More specifically, it is possible to relay a pair of txs of which either of them would not be accepted into the mempool alone.

This means that submitting the txs one by one into the `/tx` endpoint does not work and the API needs to be able to accept packages of multiple (currently just 2) transactions.

Maybe `POST /tx` can support a body of multiple lines, or of a JSON array, or a new endpoint `/txs` can be added.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.