---
# System prepended metadata

title: manta-atlantic zkSBT & web3go

---


# api

1. total minted: POST $ENDPOINT/npo/count

resposne example:
```
{
    "count": 585762, // total minted of zkSBT of all types
    "types": [
        {
            "mintId": "1",
            "token": "zkBAB",
            "count": "61631" // total minted of zkBAB
        },
        ...
    ]
}
```

THIS API NEED TO UDPATE EVERY DAY.

2. zksbt daily info per project: POST $ENDPOINT/npo/report/zkSbtDailyMints

request example:

```
{
    "date": "2023-07-01",
    "api_key": "xxx",
    "api_value": "xxx"
}
```


response example:

```
{
    "date": "2023-07-01",
    "totalMints": 1077,  // 每天所有项目的mint总数
    "uniqAddressCount": 813, // 每天唯一的地址数
    "averMints": 1.3247232472324724, // 平均每天每个地址的mint数量
    "data": [
        {
            "token": "pompBNB",
            "count": 487
        },
        {
            "token": "zkGalxe",
            "count": 182
        },...
    ]
}
```

total mints: POST $ENDPOINT/npo/count

response: 
```
{
    "count": 530642, // total mints
    "types": [
    ...]
}
```

3. NPO transactions

POST $ENDPOINT/npo/report/zkSbtDailyTransactions

request:
```
{
    "date": "2023-06-06",
    "api_key": "xxx",
    "api_value": "xxx"
}
```

response:

```
{
    "date": "2023-06-06",
    "count": 5800, // daily transactions
    "start_block": 3821692,
    "end_block": 3828762,
    "sbtCount": 2739,
    "relayer0Count": 3061,
    "relayer1Count": 0
}
```



---

# ~~calamari chain~~

manta pay start block: 3190993

manta sbt start block: 3485700

5.Address with zkSBT amount ()
6.zkSBT minting Daily
   6.1 total minted for all zkSBT projects 
   6.2 Newly minted for all
   6.3 Newly minted for each zkSBT projects 
7.zkSBT minting Monthly with growth

### total minted zkSBT

链上 Event: `mantasbt::MintSbt`

example: https://calamari.subscan.io/event?address=&module=mantasbt&event=mintsbt&startDate=&endDate=&startBlock=&endBlock=&timeType=date&version=4300

### Address with zkSBT

`mantasbt::MintSbt` 事件的 source 字段，即为所有 mint 过 zkSBT 的用户地址。

### Newly minted for each zkSBT project

> zkSBT 有两种类型：NPO 和 POMP。这两个类型下都有子项目，但是链上 POMP 没有子项目的标识，所以暂时把所有的 POMP 子项目都认为是 POMP 大类的。
> NPO 和 POMP 都会发送 `MintSbt` 事件，但是只有 NPO 会发送 `MintSbtEvm` 事件。所以可以用 `MintSbt` 减去 `MintSbtEvm`，就是所有的 POMP 数据。

链上 Event（NPO）: `mantasbt::MintSbtEvm`

example: https://calamari.subscan.io/event?address=&module=mantasbt&event=mintsbtevm&startDate=&endDate=&startBlock=&endBlock=&timeType=date&version=4300

> `MintSbtEvm` 事件中的 mint_id 对应的子项目名称：
1:zkBAB
2:zkGalxe
3:zkArbAirdrop
4:zkReadON
5:zkLinea
6:zkCyberConnect
7:zkLineaNFT
8:zkUltiverse
9:zkTaskon
10:zkFrontier
11:zkFuturist
34:zkGetaverse
35:zkOP
51:zkKaratDao
52:zkBurgerCities

### POMP projects（优先级不高）

链上交易：mantaSbt 的 toPrivate 方法，有多种调用：
- 直接调用 toPrivate
- utility::batch(toPrivate)
- utility::batch(toPrivate, transfer)
- utility::batchAll(toPrivate)
- utility::batchAll(toPrivate, transfer)

example: https://calamari.subscan.io/extrinsic/3929038-3

> `toPrivate` 方法中的 mint_id 对应的 POMP 子项目名称：
12:pompETH
13:pompBNB
14:pompAzuki
15:pompBAYC
16:pompCryptoPunks
17:pompMilady
18:pompPudgy
19:pompSproto
21:pompEthereumUSDT
22:pompEthereumUSDC
23:pompEthereumDAI
24:pompBinanceETH
25:pompBinanceUSDT
26:pompBinanceUSDC
27:pompBinanceBUSD
28:pompBinanceDAI
29:pompOptimismETH
30:pompOptimismUSDT
31:pompOptimismUSDC
32:pompOptimismDAI
33:pompOptimismOP
36:pompEthereumLDO
37:pompEthereumMKR
38:pompEthereumUNI
39:pompEthereumRETH
40:pompEthereumStETH
41:pompEthereumWstETH
42:pompBinanceCAKE
43:pompBinanceXVS
44:pompBinanceBIFI
45:pompBinanceDODO
46:pompArbitrumARB
47:pompArbitrumUSDT
48:pompArbitrumUSDC
49:pompArbitrumDAI
50:pompEthereumHarry
53:pompBinanceCHEEL
54:pompBinanceMDAO
