WEMIX3.0
Search…
ERC-721 APIs

Get ERC721 Token List for a single address

Note: When called with no limit & offset, the default of 50 latest transactions will be returned.

REQUEST

GET https://microscopeapi.wemix.com/erc-721/{address_hash}/tokens
Content-Type
application/json
api-key
Your API Key

QUERY

limit
Maximum number of record will retrieve
offset
Start retrieve record

RESPONSE

{
"count": 6,
"next": null,
"previous": null,
"results": [
{
"owner": "0x01Bdda6E1765FB34B83FB98801a6e68b55627Df3",
"contract_address": "0x01Bdda6E1765FB34B83FB98801a6e68b55627Df3",
"token_id": "1",
"token_uri": "ipfs://QmZX1HDXGRQunF3SP4hLVCofxa7Z8hyKghszJidVEpvSib",
"token_name": "TestNFT",
"token_symbol": "TN2",
"token_decimals": 0
},
{
"owner": "0x7344B383EC165F496C6fb82b8f467112dd557609",
"contract_address": "0x7344B383EC165F496C6fb82b8f467112dd557609",
"token_id": "11",
"token_uri": "ipfs://QmSiJFGeUUWWDcaGpKK95Uv2J3i1Z9MMdC1fJHSDYeBiW1/metadata.json",
"token_name": "test",
"token_symbol": "TNT",
"token_decimals": 0
},
{
"owner": "0x7aa8060623616989F5D67F2f2844e54cc9b00833",
"contract_address": "0x7aa8060623616989F5D67F2f2844e54cc9b00833",
"token_id": "40",
"token_uri": "ipfs://TestNFT/40",
"token_name": "TestNFT",
"token_symbol": "TN",
"token_decimals": 0
},
{
"owner": "0x7aa8060623616989F5D67F2f2844e54cc9b00833",
"contract_address": "0x7aa8060623616989F5D67F2f2844e54cc9b00833",
"token_id": "39",
"token_uri": "ipfs://TestNFT/39",
"token_name": "TestNFT",
"token_symbol": "TN",
"token_decimals": 0
},
{
"owner": "0x7aa8060623616989F5D67F2f2844e54cc9b00833",
"contract_address": "0x7aa8060623616989F5D67F2f2844e54cc9b00833",
"token_id": "38",
"token_uri": "ipfs://TestNFT/38",
"token_name": "TestNFT",
"token_symbol": "TN",
"token_decimals": 0
},
{
"owner": "0x7aa8060623616989F5D67F2f2844e54cc9b00833",
"contract_address": "0x7aa8060623616989F5D67F2f2844e54cc9b00833",
"token_id": "37",
"token_uri": "ipfs://TestNFT/37",
"token_name": "TestNFT",
"token_symbol": "TN",
"token_decimals": 0
}
]
}

Get ERC721 Token Inventory of a specific ERC721 contract

Note: When called with no limit & offset, the default of 50 latest transactions will be returned.

REQUEST

GET https://microscopeapi.wemix.com/erc-721/{contract_address}/inventory

HEADER

Content-Type
application/json
api-key
Your API Key

QUERY

limit
Maximum number of record will retrieve
offset
Start retrieve record

RESPONSE

{
"count": 5,
"next": null,
"previous": null,
"token_name": "TestNFT",
"token_symbol": null,
"results": [
{
"holder_address": "0xfc227DACE9856602AE9d6f366C22f956a1524fCE",
"token_id": "40",
"token_uri": "ipfs://TestNFT/40"
},
{
"holder_address": "0xfc227DACE9856602AE9d6f366C22f956a1524fCE",
"token_id": "39",
"token_uri": "ipfs://TestNFT/39"
},
{
"holder_address": "0xfc227DACE9856602AE9d6f366C22f956a1524fCE",
"token_id": "38",
"token_uri": "ipfs://TestNFT/38"
},
{
"holder_address": "0xfc227DACE9856602AE9d6f366C22f956a1524fCE",
"token_id": "37",
"token_uri": "ipfs://TestNFT/37"
},
{
"holder_address": "0x6E6d0d51aD0Bf52326B7B3f6Ed395083182543Bd",
"token_id": "12",
"token_uri": "ipfs://TestNFT/12"
}
]
}

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

Note: When called with no limit & offset, the default of 50 latest transactions will be returned.

REQUEST

GET https://microscopeapi.wemix.com/erc-721/{contract_address}/contracts

HEADER

Content-Type
application/json
api-key
Your API Key

QUERY

limit
Maximum number of record will retrieve
offset
Start retrieve record

RESPONSE

