WEMIX3.0
WEMIX3.0 (KOR)
Search…
⌃K

ERC-721 APIs

Get ERC721 Token List for a single address

URI

network
uri
Mainnet
GET https://explorerapi.wemix.com/v1/erc-721/{address_hash}/tokens
Testnet
GET https://explorerapi.test.wemix.com/v1/erc-721/{address_hash}/tokens

REQUEST PARAMETER

  • HEADER
key
value
required
api-key
api-key
true
  • PATH VARIABLE
key
type
value
required
address_hash
String
address of token holder
true
  • QUERY STRING
key
type
value
required
limit
Number
Maximum number of record will retrieve Default: 50
false
offset
Number
Start retrieve record Default: 0
false

REQUEST SAMPLE

GET https://explorerapi.test.wemix.com/v1/erc-721/0x3D81181729C22C934396DFBa6E543b369ccdB0Ce/tokens
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539

RESPONSE PARAMETER

key
type
value
status
String
Status of request
message
String
Message of request
results
Json
Results of request
results.count
String
Total count of ERC-721 List
results.data.contract_address
String
Address of token contract
results.data.token_id
String
ID of token
results.data.token_uri
String
URI of token
results.data.token_name
String
Name of token
results.data.token_symbol
String
Symbol of token
results.data.token_decimals
String
Decimals of token

RESPONSE SAMPLE

{
"status": "200",
"message": "success",
"results": {
"count": "6",
"data": [
{
"owner": "0x3d81181729c22c934396dfba6e543b369ccdb0ce",
"contract_address": "0x2E209993413f65bF06fD2a97816D46391606f046",
"token_id": "6",
"token_uri": "/Users/chunjunghyun/coinplug/ddm-nft-project/nft-datas/metadatas/6",
"token_name": "DDMNFT",
"token_symbol": "DDMNFT",
"token_decimals": "0"
},
{
"owner": "0x3d81181729c22c934396dfba6e543b369ccdb0ce",
"contract_address": "0x2E209993413f65bF06fD2a97816D46391606f046",
"token_id": "5",
"token_uri": null,
"token_name": "DDMNFT",
"token_symbol": "DDMNFT",
"token_decimals": "0"
},
{
"owner": "0x3d81181729c22c934396dfba6e543b369ccdb0ce",
"contract_address": "0x2E209993413f65bF06fD2a97816D46391606f046",
"token_id": "4",
"token_uri": "/Users/chunjunghyun/coinplug/ddm-nft-project/nft-datas/metadatas/4",
"token_name": "DDMNFT",
"token_symbol": "DDMNFT",
"token_decimals": "0"
},
{
"owner": "0x3d81181729c22c934396dfba6e543b369ccdb0ce",
"contract_address": "0x2E209993413f65bF06fD2a97816D46391606f046",
"token_id": "3",
"token_uri": "/Users/chunjunghyun/coinplug/ddm-nft-project/nft-datas/metadatas/3",
"token_name": "DDMNFT",
"token_symbol": "DDMNFT",
"token_decimals": "0"
},
{
"owner": "0x3d81181729c22c934396dfba6e543b369ccdb0ce",
"contract_address": "0x2E209993413f65bF06fD2a97816D46391606f046",
"token_id": "2",
"token_uri": "/Users/chunjunghyun/coinplug/ddm-nft-project/nft-datas/metadatas/2",
"token_name": "DDMNFT",
"token_symbol": "DDMNFT",
"token_decimals": "0"
},
{
"owner": "0x3d81181729c22c934396dfba6e543b369ccdb0ce",
"contract_address": "0x2E209993413f65bF06fD2a97816D46391606f046",
"token_id": "1",
"token_uri": "/Users/chunjunghyun/coinplug/ddm-nft-project/nft-datas/metadatas/1",
"token_name": "DDMNFT",
"token_symbol": "DDMNFT",
"token_decimals": "0"
}
]
}
}

Get ERC721 Token Inventory of a specific ERC721 contract

URI

network
uri
Mainnet
GET https://explorerapi.wemix.com/v1/erc-721/{contract_address}/inventory
Testnet
GET https://explorerapi.test.wemix.com/v1/erc-721/{contract_address}/inventory

REQUEST PARAMETER

  • HEADER
