Accounts
Account Related API's
Get Balance for a Single Address
Returns the balance of a given address.
GET
http://scan.wemix.com/api/account/{address}/balance
Query Parameters
chain
wemix
| wemixTestnet
(default to wemix
)
Chain
Example:
http://scan.wemix.com/api/account/0x689845a9766BcEE70e89752AA7Ff75703AC3b86a/balance
Response
{
"account": "0x689845a9766BcEE70e89752AA7Ff75703AC3b86a",
"balance": "55063.80784704125"
}
Get Balance for Multiple Addresses in a Single Call
Returns the balance of the accounts from a list of addresses.
GET
http://scan.wemix.com/api/account/balance-multi?address={address}
Query Parameters
chain
wemix
| wemixTestnet
(default to wemix
)
Chain
address (required)
comma separated string
of addresses
List of Addresses to query balance for
Example:
http://scan.wemix.com/api/account/balance-multi?address=0x7ea94c0679f044b80876e18bfc1350783c2b728a,0x689845a9766BcEE70e89752AA7Ff75703AC3b86a
Response
[
{
"account": "0x7ea94c0679f044b80876e18bfc1350783c2b728a",
"balance": "0"
},
{
"account": "0x689845a9766bcee70e89752aa7ff75703ac3b86a",
"balance": "55063.80784704125"
}
]
Get a list of 'Normal' Transactions By Address
Returns the list of transactions performed by an address, with optional pagination.
GET
http://scan.wemix.com/api/account/{address}/tx-list?startblock={startblock}&endblock={endblock}&page={page}&offset={offset}&sort={sort}
Query Parameters
chain
wemix
| wemixTestnet
(default to wemix
)
Chain
startblock
integer
The starting block number for the range to query
endblock
integer
The ending block number for the range to query
page
the integer
page number, if pagination is enabled
Page number to return (default to 1)
offset
integer
the number of transactions displayed per page (default to 10000)
sort
desc
| asc
Order of the results. (default to asc
)
Example:
http://scan.wemix.com/api/account/0x7ea94c0679f044b80876e18bfc1350783c2b728a/tx-list?page=1&offset=2
Response
{
"transactions": [
{
"uuid": "7057776800000",
"hash": "0x792e2340d0ba71715334dfaf82f46ba4b162822af70a7f335b031e56cf5bc2a8",
"transactionStatus": "0x1",
"blockNumber": "70577768",
"blockHash": "0x23a33ed4580d4a4ca94abcbeda1ab3b89262c6047a0a55285b5656fff039bd20",
"timestamp": "1736812151",
"from": "0x89e48730e4b46a4af60229d7f34a595a21c0879c",
"to": "0x7ea94c0679f044b80876e18bfc1350783c2b728a",
"value": "0",
"baseFeePerGas": "1",
"maxFeePerGas": "100000000002",
"maxPriorityFeePerGas": "100000000000",
"gasUsed": "288901",
"gasLimit": "617692",
"gasPrice": "100000000001",
"effectiveGasPrice": "100000000001",
"nonce": "64",
"transactionIndex": 0,
"input": "0x460420cd6e6967687463726f7773000000000000000000000000000000000000000000004d4f52494f4e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000434ef8400000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000041c75141cbe72f855cd4452f56e540706ed5da2dc99346cb69eea88d45191941f707ac8613050c01d0da4a9bee9cce66501ba1568226dbdfd48d2510cd9d7cd2791b00000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"r": "0xb1c12922f0ebc051d7f5ae4cb4ca54c28a24492c92d1ddbf20959bf62945a032",
"s": "0x095b341db307864cdd6e42c75e316a38b851cd097b426ebbdd0464f73badf145",
"v": 0
},
{
"uuid": "7057780700000",
"hash": "0x0bbf51a200a68f8e1b89a60658026c41365dd83ca175f03962c9e5700703de90",
"transactionStatus": "0x1",
"blockNumber": "70577807",
"blockHash": "0x4185b94e9db29b74e5089b3e6bf4e81987a077b0dfb4918ec777ab8446e55702",
"timestamp": "1736812190",
"from": "0x89e48730e4b46a4af60229d7f34a595a21c0879c",
"to": "0x7ea94c0679f044b80876e18bfc1350783c2b728a",
"value": "0",
"baseFeePerGas": "1",
"maxFeePerGas": "100000000002",
"maxPriorityFeePerGas": "100000000000",
"gasUsed": "271813",
"gasLimit": "583516",
"gasPrice": "100000000001",
"effectiveGasPrice": "100000000001",
"nonce": "65",
"transactionIndex": 0,
"input": "0x460420cd6e6967687463726f777300000000000000000000000000000000000000000000455353454e4345000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000434efad00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000413f450d709ab6953e273635623f99d762631b6378a0f4668e6da8cc93f31811c1712778a89415df1f4216998adbfe14e98d8a9e8799296a68a83e1cd1c9097db41b00000000000000000000000000000000000000000000000000000000000000",
"type": "0x2",
"r": "0x84ed3a624ba04c39ed6b84f7ca85219a0d084c7fedb5a65639722b0791409f8a",
"s": "0x1f24e8a709c640a4a002d117fc1007ef1066355039dd09ed3f5c639de035de79",
"v": 1
}
]
}
Get a list of 'Internal' Transactions By Address
Returns the list of internal transactions performed by an address, with optional pagination.
GET
http://scan.wemix.com/api/account/{address}/tx-list-internal?startblock={startblock}&endblock={endblock}&page={page}&offset={offset}&sort={sort}
Query Parameters
chain
wemix
| wemixTestnet
(default to wemix
)
Chain
address (required)
string
Hex address to query
startblock
integer
The starting block number for the range to query
endblock
integer
The ending block number for the range to query
page
the integer
page number, if pagination is enabled
Page number to return (default to 1)
offset
integer
the number of transactions displayed per page (default to 10000)
sort
desc
| asc
Order of the results. (default to asc
)
Example:
http://scan.wemix.com/api/account/0x3d69cb7a3d6a3fd2c9f666335e907718e5e184ec/tx-list-internal?page=1&offset=2
Response
{
"transactions": [
{
"uuid": "466055470230000",
"transactionHash": "0x355f7849fc9acb33c706ce9a26350ec901a5aa47619407387f97e9875bc93ea2",
"blockNumber": "46605547",
"blockHash": "0x7a5b734fc8704a6b8685ecf1c32137ad337ab8a6d1c60ba6b9de80591afdb730",
"timestamp": "1712840207",
"from": "0x3d69cb7a3d6a3fd2c9f666335e907718e5e184ec",
"to": "0x58a9170d22a211720855280f0d3c66e4349fd2ba",
"value": "0",
"gasUsed": "157147",
"gasLimit": "338032",
"addressTrace": "0",
"input": "0x130822bf6e6967687463726f77730000000000000000000000000000000000000000000050524f4d4f5445000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002c725ff00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000004570000000000000000000000000000000000000000000000000000000000000041bacdd6e9292b2c00b5c27291c635eda89552d7f2dcfdd5c9f1e91dc11fbc8b7030f2f35926a551fb9e60b07777624a5885930437c6c9cfcc1a12841cce6c543b1b00000000000000000000000000000000000000000000000000000000000000",
"type": "CALL",
"top": true,
"transactionIndex": 23,
"transferIndex": 0,
"error": null
},
{
"uuid": "466104770010000",
"transactionHash": "0xb35b155579dc303260e7ea4a6cbd31cdd71028dd17e1aeaec78f3a556e3c6d14",
"blockNumber": "46610477",
"blockHash": "0xe1f2d7f9f60b10205ca16775474e7d50cd7af9b3613fb67e87f7c8cc556535b5",
"timestamp": "1712845137",
"from": "0x38c8c286f41ff81ca60443a5d4a830a8247b33b9",
"to": "0x3d69cb7a3d6a3fd2c9f666335e907718e5e184ec",
"value": "500000000000000000",
"gasUsed": "0",
"gasLimit": "1479000",
"addressTrace": "0",
"input": "0x",
"type": "CALL",
"top": true,
"transactionIndex": 1,
"transferIndex": 0,
"error": null
}
]
}
Get a list of 'Internal' Transactions By Block Range
Returns the list of internal transactions performed within a block range, with optional pagination.
GET
http://scan.wemix.com/api/account/tx-list-internal?startblock={startblock}&endblock={endblock}&page={page}&offset={offset}&sort={sort}
Query Parameters
chain
wemix
| wemixTestnet
(default to wemix
)
Chain
startblock (required)
integer
The starting block number for the range to query
endblock (required)
integer
The ending block number for the range to query
page
the integer
page number, if pagination is enabled
Page number to return (default to 1)
offset
integer
the number of transactions displayed per page (default to 10000)
sort
desc
| asc
Order of the results. (default to asc
)
Example:
http://scan.wemix.com/api/account/tx-list-internal?startblock=82684358&endblock=88184083&page=1&offset=2
Response
{
"transactions": [
{
"uuid": "826843600000000",
"transactionHash": "0xaf231e2983337ddf0f9e635cf4d848fcdee903e1b3a2f5c2225697ce560f5820",
"blockNumber": "82684360",
"blockHash": "0xdb9cb1a08edb539b6f5a2c018fa0462deea4f624c4d4b033f0c4fe176b738947",
"timestamp": "1748918596",
"from": "0xe087d65677c5139f4148c145c87889de64223d35",
"to": "0x8137b39bd5efd42ef005c222ac98e03df1ec6f2b",
"value": "0",
"gasUsed": "311633",
"gasLimit": "663412",
"addressTrace": "0",
"input": "0xd117d00a000000000000000000000000543fd49c5858c426402a7ca15e6e61bda18c23746e66745f6f726967696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004568747470733a2f2f6e66742e77656d6978706c61792e636f6d2f6d6574612f6d2d6465636b2f6d2d736f6369616c697a65722d756e636f6d6d6f6e2d6d6574612e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000e087d65677c5139f4148c145c87889de64223d3557656d6978706c617920436f6d6d756e69747920415049000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000411270af2c8374f83850dc49997d486118ba7ab1b21615e04e7e18bfb08d18538f690897c2b22f36941a2e9212e6be4d6b39e5d06855256dcb87a9214112a426df1c00000000000000000000000000000000000000000000000000000000000000",
"type": "CALL",
"top": true,
"transactionIndex": 0,
"transferIndex": 0,
"error": ""
},
{
"uuid": "826843600000001",
"transactionHash": "0xaf231e2983337ddf0f9e635cf4d848fcdee903e1b3a2f5c2225697ce560f5820",
"blockNumber": "82684360",
"blockHash": "0xdb9cb1a08edb539b6f5a2c018fa0462deea4f624c4d4b033f0c4fe176b738947",
"timestamp": "1748918596",
"from": "0x8137b39bd5efd42ef005c222ac98e03df1ec6f2b",
"to": "0x18dad59b7e85ecb01b91d5cf0f8c086ee5940c54",
"value": "0",
"gasUsed": "306624",
"gasLimit": "648156",
"addressTrace": "0_0",
"input": "0xd117d00a000000000000000000000000543fd49c5858c426402a7ca15e6e61bda18c23746e66745f6f726967696e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004568747470733a2f2f6e66742e77656d6978706c61792e636f6d2f6d6574612f6d2d6465636b2f6d2d736f6369616c697a65722d756e636f6d6d6f6e2d6d6574612e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000e087d65677c5139f4148c145c87889de64223d3557656d6978706c617920436f6d6d756e69747920415049000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000411270af2c8374f83850dc49997d486118ba7ab1b21615e04e7e18bfb08d18538f690897c2b22f36941a2e9212e6be4d6b39e5d06855256dcb87a9214112a426df1c00000000000000000000000000000000000000000000000000000000000000",
"type": "DELEGATECALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 1,
"error": ""
}
]
}
Get a list of 'Internal' Transactions By Transaction Hash
Returns the list of internal transactions performed within a transaction.
GET
http://scan.wemix.com/api/account/tx-list-internal?hash={hash}
Query Parameters
chain
wemix
| wemixTestnet
(default to wemix
)
Chain
hash (required)
string
Hex string of Transaction Hash to query by
Example:
http://scan.wemix.com/api/account/tx-list-internal?hash=0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859
Response
{
"transactions": [
{
"uuid": "738764510000000",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x557901ee114ceecc9996018746f2ef43b0f820da",
"to": "0x6af09e1a3c886dd8560bf4cabd65db16ea2724d8",
"value": "0",
"gasUsed": "170784",
"gasLimit": "175554",
"addressTrace": "0",
"input": "0xddd5e1b20000000000000000000000000000000000000000000000000000000000000019000000000000000000000000557901ee114ceecc9996018746f2ef43b0f820da",
"type": "CALL",
"top": true,
"transactionIndex": 0,
"transferIndex": 0,
"error": ""
},
{
"uuid": "738764510000001",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x6af09e1a3c886dd8560bf4cabd65db16ea2724d8",
"to": "0x8877d727a34dcc92c8f8e8d2382832b20bcc363a",
"value": "0",
"gasUsed": "163465",
"gasLimit": "165644",
"addressTrace": "0_0",
"input": "0xddd5e1b20000000000000000000000000000000000000000000000000000000000000019000000000000000000000000557901ee114ceecc9996018746f2ef43b0f820da",
"type": "DELEGATECALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 1,
"error": ""
},
{
"uuid": "738764510000002",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x6af09e1a3c886dd8560bf4cabd65db16ea2724d8",
"to": "0x94f41b1a3ef214dc970c3870194b3a262a5e9b65",
"value": "0",
"gasUsed": "9630",
"gasLimit": "119661",
"addressTrace": "0_0_0",
"input": "0xd6607622",
"type": "STATICCALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 2,
"error": ""
},
{
"uuid": "738764510000003",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x94f41b1a3ef214dc970c3870194b3a262a5e9b65",
"to": "0x0228a0099499155d036fd0258b887c2f875a7919",
"value": "0",
"gasUsed": "2314",
"gasLimit": "110630",
"addressTrace": "0_0_0_0",
"input": "0xd6607622",
"type": "DELEGATECALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 3,
"error": ""
},
{
"uuid": "738764510000004",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x6af09e1a3c886dd8560bf4cabd65db16ea2724d8",
"to": "0x94f41b1a3ef214dc970c3870194b3a262a5e9b65",
"value": "0",
"gasUsed": "6127",
"gasLimit": "109500",
"addressTrace": "0_0_1",
"input": "0xa2e62045",
"type": "CALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 4,
"error": ""
},
{
"uuid": "738764510000005",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x94f41b1a3ef214dc970c3870194b3a262a5e9b65",
"to": "0x0228a0099499155d036fd0258b887c2f875a7919",
"value": "0",
"gasUsed": "5311",
"gasLimit": "107027",
"addressTrace": "0_0_1_0",
"input": "0xa2e62045",
"type": "DELEGATECALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 5,
"error": ""
},
{
"uuid": "738764510000006",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x6af09e1a3c886dd8560bf4cabd65db16ea2724d8",
"to": "0x94f41b1a3ef214dc970c3870194b3a262a5e9b65",
"value": "0",
"gasUsed": "3418",
"gasLimit": "89668",
"addressTrace": "0_0_2",
"input": "0x41f02c3d000000000000000000000000557901ee114ceecc9996018746f2ef43b0f820da",
"type": "STATICCALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 6,
"error": ""
},
{
"uuid": "738764510000007",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x94f41b1a3ef214dc970c3870194b3a262a5e9b65",
"to": "0x0228a0099499155d036fd0258b887c2f875a7919",
"value": "0",
"gasUsed": "2599",
"gasLimit": "87502",
"addressTrace": "0_0_2_0",
"input": "0x41f02c3d000000000000000000000000557901ee114ceecc9996018746f2ef43b0f820da",
"type": "DELEGATECALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 7,
"error": ""
},
{
"uuid": "738764510000008",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x6af09e1a3c886dd8560bf4cabd65db16ea2724d8",
"to": "0x94f41b1a3ef214dc970c3870194b3a262a5e9b65",
"value": "0",
"gasUsed": "17324",
"gasLimit": "37991",
"addressTrace": "0_0_3",
"input": "0xde767cba000000000000000000000000557901ee114ceecc9996018746f2ef43b0f820da000000000000000000000000000000000000000000000000d1064df2c3df2c90000000000000000000000000c2016f173d8006d3dbed22edd082852b492ea0ea00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fbe2fabd93b3afbc8cc6663c8882329da2bda850000000000000000000000000000000000000000000000000000000000000000",
"type": "CALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 8,
"error": ""
},
{
"uuid": "738764510000009",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x94f41b1a3ef214dc970c3870194b3a262a5e9b65",
"to": "0x0228a0099499155d036fd0258b887c2f875a7919",
"value": "0",
"gasUsed": "16478",
"gasLimit": "36605",
"addressTrace": "0_0_3_0",
"input": "0xde767cba000000000000000000000000557901ee114ceecc9996018746f2ef43b0f820da000000000000000000000000000000000000000000000000d1064df2c3df2c90000000000000000000000000c2016f173d8006d3dbed22edd082852b492ea0ea00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fbe2fabd93b3afbc8cc6663c8882329da2bda850000000000000000000000000000000000000000000000000000000000000000",
"type": "DELEGATECALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 9,
"error": ""
},
{
"uuid": "738764510000010",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x94f41b1a3ef214dc970c3870194b3a262a5e9b65",
"to": "0x557901ee114ceecc9996018746f2ef43b0f820da",
"value": "15061811708850810000",
"gasUsed": "0",
"gasLimit": "2300",
"addressTrace": "0_0_3_0_0",
"input": "0x",
"type": "CALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 10,
"error": ""
},
{
"uuid": "738764510000011",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x94f41b1a3ef214dc970c3870194b3a262a5e9b65",
"to": "0xc2016f173d8006d3dbed22edd082852b492ea0ea",
"value": "0",
"gasUsed": "0",
"gasLimit": "2300",
"addressTrace": "0_0_3_0_1",
"input": "0x",
"type": "CALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 11,
"error": ""
},
{
"uuid": "738764510000012",
"transactionHash": "0x64440043bec3523313af1225614503f362eb24e4f068e2e8517ee54fb3f99859",
"blockNumber": "73876451",
"blockHash": "0x571cfdc8c62b090cfe220eeee3631400a492cb0eb7e429143e774f00a5596f56",
"timestamp": "1740110796",
"from": "0x94f41b1a3ef214dc970c3870194b3a262a5e9b65",
"to": "0x0fbe2fabd93b3afbc8cc6663c8882329da2bda85",
"value": "0",
"gasUsed": "0",
"gasLimit": "2300",
"addressTrace": "0_0_3_0_2",
"input": "0x",
"type": "CALL",
"top": false,
"transactionIndex": 0,
"transferIndex": 12,
"error": ""
}
]
}
Get a list of 'ERC20 - Token Transfer Events' Transactions By Address
Returns the list of ERC-20 tokens transferred by an address, with optional filtering by token contract.
GET
http://scan.wemix.com/api/account/{address}/token-tx?startblock={startblock}&endblock={endblock}&page={page}&offset={offset}&sort={sort}&contractaddress={contractaddress}
Query Parameters
chain
wemix
| wemixTestnet
(default to wemix
)
Chain
startblock
integer
The starting block number for the range to query
endblock
integer
The ending block number for the range to query
page
the integer
page number, if pagination is enabled
Page number to return (default to 1)
offset
integer
the number of transactions displayed per page (default to 10000)
sort
desc
| asc
Order of the results. (default to asc
)
contractaddress
the string
representing the token contract address to check for balance
Used to filter by token transferred
Example:
http://scan.wemix.com/api/account/0x3d69cb7a3d6a3fd2c9f666335e907718e5e184ec/token-tx?page=1&offset=2
Response
{
"transfers": [
{
"uuid": "4660554700110",
"contractAddress": "0xd1445bcbe14ce5edf7ae887e3f3f82f7bda12af3",
"transactionHash": "0x355f7849fc9acb33c706ce9a26350ec901a5aa47619407387f97e9875bc93ea2",
"blockNumber": "46605547",
"logIndex": "110",
"timestamp": "1712840207",
"method": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"from": "0x0000000000000000000000000000000000000000",
"to": "0x3d69cb7a3d6a3fd2c9f666335e907718e5e184ec",
"amount": "1000000000000000000"
},
{
"uuid": "4661072200000",
"contractAddress": "0xd1445bcbe14ce5edf7ae887e3f3f82f7bda12af3",
"transactionHash": "0xf511a6b91f68ffaf4a92342adb65f767eb6278fe56c23f32ed4b89ea83f669d0",
"blockNumber": "46610722",
"logIndex": "0",
"timestamp": "1712845382",
"method": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"from": "0x3d69cb7a3d6a3fd2c9f666335e907718e5e184ec",
"to": "0x38c8c286f41ff81ca60443a5d4a830a8247b33b9",
"amount": "1000000000000000000"
}
]
}
Get a list of 'ERC721 - Token Transfer Events' Transactions By Address
Returns the list of ERC-721 ( NFT ) tokens transferred by an address, with optional filtering by token contract.
GET
http://scan.wemix.com/api/account/{address}/token-nft-tx?startblock={startblock}&endblock={endblock}&page={page}&offset={offset}&sort={sort}&contractaddress={contractaddress}
Query Parameters
chain
wemix
| wemixTestnet
(default to wemix
)
Chain
startblock
integer
The starting block number for the range to query
endblock
integer
The ending block number for the range to query
page
the integer
page number, if pagination is enabled
Page number to return (default to 1)
offset
integer
the number of transactions displayed per page (default to 10000)
sort
desc
| asc
Order of the results. (default to asc
)
contractaddress
the string
representing the token contract address to check for balance
Used to filter by token transferred
Example:
http://scan.wemix.com/api/account/0x3d69cb7a3d6a3fd2c9f666335e907718e5e184ec/token-nft-tx?page=1&offset=2
Response
{
"transfers": [
{
"uuid": "6804668100000",
"contractAddress": "0xe69921d540f235b534844b65bbb38aac99ef6036",
"transactionHash": "0xb18894ac32b3ddb3aecbf00ee26284ab3e47998bf52320e428122e1a4825119a",
"blockNumber": "68046681",
"logIndex": "0",
"timestamp": "1734281094",
"method": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"from": "0x0000000000000000000000000000000000000000",
"to": "0x3d69cb7a3d6a3fd2c9f666335e907718e5e184ec",
"tokenId": "1000016634"
},
{
"uuid": "6896289600000",
"contractAddress": "0xe69921d540f235b534844b65bbb38aac99ef6036",
"transactionHash": "0xa066bba55ac8e8b192340029ef8d3207931b390fe866d6ab21301c8921dbb29c",
"blockNumber": "68962896",
"logIndex": "0",
"timestamp": "1735197298",
"method": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"from": "0x3d69cb7a3d6a3fd2c9f666335e907718e5e184ec",
"to": "0xcd1fddfd1aa3828ad4fba6d8e10ba4bf5d544976",
"tokenId": "1000016634"
}
]
}
Get list of Blocks Validated by Address
Returns the list of blocks validated by an address.
GET
http://scan.wemix.com/api/account/{address}/mined-blocks?startblock={startblock}&endblock={endblock}&page={page}&offset={offset}&sort={sort}
Query Parameters
chain
wemix
| wemixTestnet
(default to wemix
)
Chain
startblock
integer
The starting block number for the range to query
endblock
integer
The ending block number for the range to query
page
the integer
page number, if pagination is enabled
Page number to return (default to 1)
offset
integer
the number of blocks displayed per page (default to 10000)
sort
desc
| asc
Order of the results. (default to asc
)
Example:
http://scan.wemix.com/api/account/0x9694681245E23a57DeE904C8079874A39dDb8282/mined-blocks?offset=2&chain=wemix&page=1
Response
{
"blocks": [
{
"blockNumber": "26",
"timeStamp": "1666234936"
},
{
"blockNumber": "47",
"timeStamp": "1666234982"
}
]
}
Get Address Funded By
Returns the address that funded an address, and its relative age.
GET
http://scan.wemix.com/api/account/{address}/funded-by
Query Parameters
chain
wemix
| wemixTestnet
(default to wemix
)
Chain
Example:
http://scan.wemix.com/api/account/0x6eF9346e5F643511736a5163f0B87FdaC1ECE2e2/funded-by
Response
{
"blockNumber": "60046364",
"timestamp": "1726280869",
"fundingAddress": "0x09a38f2491a0ea0864f4c347d9af19f321c7f325",
"fundingTxn": "0xcba07c7f76b9d041a9d87ef112300114f3ad487981d980d303857452a5d39a22",
"value": "8000000000000000000"
}
Get Historical WEMIX Balance for a Single Address By BlockNo
Returns the balance of an address at a certain block height.
GET
http://scan.wemix.com/api/account/{address}/balance-history?block={block}
Query Parameters
chain
wemix
| wemixTestnet
(default to wemix
)
Chain
block
latest
|integer
Default to "latest"
Example:
http://scan.wemix.com/api/account/0x6eF9346e5F643511736a5163f0B87FdaC1ECE2e2/balance-history?block=86849674
{
"balance": "4581719898460938074"
}
Last updated