# BRC7648 indexer

This BRC7648 indexer works by tracking and indexing valid BRC7648 inscription data on bitcoin transaction data. A valid BRC7648 is described [here](https://www.notion.so/BRC7648-dfe6ba1d5a9f444ba2b28f2d67b693a9?pvs=21)

The following API endpoints can be used to query the BRC7648 indexed.

## API Endpoints：

***

### GET [/brc7648/v1/tokens](https://labs.muadao.build/brc7648/v1/tokens)

#### Listing of all deployed BRC7648 :

Examples：

{% embed url="<https://labs.muadao.build/brc7648/v1/tokens?network=testnet>" %}

Optional Query String:

network=testnet for testnet , default is mainnet.

limit and offset can be used for pagination. Example limit=100\&offset=20

***

### GET [/brc7648/v1/token](https://labs.muadao.build/brc7648/v1/tokens)/:deployid

### Detailed Info of deployed BRC7648:

####

Required:

:deployid , the deployed BRC7648 inscription id

Optional Query String:

network=testnet for testnet , default is mainnet.

Example:

{% embed url="<https://labs.muadao.build/brc7648/v1/token/a4364fa76900946feccbe36e84de0a821134fcc5ba622b0d44c64df3520de896i0?network=testnet>" %}

***

### GET /brc7648/v1/holders/:deployid

### Get the list of holders of the deployed BRC7648

####

Required:

:deployid , the deployed BRC7648 inscription id

Optional Query String:

network=testnet for testnet , default is mainnet.

limit and offset can be used for pagination. Example limit=100\&offset=20

Example:

{% embed url="<https://labs.muadao.build/brc7648/v1/holders/a4364fa76900946feccbe36e84de0a821134fcc5ba622b0d44c64df3520de896i0?network=testnet>" %}

***

### GET /brc7648/v1/mints/:deployid

### Get the list of mints given the deployed inscription ID:

####

Required:

:deployid , the deployed BRC7648 inscription id

Optional Query String:

network=testnet for testnet , default is mainnet.

limit and offset can be used for pagination. Example limit=100\&offset=20

Example:

{% embed url="<https://labs.muadao.build/brc7648/v1/mints/a4364fa76900946feccbe36e84de0a821134fcc5ba622b0d44c64df3520de896i0?network=testnet>" %}

***

### GET /brc7648/v1/address/:address

### Get the list of mints given the address:

####

Required:

:address, the address of the BTC wallet.

Optional Query String:

network=testnet for testnet , default is mainnet.

limit and offset can be used for pagination. Example limit=100\&offset=20

{% embed url="<https://labs.muadao.build/brc7648/v1/address/tb1qqxlkjnqepqz90qnfd29zcr0kvg6z3drlmzf2f0?network=testnet>" %}
