Skip to content

Commit 0feb235

Browse files
Add metadata and improve descriptions for Bitcoin Address and Coinpath APIs
- Added front matter including title, description, and keywords to bitcoin-address-api.md and Bitcoin-Coinpath-API.md for better SEO and clarity. - Enhanced the description of the Coinpath API to specify it operates on the Bitcoin blockchain.
1 parent 81cded5 commit 0feb235

2 files changed

Lines changed: 33 additions & 7 deletions

File tree

docs/Examples/bitcoin/Bitcoin-Coinpath-API.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
1+
---
2+
title: Bitcoin Coinpath API
3+
description: Track Bitcoin (BTC) fund flows between addresses with GraphQL coinpath queries—depth, direction, and transaction paths on the Bitcoin network.
4+
keywords:
5+
- Bitcoin coinpath
6+
- Bitcoin fund tracing
7+
- BTC transaction path
8+
- Bitcoin GraphQL API
9+
---
10+
111
# Coinpath API
212

3-
Our Bitcoin Coinpath API provides comprehensive information about money flow of addresses on the Cosmos blockchain.
13+
Our Bitcoin Coinpath API provides comprehensive information about money flow of addresses on the **Bitcoin** blockchain.
14+
15+
## Explore
416

5-
## Explore Destination of Funds from a Specific Address
17+
[Run API](https://ide.bitquery.io/Destination-of-Funds-from-a-Specific-Address-on-Bitcoin)
618

719
```
8-
query ($network: BitcoinNetwork!) {
9-
bitcoin(network: $network) {
20+
{
21+
bitcoin(network: bitcoin) {
1022
coinpath(
1123
initialAddress: {is: "bc1p4kufll9uhnpkgzuc65slcxd2qaw2hl9xecket3h8yyu4awglcsqslqaztd"}
1224
date: {after: "2023-10-10"}
13-
options: {limit: 10, desc: "block.height"}
25+
options: {limit: 10, asc: "block.height", seed: 10}
1426
) {
1527
amount(in: USD)
1628
block {
@@ -25,6 +37,10 @@ query ($network: BitcoinNetwork!) {
2537
transaction {
2638
hash
2739
}
40+
currency {
41+
name
42+
address
43+
}
2844
}
2945
}
3046
}
@@ -96,4 +112,4 @@ query ($network: BitcoinNetwork!) {
96112

97113
This query explores the relationship between two specific addresses (initialAddress and receiver) within the context of transactions that occurred after October 10, 2023. It retrieves a maximum of 10 transactions initiated from the initial address and received by the specified receiver.
98114

99-
For each transaction, the query provides details like the transferred amount in USD, block height, timestamp, currency information, sender and receiver addresses, transaction hash, and value. By analyzing these transactions, users can gain insights into the flow of funds between the two addresses and understand their financial interactions.
115+
For each transaction, the query provides details like the transferred amount in USD, block height, timestamp, currency information, sender and receiver addresses, transaction hash, and value. By analyzing these transactions, users can gain insights into the flow of funds between the two addresses and understand their financial interactions.

docs/Examples/bitcoin/bitcoin-address-api.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
---
2+
title: Bitcoin Address API — balances and UTXO activity
3+
description: Query Bitcoin addresses for balance, inputs, outputs, and USD values using Bitquery GraphQL—address stats and UTXO-based balance derivation.
4+
keywords:
5+
- Bitcoin address API
6+
- BTC balance API
7+
- Bitcoin GraphQL
8+
- UTXO Bitcoin API
9+
---
10+
111
# BTC Balance API
212

313
Our Input/Output APIs provides all the details regarding any address on Bitcoin Blockchain. To get the balance simply get all inputs and outputs and subtract (outputs - inputs). If will give you bitcoin balance. You can also get bitcoin balance in USD as we also getting usd values inputs and outputs. Remember we actually multiple usd value of bitcoin at the time of transaction as we also have historical usd price of bitcoin.
@@ -186,4 +196,4 @@ To get inflows and outflow of a bitcoin address, use following API.
186196
187197
```
188198

189-
Try this API to get inputs and outputs of a bitcoin address here.[https://ide.bitquery.io/Input-and-outputs-of-a-bitcoin-address]
199+
Try this API to get inputs and outputs of a bitcoin address here.[https://ide.bitquery.io/Input-and-outputs-of-a-bitcoin-address]

0 commit comments

Comments
 (0)