Inventory API

get
Get Assets

https://api.mch.plus/:network/:owner/:assetContract
 owner addressのコントラクトアドレス毎のインベントリを取得
Request
Response
Request
Path Parameters
network
required
string
ETH network(mainnet, rinkeby, ropsten)を指定
owner
required
string
owner addressを指定
assetContract
required
string
NFTのcontractAddressを指定
Headers
Content-Type
optional
string
application/json
Response
200: OK
Cake successfully retrieved.
{"contract":"0x273f7f8e6489682df756151f5525576e322d51a3","id":20400214,"owner":"0xa8141206b6b9d122f0bff10e1641e173a672e29d"}

get
Get Contracts

https://api.mch.plus/:network/:owner
owner addressが持つアセットのコントラクトアドレスを取得
Request
Response
Request
Path Parameters
network
required
string
ETH network(mainnet, rinkeby, ropsten)を指定
owner
required
string
owner addressを指定
Headers
Conetent-Type
optional
string
application/json
Response
200: OK
["0xdceaf1652a131f32a821468dc03a92df0edd86ea"]