key
value
required
api-key
api-key
true
  • PATH VARIABLE
key
type
value
required
contract_address
String
Contract address that requires inventory list
true
  • QUERY STRING
key
type
value
required
limit
Number
Maximum number of record will retrieve Default: 50
false
offset
Number
Start retrieve record Default: 0
false

REQUEST SAMPLE

GET https://explorerapi.test.wemix.com/v1/erc-721/0xcfBD182E41A3D1D6AFe1717d4420e3517C39c0D4/inventory
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539

RESPONSE PARAMETER

key
type
value
status
String
Status of request
message
String
Message of request
results
List<Object>
Results of request
results.count
String
Count of inventory
results.token_name
String
Name of token
results.token_symbol
String
Symbol of token
results.data
List<Object>
List of data
results.data.holder_address
String
Address of holder
results.data.token_id
String
ID of token
results.data.token_uri
String
URI of token

RESPONSE SAMPLE

{
"status": "200",
"message": "success",
"results": {
"count": "9",
"data": [
{
"holder_address": "0x7A8519fE4A25521e4f7692489149BEe8864c6935",
"token_id": "15",
"token_uri": "ipfs://QmaFZZ6hqgbNbJV9DFcyDmpiWM7AhuUmfFdNg5V523XfSG"
},
{
"holder_address": "0x7A8519fE4A25521e4f7692489149BEe8864c6935",
"token_id": "8",
"token_uri": "ipfs://QmYms7ngi72bfaZDnCSKmz1matSTa19rqAJftSJ8Q4jP97"
},
{
"holder_address": "0x7A8519fE4A25521e4f7692489149BEe8864c6935",
"token_id": "7",
"token_uri": "ipfs://QmTuhZUysPL96kP3jvvDXi39gPwtqMh1SHjjZ5sTNTJJiz"
},
{
"holder_address": "0x7A8519fE4A25521e4f7692489149BEe8864c6935",
"token_id": "6",
"token_uri": "ipfs://QmPtR2as3CkfmHUQif9WFdFqTyFbhdy8bRugG2yu6WwgsR"
},
{
"holder_address": "0x7A8519fE4A25521e4f7692489149BEe8864c6935",
"token_id": "5",
"token_uri": "ipfs://QmVZVQPBHiNJcUbz6MaGLLqNM1k8G2EWS69Vp8F2UAVpW3"
},
{
"holder_address": "0x7A8519fE4A25521e4f7692489149BEe8864c6935",
"token_id": "4",
"token_uri": "ipfs://Qmba7uG1GhQQAhZemSF1zgP6qdY97Xx6vMfUWAw9uQNH6j"
},
{
"holder_address": "0x7A8519fE4A25521e4f7692489149BEe8864c6935",
"token_id": "3",
"token_uri": "ipfs://QmX8yhp4mG8jAwpNuDzt36AwvGHu9y1eeQqkgSaNMEbu9X"
},
{
"holder_address": "0x7A8519fE4A25521e4f7692489149BEe8864c6935",
"token_id": "2",
"token_uri": "ipfs://QmSzEjELVEkL3PyTLKN4xuRGtjgnCwQWGDSFhAE2Dirjc6"
},
{
"holder_address": "0x7A8519fE4A25521e4f7692489149BEe8864c6935",
"token_id": "1",
"token_uri": "ipfs://QmPrj8AXnaWhpDJmgCF9svis8P5sKmMGDmVA8JqoYCWyLm"
}
],
"token_name": "WEMIX NFT",
"token_symbol": "WNFT"
}
}

Get non-zero balance ERC721 Contract List for a single address

URI

network
uri
Mainnet
GET https://explorerapi.wemix.com/v1/erc-721/{address_hash}/contracts
Testnet
GET https://explorerapi.test.wemix.com/v1/erc-721/{address_hash}/contracts

REQUEST PARAMETER

  • HEADER
key
value
required
api-key
api-key
true
  • PATH VARIABLE
key
type
value
required
address_hash
String
address of token holder
true
  • QUERY STRING
key
type
value
required
limit
Number
Maximum number of record will retrieve Default: 50
false
offset
Number
Start retrieve record Default: 0
false

REQUEST SAMPLE

