---
# System prepended metadata

title: V2 on-chain api
tags: [v2]

---

---
title: V2 on-chain api
tags: v2
---
# V2 on-chain api

### description
- 將資料透過 API 傳入並上鏈
### API url
- `POST '/api/v2/on-chain/data'`
```
    {
        input:{
            projectId: String,
            blockchain: String,
            network: String
        }
    }
```

### BDD

1. 檢查 api-key
2. 存入 user-data
3. call FBMS 拿 transaction_hash and transaction_date
4. 存入 on-chain-data