Giter Site home page Giter Site logo

Comments (8)

merc1er avatar merc1er commented on August 19, 2024

I don't thing cashexplorer.bitcoin.com was ever a thing (it's explorer.bitcoin.com).
But now the API is located at rest.bitcoin.com.

I added bitcore support in #46. I would like implement rest.bitcoin.com support for redundancy :)

from bitcash.

 avatar commented on August 19, 2024

Looks like this API blocks Tor users so does cause issues that way.

from bitcash.

merc1er avatar merc1er commented on August 19, 2024

This issue should be fixed by #47

Looks like this API blocks Tor users so does cause issues that way.

Both rest.bitcoin.com and api.bitcore.io work for me on Tor Browser. Are you still experiencing this issue?

from bitcash.

 avatar commented on August 19, 2024

Ok, off topic:

urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): trest.bitcoin.com:443
urllib3.connectionpool: DEBUG: https://trest.bitcoin.com:443 "GET /v2//rawtransactions/sendRawTransaction/01000000016450c5c7fb706f5c0cdf1b3fbb1d98b66f8d049770c61fd8763c8e8cda712b83010000006a4730440220528f7ac6565916f1ad2e4e8e8f453efa47afa349203b08a2de0e9af78d19229802202a4a00cdda40c4dfbe03ee9208ea0f6b2898a4271013e6a014c4902fa50461e64121033d5c2875c9bd116875a71a5db64cffcb13396b163d039b1d9327824891804334ffffffff02d0070000000000001976a914e7c1345fc8f87c68170b3aa798a956c2fe6a9eff88ac64621b00000000001976a914990ef60d63b5b5964a1c2282061af45123e93fcb88ac00000000 HTTP/1.1" 404 36

Is it really a GET request for sending a TX? Not a POST? Also gives me a 404, but over Tor. Not sure over clearnet.

Looks like Tor Browser works with https://rest.bitcoin.com/v2/address/utxo/bitcoincash:qzfyvx77v2pmgc0vulwlfkl3uzjgh5gnmqk5hhyaa6 but the library does not. If you curl it, it blocks it (torsocks curl). So rest.bitcoin.com needs to configure Cloudflare to not filter by user agent.

Edit: Wanted to add this: https://forum.bitcoin.com/post299881.html

from bitcash.

merc1er avatar merc1er commented on August 19, 2024

Is it really a GET request for sending a TX? Not a POST?

Yes, for a single transaction it is a GET.
You can also use POST for multiple transactions (as per the docs on rest.bitcoin.com).

Regarding Tor, I will ask the Bitcoin.com team if they can expedite this.

from bitcash.

 avatar commented on August 19, 2024

Gotcha. Thank you!

from bitcash.

merc1er avatar merc1er commented on August 19, 2024

@teran-mckinney could you close this? 👍

from bitcash.

 avatar commented on August 19, 2024

@merc1er thanks for finding this issue! Bitcoin-com/rest.bitcoin.com#333

Good to know we have an answer now.

from bitcash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.