MCS 2.0 API
This is a Postman Collection for the Multi-Chain Storage API v1 endpoints. The page below describes different components of our API offering.
Last updated
This is a Postman Collection for the Multi-Chain Storage API v1 endpoints. The page below describes different components of our API offering.
Last updated
POST
https://api.multichain.storage/api/v1/user/register
Registration by Metamask wallet
Name | Type | Description |
---|---|---|
POST
https://api.multichain.storage/api/v1/user/login_by_metamask_signature
Login by signature via Metamask
GET
https://api.multichain.storage/api/v1/common/system/params
This endpoint allows you to get system config
GET
https://api.multichain.storage/api/v1/common/host/info
GET
https://api.multichain.storage/api/v1/billing/price/filecoin
This endpoint allows you to get the current exchange rate of USDC against Filecoin.
GET
https://api.filswan.com/stats/storage
This endpoint allows you to get average Filecoin storage price.
POST
https://api.multichain.storage/api/v1/storage/ipfs/upload
This endpoint allows you to upload your file to IPFS server.
GET
https://api.multichain.storage/api/v1/storage/tasks/deals
This endpoint allows you to get a list of your uploaded files.
GET
https://api.multichain.storage/api/v1/storage/deal/detail/<deal_id>
This endpoint allows you to get deal details and DAO details.
GET
https://api.multichain.storage/api/v1/storage/deal/log/<offline_deal_id>
This endpoint allows you to get offline deal logs
GET
https://api.multichain.storage/api/v1/billing/deal/lockpayment/info
This endpoint allows you to get the specific payment information by payload CID.
POST
https://api.multichain.storage/api/v1/storage/mint/info
This endpoint allows to record mint info to mcs database.
GET
https://mcs-api.filswan.com/api/v1/billing
This endpoint allows you to get the billing history related to current wallet account.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
public_key_address*
String
Wallet address of the user
nonce*
String
signature*
String
Created by nonce, private key, and public key address.
public_key_address*
String
Wallet address of the user
network*
String
Network for the chain environment
file*
Binary
file to be uploaded
duration*
String
days for the uploaded file to be kept on miner
file_type*
String
0:uploaded by user, 1:uploaded by nft
wallet_address*
String
wallet address used to pay
file_name
String
file name of the uploaded file
page_size
Number
valid integer, otherwise 10(default)
page_number
Number
if not a valid number, or <=0, then 1, else use provided value
wallet_address*
String
uploaded under this wallet
order_by
String
file_name,file_size,upload_at(default)
is_ascend
String
y:ascend, others: descend(default)
source_file_upload_id*
String
source_file_upload_id*
String
source_file_upload_id*
String
tx_hash*
String
token_id*
String
mint_address*
String
wallet_address*
String
wallet who pay the file
page_size
Number
valid integer, otherwise 10(default)
page_number
Number
valid integer, otherwise 1(default)
file_name
String
file whose file_name include the parameter
order_by
String
pay_amount,unlock_amount,file_name,pay_at(default),unlock_at,deadline
is_ascend
String
y:ascend, others: descend(default)