Questions tagged [api]
An API is an Application Programming Interface and services often have APIs available for developers to write software which accesses information offered by the service.
663
questions
0
votes
0
answers
22
views
REST API documentation
I'm trying to use REST api of bitcoin core, i can do basic things such as getting latest block, or getting a transaction detail. But I couldn't find detailed explanation of the REST API. I checked the ...
0
votes
1
answer
22
views
walletcreatefundedpsbt declined with "Transaction amount too small" but the input is definitely not dust [duplicate]
I am trying to walletcreatefundedpsbt for the amount of (roughly) 0.00045 BTC, which is around $30 USD right now on 7 Mar 2024, and definitely does not look like dust. But I'm getting "...
3
votes
2
answers
467
views
How do I find out who sent me Bitcoin?
I'm working on creating a service where it will accept Bitcoins from a certain address and be able to manage the Bitcoin for that user.
I'm using Coinbase APIs and I can't find a simple way to find ...
0
votes
1
answer
29
views
Bitcoin API for getting an input script?
I wanted to try talking to my bitcoin node to get the input scripts and put them into a database. Does anyone have good resources on where I can look to get started?
1
vote
1
answer
39
views
How does bitcoin core API work locally (network) - bitcoinlib in python using too many web sockets
I'm trying to understand at a high level, the local network aspects of calling the bitcoin core api via bitcoinlib in python
So the context around this question is that I wanted to work on some python ...
0
votes
1
answer
83
views
What's the point of Multi Signature Addresses?
When an attacker has access to the private key of the wallet, he can dump the private keys of every address used for the multisign address(es).
So, what's the point of multi sign addresses when there'...
0
votes
1
answer
190
views
Is there any online service/API to get the complete transaction in raw form?
Is there any online service or API that allows you to get the transaction in raw form, i.e. in "byte" format? I know it can be done through bitcoin core, however, I need some online service/...
0
votes
1
answer
75
views
blockchain.com websocket not working
I started to listen to the "wss://ws.blockchain.info/inv" websocket address in the link below, but none of the transactions I made were sent to the messages. Later, when I tried the ...
1
vote
1
answer
48
views
Blockchain API not sending subscribed info
I'm having trouble receiving WebSocket messages for address-related events. Here is the code that I'm using (trackAddress gets called externally and I'm sure it sends the right thing). I also tried ...
1
vote
1
answer
98
views
Do Bitcore APIs have daily limits?
I can't find online if the bitcore API (https://github.com/bitpay/bitcore/blob/master/packages/bitcore-node/docs/api-documentation.md) has daily limits for making requests, or if there is a need to ...
-3
votes
1
answer
114
views
Get balance and TXs [closed]
How to get balances and transactions of a Bitcoin address? - Devsuite
0
votes
0
answers
42
views
There's any open API to gather the blockNumber data?
Trying to create a scrip to convert wordpress posts/pages date and display it as blockNumber instead. For context, a similar question also posted on this stack.
Do anyone knows if there's any open API ...
1
vote
1
answer
45
views
order of the details array in the output of the gettransaction wallet API call
According to https://developer.bitcoin.org/reference/rpc/gettransaction.html the details array contains a list of the outputs of that transaction. Each output has a vout. So in my tests, it seems that ...
1
vote
3
answers
1k
views
How to retrieve total BTC held in Ledger wallet
I'm new to Ledger.
As a software engineer, I'd like to write my own app (for my own personal use) that is sort of like a more basic version of Ledger Live.
I want to show my balances on my own private ...
0
votes
0
answers
58
views
How to check the number of BTC sent from one address to another via API?
I need to count the number of sent coins from an address to another address.
I found this API https://blockchain.info/rawaddr, is it enough for me, using this method, to simply calculate the "...
1
vote
3
answers
1k
views
Check public address balance
I am willing to write Python script to check for some public addresses balances. I understand that I need to access API of known exchanges (Coinbase, Binance). I also know that there will be limit of ...
1
vote
0
answers
114
views
CLI Tool or API for btc address generation given a xpub
I'd like to script a short tool on the commandline. Therefore I need all used addresses of my wallets derived from a given xpubs.
Don't like to implement it by myself. Is there an already implemented ...
0
votes
1
answer
47
views
How much does it cost to depend a transaction to another one?
How I can depend on a transaction to an unconfirmed transaction?
How much does it cost?
Do I need to use a specific API or application?
Thank you
0
votes
1
answer
72
views
Does the libsecp256k1 API expose low level functionality such as group algebra? If not why not?
Does the libsecp256k1 API expose low level functionality such as group algebra (e.g. generator point, point at infinity)? If not, why not?
This was asked by ProofOfKeags in this libsecp256k1 issue. ...
0
votes
1
answer
93
views
How can I create/provide crypto currency wallets to my users?
I am interested to know, if I want to make a facility to my website users to be able to pay/buy with crypto currencies, also to gain ability to send/receive crypto currencies together( something like ...
0
votes
1
answer
53
views
how can I get the fee percentage on buying or selling a specific amount of bitcoin at any time?
so im noob on all of this so bare with me.
im trying to test the possible net revenue of a trading algorithm/bot,
but i dont trust it enough to test it with real money, so im going to simulate how ...
2
votes
2
answers
146
views
What are bitcoin Pool APIs?
I contacted a website and asked them where they get their data for crypto like Bitcoin, as I am trying to find the place for the most up to date and reliable data on Bitcoin and other crypto. They had ...
1
vote
0
answers
70
views
Buy Bitcoin with NBitcoin c# Web App
I have been using the NBitcoin lib with c# to create a Bitcoin wallet app. I have pretty much sorted out the creation of the wallet and everything that this entails. What I need some help with is on ...
1
vote
1
answer
98
views
Where do you get work and submit solutions?
is it possible to get bitcoins using your own custom code? Is it possible to get a hash somewhere, come up with a solution on my own, and then submit the solution somewhere? I just thought the puzzle ...
1
vote
1
answer
288
views
How can I get all transactions into and out of a bitcoin address in JSON format?
For example if I use https://blockchain.info/rawaddr/$bitcoin_address, it shows only the first 100 txs. How can I get all transactions if the number of txs is greater than 100?
3
votes
1
answer
789
views
Get transactions for address
I develop an application (BitBook, https://github.com/C-Otto/BitBook) that helps users track their coins. For this, whenever I reason about some address, I need to consider all transactions that take ...
1
vote
1
answer
131
views
How is the secp256k1 API defined? In what ways is it restricted?
I'm familiar with proprietary APIs where a third party decides what data and functionality is available to developers communicating with their server.
However, secp256k1 is an open source ...
0
votes
2
answers
301
views
Unable to "sendcoins" using bitgo express apis - Windows OS
I am building an ASP.Net project (C# - .Net 4.8 - windows os - visual studio 2015).
I want to send bitcoin from one address in my wallet to another for test.
Trying to access api url :
https://test....
0
votes
1
answer
79
views
Is bitgo.com api ok for bitcoin payment? What are limitations?
I want to use https://www.bitgo.com api for my bitcoin payment.
My Questions :
Is this api working at this time?
Is this api free?
What are limitations about using this api?
EDIT :
I have 1000 ...
1
vote
1
answer
109
views
What is the flow of buying crypto on behalf of users?
I am building a crypto on-ramp for users in emerging markets that allows users to buy crypto via debit/credit cards, mobile money, etc.
What is the flow of buying crypto on behalf of users? From ...
0
votes
2
answers
82
views
Given a tx hash, is it possible to know if it's someone selling or buying bitcoin?
I'm working on a project that involves identifying sales and purchases in the Blockchain. Is there any way to do this with the blockchain.com API?
1
vote
0
answers
331
views
Can't query own node
I'm trying different ways to query my own bitcoind node on testnet but I'm failing every time.
Tried using bitcore's API and nodejs:
async function tryBitcoin() {
const data = await axios.get('...
1
vote
2
answers
79
views
Are filters available for Blockchain.com APIs?
I'm trying to get the block details of Bitcoin using block height. The API provided on the "blockchain.com" website also dumps the huge transaction list along with the response. Is there a ...
1
vote
0
answers
74
views
blockchain.com api | How generate "Legacy" & "Nested SegWit" & "Native SegWit" addresses for receive separately?
Please check out this link :
https://www.blockchain.com/api/api_receive
As you see we can generate receiving addresses for our customers using this api.
My question is what is the type of that ...
1
vote
1
answer
486
views
Default derivation path in Trezor Suite desktop app
This seems like a silly question but I could not find an answer after searching extensively. I currently have a Trezor Model One device that I'm accessing through both the Trezor Suite desktop app on ...
1
vote
1
answer
252
views
How to get list of Bitcoin Block Hashes by Block Number?
Suppose I want to obtain the block hashes for all Bitcoin blocks numbered 1 through 50,000. What would be the best way to obtain this information? I could write a web scraper to pull it off web-based ...
0
votes
1
answer
71
views
Can a full node measure bandwidth to and from its peers?
For example, can I run a full node, connect to some 8 peers, and measure my uplink and downlink bandwidth to each of my peers?
2
votes
2
answers
282
views
Bitcoin-cli responding but not curl
According to the bitcoin documentation I can make curl calls to my bitcoin node. However, whenever I run a curl command like the following (as per the docs):
curl --data-binary '{"jsonrpc": &...
0
votes
2
answers
139
views
Why in old blocks I can't see the miner address using RPC API calls?
So, I'm using Bitcoin Core RPC client version v22.0.0 and Bitcoin Core version v22.0.0.
To get the block with height 1, I call the API like this:
bitcoin-cli -datadir=/Users/dennis/Bitcoin getblock \
...
-1
votes
2
answers
864
views
Error 400 when pushing tx hex to mempool.space's API
I am using the code syntax provided by mempool.space for a POST transaction request from their website here:
https://mempool.space/api
const mempoolJS = require("@mempool/mempool.js")
const ...
1
vote
1
answer
739
views
How to set up a listener on an address, and trigger events upon receiving transaction?
I have a task where I need to set up some sort of a listener on a particular bitcoin addresses for incoming transactions, and once a transaction arrives, I need to call some function in my web service....
2
votes
1
answer
1k
views
How can I retrieve all transactions for an address using the blockchain API?
Tell me how to interact with https://www.blockchain.com/.
1). I need to withdraw all transactions from the address, my code outputs transactions only for the last day?
2). How do I add additional ...
0
votes
1
answer
146
views
What are some different ways to retrieve btc transaction information of an address using bitcoinjs?
What are some different ways to retrieve btc transaction information of an address using bitcoinjs?
I've tried using the syntax from this page (https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/...
0
votes
1
answer
1k
views
How can I get RawTX transactions?
I used to be able to get RawTX transactions on the Blockchain using the link:
https://blockchain.info/tx/60183ab915f2f4b0190605f98bd0e9f8eafe13a1c902b3ae87ecd0dfc8a599a0?format=hex
But the site ...
0
votes
1
answer
116
views
How do I use Bitcoin Core (fully synced) to "backtrack" a receive address?
I'm trying to "reverse-track" my current Bitcoin wallet to see its exact history on the blockchain, backwards.
I have a fully synced Bitcoin Core installed.
What command do I use in its ...
0
votes
0
answers
25
views
How can i list all transcation of bitcoin using API.. I need all transcations and current transactions of coin( e.g bitcoin) [duplicate]
How can i list all transaction of bitcoin using API.. I need all transactions and current transactions of coin( e.g bitcoin)
I need APIs that can give me all transaction related data of particular ...
0
votes
1
answer
96
views
Fuzzing descriptor wallet RPCs
Is SQL injection a possibility while using JSON-RPC and Descriptor wallet RPCs?
Consider one parameter in some descriptor wallet RPC is vulnerable and returns some data with SQL queries that shouldn't ...
0
votes
1
answer
191
views
Python code error : Hash greater than Target
While trying to run a reference code from GitHUb i am getting an error "Cannot Mine-Hash is greater than Target". As i am just a beginner with coding i am not able to figure this out. Kindly ...
0
votes
2
answers
182
views
How do APIs know Bitcoin transaction and wallet types?
I am working on a university project, and I noticed that paid crypto APIs like Whale Alert or Whale Trace return information about transaction types (like exchange), sender and receiver wallets (like ...
1
vote
1
answer
177
views
How to find the secp256k1 api?
I want to use the secp256k1 library https://github.com/bitcoin-core/secp256k1 (or, more specifically I want to use the python wrapper https://github.com/electrumsv/electrumsv-secp256k1).
I have a ...