What is Nostr?
Jeff Garzik [ARCHIVE] /
npub1kf0ā€¦3f58
2023-06-07 15:04:55
in reply to nevent1qā€¦v3k7

Jeff Garzik [ARCHIVE] on Nostr: šŸ“… Original date posted:2013-07-22 šŸ“ Original message:URL: ...

šŸ“… Original date posted:2013-07-22
šŸ“ Original message:URL: https://github.com/bitcoin/bitcoin/pull/2844

Adding an HTTP REST API for bitcoind has been occasionally tossed
about as a useful thing. Such an API would essentially provide a
decentralized block explorer capability, enabling easy external access
to transaction/address/block indices that we maintain.

The first two implemented API calls are simple, returning a block or
TX given a simple query string based on block hash, e.g.

GET /rest/tx/TX-HASH
or
GET /rest/block/BLOCK-HASH

This can be easily accessed via command line cURL/wget utilities.
Output formats -- binary, hex or json -- may be selected via a
"bitcoin-format" header.

The general goal of the HTTP REST interface is to access
unauthenticated, public blockchain information. There is no plan to
add wallet interfacing/manipulation via this API.

--
Jeff Garzik
Senior Software Engineer and open source evangelist
BitPay, Inc. https://bitpay.com/
Author Public Key
npub1kf0ppcjaguxekg24yx6smgxlu73qn0k8lm0t2wrqc0scpl7u3sgsmf3f58