Get Balance for a Single Address
Returns the Wemix balance of a given address.
Copy https://api.wemixscan.com/api
?module=account
&action=balance
&address=0x81BF552f9Fc83e88012d6C3ab84cF1946Bc55FD0
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser
Request Response
Sample response
Copy {
"status":"1",
"message":"OK",
"result":"1301609263283025783793"
}
Get Wemix Balance for Multiple Addresses in a Single Call
Returns the balance of the accounts from a list of addresses.
Copy https://api.wemixscan.com/api
?module=account
&action=balancemulti
&address=0xddbd2b932c763ba5b1b7ae3b362eac3e8d40121a,0x63a9975ba31b0b9626b34300f7f627147df1f526,0x198ef1ec325a96cc354c7266a038be8b5c558f67
&tag=latest
&apikey=YourApiKeyToken
Request Response
Sample Response
Copy {
"status":"1",
"message":"OK",
"result":[
{
"account":"0xddbd2b932c763ba5b1b7ae3b362eac3e8d40121a",
"balance":"40891626854930000000000"
},
{
"account":"0x63a9975ba31b0b9626b34300f7f627147df1f526",
"balance":"332567136222827062478"
},
{
"account":"0x198ef1ec325a96cc354c7266a038be8b5c558f67",
"balance":"0"
}
]
}
Get a list of 'Normal' Transactions By Address
Returns the list of transactions performed by an address, with optional pagination.
Copy https://api.wemixscan.com/api
?module=account
&action=txlist
&address=0xbdC059808A6c7065b7CA686e9A3FDB52c076e4a7
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "28374143",
"timeStamp": "1694608828",
"hash": "0xcb97ad41627e924ff45eea1472fbcfee99ff74e2d9581330f9671e9392397d07",
"nonce": "0",
"blockHash": "0xdfca588986b4f99eb7949c94987886a39ca0dd3e0f9861c8e2ed68c1a34bbc80",
"transactionIndex": "12",
"from": "0xbdc059808a6c7065b7ca686e9a3fdb52c076e4a7",
"to": "0x8e81fcc2d4a3baa0ee9044e0d7e36f59c9bba9c1",
"value": "0",
"gas": "10000000",
"gasPrice": "100000000001",
"isError": "0",
"txreceipt_status": "1",
"input": "0x095ea7b300000000000000000000000080a5a916fb355a8758f0a3e47891dc288dac2665ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
"contractAddress": "",
"cumulativeGasUsed": "1149140",
"gasUsed": "46637",
"confirmations": "1194806",
"methodId": "0x095ea7b3",
"functionName": "approve(address spender,uint256 amount)"
},
{
"blockNumber": "28374144",
"timeStamp": "1694608829",
"hash": "0x80e0a39832af36c28d84e02b53cab0066d6666f67b5d70b46a1177e666dece31",
"nonce": "1",
"blockHash": "0x4d1e64dd25cdddd7ebee08531430e2fa5ae3172ddc69d57583993f07fbd0645b",
"transactionIndex": "13",
"from": "0xbdc059808a6c7065b7ca686e9a3fdb52c076e4a7",
"to": "0x7d72b22a74a216af4a002a1095c8c707d6ec1c5f",
"value": "0",
"gas": "10000000",
"gasPrice": "100000000001",
"isError": "0",
"txreceipt_status": "1",
"input": "0x095ea7b300000000000000000000000080a5a916fb355a8758f0a3e47891dc288dac2665ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
"contractAddress": "",
"cumulativeGasUsed": "1336541",
"gasUsed": "46569",
"confirmations": "1194805",
"methodId": "0x095ea7b3",
"functionName": "approve(address spender,uint256 amount)"
}
]
}
Get a list of 'Internal' Transactions by Address
Returns the list of internal transactions performed by an address, with optional pagination.
Copy https://api.wemixscan.com/api
?module=account
&action=txlistinternal
&address=0xbdC059808A6c7065b7CA686e9A3FDB52c076e4a7
&startblock=0
&endblock=2702578
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "28374035",
"timeStamp": "1694608720",
"hash": "0xdf92ad05decf400c48ff85f2bdaf7f5a94b72d1cc6400e0f4a0dca3b73f22f5b",
"from": "0x445f863df0090f423a6d7005581e30d5841e4d6d",
"to": "0xbdc059808a6c7065b7ca686e9a3fdb52c076e4a7",
"value": "733588123554000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "235399",
"gasUsed": "0",
"traceId": "0_1_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "28378614",
"timeStamp": "1694613299",
"hash": "0x1a18937332ea3c2900646f472649bcfb3cd032ca2c1bfd613c2ce9c64b835f58",
"from": "0x18e022a4515c059d916ee7bea465da92e813cf9a",
"to": "0xbdc059808a6c7065b7ca686e9a3fdb52c076e4a7",
"value": "7263131000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "19306537",
"gasUsed": "0",
"traceId": "0_1_1",
"isError": "0",
"errCode": ""
}
]
}
Get 'Internal Transactions' by Transaction Hash
Returns the list of internal transactions performed within a transaction.
Copy https://api.wemixscan.com/api
?module=account
&action=txlistinternal
&txhash=0x3b2e5e684dc84e0b1db54b081305044a80c837c611a5adeb04beeaa8300cff7e
&apikey=YourApiKeyToken
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "29564214",
"timeStamp": "1695798899",
"from": "0x18e022a4515c059d916ee7bea465da92e813cf9a",
"to": "0xbdc059808a6c7065b7ca686e9a3fdb52c076e4a7",
"value": "32175432000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "19323370",
"gasUsed": "0",
"isError": "0",
"errCode": ""
}
]
}
The isError
field returns 0
for successful transactions and 1
for rejected/cancelled transactions.
Get "Internal Transactions" by Block Range
Returns the list of internal transactions performed within a block range, with optional pagination.
Copy https://api.wemixscan.com/api
?module=account
&action=txlistinternal
&startblock=13481773
&endblock=13491773
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "13481774",
"timeStamp": "1679716484",
"hash": "0x64a3eec1bbf2d6e78238b8ed7ec6c1cf90b3f790ef9db63b2dc4bb05bace3421",
"from": "0xfde44c243c392ffa1eec20091d68fcb39c209e67",
"to": "0x7587fc99e9e9e072d6a1713c5c02cec48c5b99f3",
"value": "2667983930152519571",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "2300",
"gasUsed": "0",
"traceId": "0_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "13481802",
"timeStamp": "1679716513",
"hash": "0x6423cfdbb3cb976250b36c1411ee0d41a688312f95c3510fbf22135e58d3ffc2",
"from": "0xfde44c243c392ffa1eec20091d68fcb39c209e67",
"to": "0x99e0b7da2c35d508738d5f807274c1c1f347cbd4",
"value": "84261442786069651000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "2300",
"gasUsed": "0",
"traceId": "0_1",
"isError": "0",
"errCode": ""
}
]
}
The isError
field returns 0
for successful transactions and 1
for rejected/cancelled transactions.
Get a list of 'ERC20 - Token Transfer Events' by Address
Returns the list of ERC-20 tokens transferred by an address, with optional filtering by token contract.
Copy https://api.wemixscan.com/api
?module=account
&action=tokentx
&contractaddress=0x7d72b22a74a216af4a002a1095c8c707d6ec1c5f
&address=0x8e52493fe965eb55233163f8f9da81f38d6affdd
&page=1
&offset=100
&startblock=0
&endblock=latest
&sort=asc
&apikey=YourApiKeyToken
Usage:
ERC-20 transfers from an address , specify the address
parameter
ERC-20 transfers from a contract address , specify the contract address
parameter
ERC-20 transfers from an address filtered by a token contract , specify both address
and contract address
parameters.
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "28962371",
"timeStamp": "1695197056",
"hash": "0xdbf699cdccef5ad71d5e8f5f127f32cf2f6a442b7b905b6a518ef2642f85d868",
"nonce": "368772",
"blockHash": "0x1c61a6dfea63ff85745254311921e982ad70bab0dd1afbf0789e53db0b13bdcb",
"from": "0x00caec2e118abc4c510440a8d1ac8565fec0180c",
"contractAddress": "0x7d72b22a74a216af4a002a1095c8c707d6ec1c5f",
"to": "0x8e52493fe965eb55233163f8f9da81f38d6affdd",
"value": "7446812",
"tokenName": "Wrapped Wemix",
"tokenSymbol": "WWEMIX",
"tokenDecimal": "18",
"transactionIndex": "14",
"gas": "10000000",
"gasPrice": "100000000001",
"gasUsed": "115111",
"cumulativeGasUsed": "1332984",
"input": "deprecated",
"confirmations": "607926"
},
{
"blockNumber": "28962504",
"timeStamp": "1695197190",
"hash": "0x7fd4554ae52ce41263c6f1a14ff55ded3ac9d514903fff70103e1fe2fc88eb0e",
"nonce": "368774",
"blockHash": "0x68e9b1ca8808f0513828382a4fb53df034e39ebec48141bf2ac48903fcfcd608",
"from": "0x00caec2e118abc4c510440a8d1ac8565fec0180c",
"contractAddress": "0x7d72b22a74a216af4a002a1095c8c707d6ec1c5f",
"to": "0x8e52493fe965eb55233163f8f9da81f38d6affdd",
"value": "7960050135120997426",
"tokenName": "Wrapped Wemix",
"tokenSymbol": "WWEMIX",
"tokenDecimal": "18",
"transactionIndex": "11",
"gas": "10000000",
"gasPrice": "100000000001",
"gasUsed": "93271",
"cumulativeGasUsed": "1097453",
"input": "deprecated",
"confirmations": "607793"
}
]
}
Get a list of 'ERC721 - Token Transfer Events' by Address
Returns the list of ERC-721 ( NFT ) tokens transferred by an address, with optional filtering by token contract.
Copy https://api.wemixscan.com/api
?module=account
&action=tokennfttx
&contractaddress=0x743c325d0f0Ff5e1495E974c335D444a7d5D1dd3
&address=0xd5ae677feed771de3c08524364a1895ce21e220e
&page=1
&offset=100
&startblock=0
&endblock=27025780
&sort=asc
&apikey=YourApiKeyToken
Usage:
ERC-721 transfers from an address , specify the address
parameter
ERC-721 transfers from a contract address , specify the contract address
parameter
ERC-721 transfers from an address filtered by a token contract , specify both address
and contract address
parameters.
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "20512974",
"timeStamp": "1686747659",
"hash": "0x0083329dd941e4afe0c088d8995f0babcbc538afe29040d6ac0491f49a17c4c8",
"nonce": "6",
"blockHash": "0x3bbe3360f05823ed5c4f57180f038ddf8bc91e85328402b949a72a6dcd2be1e2",
"from": "0x0000000000000000000000000000000000000000",
"contractAddress": "0x743c325d0f0ff5e1495e974c335d444a7d5d1dd3",
"to": "0xd5ae677feed771de3c08524364a1895ce21e220e",
"tokenID": "1",
"tokenName": "LAND3",
"tokenSymbol": "LAND3",
"tokenDecimal": "0",
"transactionIndex": "0",
"gas": "59651868",
"gasPrice": "100000000001",
"gasUsed": "58721456",
"cumulativeGasUsed": "58721456",
"input": "deprecated",
"confirmations": "9057970"
},
{
"blockNumber": "20512974",
"timeStamp": "1686747659",
"hash": "0x0083329dd941e4afe0c088d8995f0babcbc538afe29040d6ac0491f49a17c4c8",
"nonce": "6",
"blockHash": "0x3bbe3360f05823ed5c4f57180f038ddf8bc91e85328402b949a72a6dcd2be1e2",
"from": "0x0000000000000000000000000000000000000000",
"contractAddress": "0x743c325d0f0ff5e1495e974c335d444a7d5d1dd3",
"to": "0xd5ae677feed771de3c08524364a1895ce21e220e",
"tokenID": "2",
"tokenName": "LAND3",
"tokenSymbol": "LAND3",
"tokenDecimal": "0",
"transactionIndex": "0",
"gas": "59651868",
"gasPrice": "100000000001",
"gasUsed": "58721456",
"cumulativeGasUsed": "58721456",
"input": "deprecated",
"confirmations": "9057970"
}
]
}
Get a list of 'ERC1155 - Token Transfer Events' by Address
Returns the list of ERC-1155 ( Multi Token Standard ) tokens transferred by an address, with optional filtering by token contract.
Copy https://api.wemixscan.com/api
?module=account
&action=token1155tx
&contractaddress=0x76be3b62873462d2142405439777e971754e8e77
&address=0x83f564d180b58ad9a02a449105568189ee7de8cb
&page=1
&offset=100
&startblock=0
&endblock=99999999
&sort=asc
&apikey=YourApiKeyToken
Usage:
ERC-1155 transfers from an address , specify the address
parameter
ERC-1155 transfers from a contract address , specify the contract address
parameter
ERC-1155 transfers from an address filtered by a token contract , specify both address
and contract address
parameters.
Request Response
Sample Response
Copy {
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"13472395",
"timeStamp":"1634973285",
"hash":"0x643b15f3ffaad5d38e33e5872b4ebaa7a643eda8b50ffd5331f682934ee65d4d",
"nonce":"41",
"blockHash":"0xa5da536dfbe8125eb146114e2ee0d0bdef2b20483aacbf30fed6b60f092059e6",
"transactionIndex":"100",
"gas":"140000",
"gasPrice":"52898577246",
"gasUsed":"105030",
"cumulativeGasUsed":"11739203",
"input":"deprecated",
"contractAddress":"0x76be3b62873462d2142405439777e971754e8e77",
"from":"0x1e63326a84d2fa207bdfa856da9278a93deba418",
"to":"0x83f564d180b58ad9a02a449105568189ee7de8cb",
"tokenID":"10371",
"tokenValue":"1",
"tokenName":"parallel",
"tokenSymbol":"LL",
"confirmations":"1447769"
},
{
"blockNumber":"14049909",
"timeStamp":"1642781541",
"hash":"0x58353aab15a4b5a77333b87619edaa749c7f3cf8bb2263a1c0865d73bf1264bd",
"nonce":"4",
"blockHash":"0x1e88a63a4cb4086a747644b8ab7ff3434540930f3029eacb8add08b15974fdc9",
"transactionIndex":"114",
"gas":"253032",
"gasPrice":"225052869211",
"gasUsed":"184899",
"cumulativeGasUsed":"6855790",
"input":"deprecated",
"contractAddress":"0x76be3b62873462d2142405439777e971754e8e77",
"from":"0x83f564d180b58ad9a02a449105568189ee7de8cb",
"to":"0x80833dc92d326a81d0cb74982a8e6f1a3887f837",
"tokenID":"10371",
"tokenValue":"1",
"tokenName":"parallel",
"tokenSymbol":"LL",
"confirmations":"870255"
},
{
"blockNumber":"14067255",
"timeStamp":"1643012777",
"hash":"0x3222b5f71e577c2551e17701eaf39b308b976bbe6bf6ce3f8c20549527b9d6ae",
"nonce":"7",
"blockHash":"0x236cfed8b42fa6cb8956f6e7b889797047d9af0883066b1f3be8284beda16e17",
"transactionIndex":"172",
"gas":"56873",
"gasPrice":"69434775835",
"gasUsed":"52073",
"cumulativeGasUsed":"17181952",
"input":"deprecated",
"contractAddress":"0x76be3b62873462d2142405439777e971754e8e77",
"from":"0x9d48305f859a0006b57da25c80af62ecb8e5c6a2",
"to":"0x83f564d180b58ad9a02a449105568189ee7de8cb",
"tokenID":"10372",
"tokenValue":"1",
"tokenName":"parallel",
"tokenSymbol":"LL",
"confirmations":"852909"
}
]
}
Get list of Blocks Validated by Address
Returns the list of blocks validated by an address.
Copy https://api.wemixscan.com/api
?module=account
&action=getminedblocks
&address=0x9dd134d14d1e65f84b706d6f205cd5b1cd03a46b
&blocktype=blocks
&page=1
&offset=10
&apikey=YourApiKeyToken
Request Response
Sample Response
Copy {
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"3462296",
"timeStamp":"1491118514",
"blockReward":"5194770940000000000"
},
{
"blockNumber":"2691400",
"timeStamp":"1480072029",
"blockReward":"5086562212310617100"
},
{
"blockNumber":"2687700",
"timeStamp":"1480018852",
"blockReward":"5003251945421042780"
}
]
}