trezor / blockbook

:blue_book: Trezor address/account balance backend
https://trezor.io
GNU Affero General Public License v3.0
650 stars 645 forks source link

RPC curl for blockbook bitcoin #1117

Closed adityaNirvana closed 1 month ago

adityaNirvana commented 1 month ago

I am able to acces UI to blockbook bitcoin https://x.x.x.x:9130 but could not make curl request to it


--header 'Content-Type: application/json' \
--header 'Cookie: secondary_coin=USD=false' \
--data '{"method": "bb_getutxos", "params": ["bc1qwfgdjyy95aay2686fn74h6a4nu9eev6np7q4fn204dkj3274frlqrskvx0", {"confirmed": true}]}'```

Response - method not found if I do curl request to x.x.x.x:8030
Response - blockbooks's web page if I do curl request to https://x.x.x.x:9130
martinboehm commented 1 month ago

Sorry, I am not able to answer this question.

adityaNirvana commented 1 month ago

please tag someone who will be able to answer this ?