GET https://explorerapi.test.wemix.com/v1/erc-721/0x88F7b71B92ec8ad6E516cE537e0C7204725FE0e5/contracts
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539

RESPONSE PARAMETER

key
type
value
status
String
Status of request
message
String
Message of request
results
Json
Results of request
results.count
String
Count of contract
results.data
List<Object>
List of data
results.data.token_address
String
Address of the token
results.data.token_name
String
Name of token
results.data.token_symbol
String
Symbol of token

RESPONSE SAMPLE

{
"status": "200",
"message": "success",
"results": {
"count": "2",
"data": [
{
"token_address": "0x3514A518463D7B300D22E1aFb135c68CEB9B20C6",
"token_name": "MintNFTs",
"token_symbol": "MNFT"
},
{
"token_address": "0x52060Cd5d88ABbf51b6dF8e8AF5FB2f17bCdACEF",
"token_name": "IOSNFTs",
"token_symbol": "IOSNFT"
}
]
}
}

Get a list of "ERC721 - Token Transfer Events" by user address

URI

network
uri
Mainnet
GET https://explorerapi.wemix.com/v1/erc-721/{address_hash}/token-transfer
Testnet
GET https://explorerapi.test.wemix.com/v1/erc-721/{address_hash}/token-transfer

REQUEST PARAMETER

  • HEADER
key
value
required
api-key
api-key
true
  • PATH VARIABLE
key
value
required
address_hash
  • Address(sender/receiver/contract)
  • Transaction Address
true
  • QUERY STRING
key
type
value
required
limit
Number
Maximum number of record will retrieve Default: 50
false
offset
Number
Start retrieve record Default: 0
false
startBlock
Number
Start Block
true
endBlock
Number
End Block
Default : latest
false

REQUEST SAMPLE

GET https://explorerapi.wemix.com/v1/erc-721/0xcf3C2104DF83d92C845d71Be6354266b222295aD/token-transfer
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539

RESPONSE PARAMETER

key
type
value
status
String
Status of request
message
String
Message of request
results
Json
Results of request
results.count
String
Total count of token transfer list
results.data
List<Object>
List of data
results.data.nonce
String
Number of transaction generation requests
results.data.timestamp
String
UTC time when the transaction occurred
results.data.sender
String
Address of sender
results.data.receiver
String
Address of receiver
results.data.confirmations
String
Number of block's confirmation
results.data.standard
String
Token Type
- ERC-20
- ERC-721
results.data.block_number
String
Block number
results.data.transaction_hash
String
Hash of transaction
results.data.block_hash
String
Hash of block
results.data.token_address
String
Address of token
results.data.token_id
String
ID of token
results.data.token_uri
String
URI of token
results.data.token_name
String
Name of token
results.data.token_symbol
String
Symbol of token
results.data.token_decimals
String
Decimals of token
results.data.transaction_index
String
Index of transaction
results.data.gas_limit
String
Gas limit of transaction
results.data.gas_price
String
Gas price of transaction
results.data.gas_used
String
Total amount of Gas used transactions
results.data.cumulative_gas_used
String
Total amount of gas used when transaction was executed in the block.

RESPONSE SAMPLE

{
"status": "200",
"message": "success",
"results": {
"count": "374",
"data": [
{
"nonce": "578",
"timestamp": "2022-08-30T09:26:34Z",
"sender": "0x0000000000000000000000000000000000000000",
"receiver": "0xcf3C2104DF83d92C845d71Be6354266b222295aD",
"confirmations": "1720071",
"standard": "ERC-721",
"block_number": "3799248",
"transaction_hash": "0x65eddb2875a162388e7932a670b042cd1ba3dbcef3b109c3ed03a6c3086b323e",
"block_hash": "0x82edfecc619c34d58443f984df3feb41c67f0f444a265aafb23530acb4041709",
"token_address": "0xDB0A2441B21d1aE9E550E2A288867561208f9655",
"token_id": "110",
"token_uri": "/Users/trident/Projects/DDM/ddm-nft-data/metadata/110",
"token_name": "DDMNFT",
"token_symbol": "DDMNFT",
"token_decimals": "0",
"transaction_index": "0",
"gas_limit": "222080",
"gas_price": "0",
"gas_used": "222080",
"cumulative_gas_used": "222080"
},
...
]
}
Last modified 9d ago