{
"count": 3,
"next": null,
"previous": null,
"results": [
{
"token_address": "0x01Bdda6E1765FB34B83FB98801a6e68b55627Df3",
"token_name": "TestNFT",
"token_symbol": "TN2"
},
{
"token_address": "0x7344B383EC165F496C6fb82b8f467112dd557609",
"token_name": "test",
"token_symbol": "TNT"
},
{
"token_address": "0x7aa8060623616989F5D67F2f2844e54cc9b00833",
"token_name": "TestNFT",
"token_symbol": "TN"
}
]
}

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

Note: When called with no limit & offset, the default of 50 latest transactions will be returned.

REQUEST

GET https://microscopeapi.wemix.com/erc-721/{address_hash}/token-transfer

HEADER

Content-Type
application/json
api-key
Your API Key

QUERY

limit
Maximum number of record will retrieve
offset
Start retrieve record

RESPONSE

{
"count": 10,
"next": "http://api.wemix.com/public/erc-721/0xfc227DACE9856602AE9d6f366C22f956a1524fCE/token-transfer?limit=3&offset=3"e
"previous": null,
"results": [
{
"nonce": "555",
"block_number": 13988837,
"timestamp": "2021-06-02T00:51:25Z",
"transaction_hash": "0x296366c3219577c632c77dbf431c113a41847451dafc113bbad340783b505eae",
"block_hash": "0xea94630c41219e93f5050b26d279a29d0d9433971765bf97d80f463570aa9d3d",
"sender": "0x0000000000000000000000000000000000000000",
"receiver": "0xfc227DACE9856602AE9d6f366C22f956a1524fCE",
"contract_address": "0x01Bdda6E1765FB34B83FB98801a6e68b55627Df3",
"token_id": "1",
"token_uri": "ipfs://QmZX1HDXGRQunF3SP4hLVCofxa7Z8hyKghszJidVEpvSib",
"token_name": "TestNFT",
"token_symbol": "TN2",
"token_decimals": 0,
"transaction_index": 0,
"gas": 236985,
"gas_price": "0",
"gas_used": 236985,
"cumulative_gas_used": 236985,
"input": "0x01382807000000000000000000000000fc227dace9856602ae9d6f366c22f956a1524fce0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002e516d5a5831484458475251756e4633535034684c56436f667861375a3868794b6768737a4a696456457076536962000000000000000000000000000000000000",
"confirmations": 24758
},
{
"nonce": "0",
"block_number": 13902675,
"timestamp": "2021-05-28T01:49:14Z",
"transaction_hash": "0x93433998925b99145e9f03d0871213f725522b985243aedb9f426d765103165b",
"block_hash": "0x18571375b8ad2d349630c08e0e6796018bb340e5836c3aa095afd8c51b144764",
"sender": "0x6E6d0d51aD0Bf52326B7B3f6Ed395083182543Bd",
"receiver": "0xfc227DACE9856602AE9d6f366C22f956a1524fCE",
"contract_address": "0x7344B383EC165F496C6fb82b8f467112dd557609",
"token_id": "11",
"token_uri": "ipfs://QmSiJFGeUUWWDcaGpKK95Uv2J3i1Z9MMdC1fJHSDYeBiW1/metadata.json",
"token_name": "test",
"token_symbol": "TNT",
"token_decimals": 0,
"transaction_index": 0,
"gas": 122389,
"gas_price": "0",
"gas_used": 92389,
"cumulative_gas_used": 92389,
"input": "0x23b872dd0000000000000000000000006e6d0d51ad0bf52326b7b3f6ed395083182543bd000000000000000000000000fc227dace9856602ae9d6f366c22f956a1524fce000000000000000000000000000000000000000000000000000000000000000b",
"confirmations": 110920
},
{
"nonce": "0",
"block_number": 13901828,
"timestamp": "2021-05-28T00:39:44Z",
"transaction_hash": "0xea9ccb90c3c1064ed82885abef8a3956767f9473b443755b76e1106d2e6e5ec5",
"block_hash": "0x1ddf0929890ae89a9a7100b5eccf6735a6747a381a928faa70879154e321e04c",
"sender": "0x0000000000000000000000000000000000000000",
"receiver": "0xfc227DACE9856602AE9d6f366C22f956a1524fCE",
"contract_address": "0x7aa8060623616989F5D67F2f2844e54cc9b00833",
"token_id": "40",
"token_uri": "ipfs://TestNFT/40",
"token_name": "TestNFT",
"token_symbol": "TN",
"token_decimals": 0,
"transaction_index": 0,
"gas": 6721975,
"gas_price": "0",
"gas_used": 147427,
"cumulative_gas_used": 147427,
"input": "0xc21ab7f9000000000000000000000000fc227dace9856602ae9d6f366c22f956a1524fce",
"confirmations": 111767
}
]
}
Last modified 2d ago