Get MOVR Balance for a Single Address
Returns the MOVR balance of a given address.
https://api-moonriver.moonscan.io/api
?module=account
&action=balance
&address=0x990C23d72a50124cFcf1f9CF5782bA9b640ca44e
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the address to check for balance |
| the string pre-defined block parameter, either earliest , pending or latest |
Sample Response
{
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": "861360616624407147"
}
Get MOVR Balance for Multiple Addresses in a Single Call
Returns the balance of the accounts from a list of addresses.
https://api-moonriver.moonscan.io/api
?module=account
&action=balancemulti
&address=0x88baeB35F73c72D0A4554D36851C1A76403937f8,0x88baeB35F73c72D0A4554D36851C1A76403937f8
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the strings representing the addresses to check for balance, separated by , commas
up to 20 addresses per call |
| the integer pre-defined block parameter, either earliest , pending or latest |
Sample Response
{
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"account": "0x88baeB35F73c72D0A4554D36851C1A76403937f8",
"balance": "215721917962033169018942"
},
{
"account": "0x88baeB35F73c72D0A4554D36851C1A76403937f8",
"balance": "215721917962033169018942"
}
]
}
Get a list of 'Normal' Transactions By Address
Returns the list of transactions performed by an address, with optional pagination.
📝 Note : This API endpoint returns a maximum of 10000 records only.
https://api-moonriver.moonscan.io/api
?module=account
&action=txlist
&address=0x88baeB35F73c72D0A4554D36851C1A76403937f8
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the addresses to check for balance |
| the integer block number to start searching for transactions |
| the integer block number to stop searching for transactions |
| the integer page number, if pagination is enabled |
| the number of transactions displayed per page |
| the sorting preference, use asc to sort by ascending and desc to sort by descending |
💡 Tip: Specify a smaller startblock
and endblock
range for faster search results.
Sample Response
{
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "807681",
"timeStamp": "1635389202",
"hash": "0xbbe7492b20c01d9e7be28a86e23b141f5aa30b398e7c9794e04f25d48e0111a8",
"nonce": "0",
"blockHash": "0xef0bc93e3bf0c8a26281a2fea08726d34a060c6f79038fb4b65fec41d4eca0db",
"transactionIndex": "1",
"from": "0xacd16be413e797bbad1e043eb7553800686821f7",
"to": "0x88baeb35f73c72d0a4554d36851c1a76403937f8",
"value": "930000000000000",
"gas": "70000",
"gasPrice": "1000000000",
"isError": "0",
"txreceipt_status": "1",
"input": "0x00",
"contractAddress": "",
"cumulativeGasUsed": "136018",
"gasUsed": "21004",
"confirmations": "3605443",
"methodId": "0x00",
"functionName": ""
},
{
"blockNumber": "809318",
"timeStamp": "1635413742",
"hash": "0xc250b20175a646f74dc88e4e74d2a93dd3f545593af80d6234feae91137c0327",
"nonce": "0",
"blockHash": "0x8810fb1904250f1cafd64bd2c0be792a1e2396ec8e24e2a0ecb868b4df389317",
"transactionIndex": "3",
"from": "0x88baeb35f73c72d0a4554d36851c1a76403937f8",
"to": "0x35569fdbf75db4e4bd80a5c19511a238e199ae36",
"value": "10000000000000",
"gas": "318236",
"gasPrice": "2000000000",
"isError": "0",
"txreceipt_status": "1",
"input": "0x",
"contractAddress": "",
"cumulativeGasUsed": "554733",
"gasUsed": "21000",
"confirmations": "3603806",
"methodId": "0x",
"functionName": ""
}
]
}
Get a list of 'Internal' Transactions by Address
Returns the list of internal transactions performed by an address, with optional pagination.
📝 Note : This API endpoint returns a maximum of 10000 records only.
https://api-moonriver.moonscan.io/api
?module=account
&action=txlistinternal
&address=0xEE5b3EADe0460d91F86584CEf73eD9AfeB6a034D
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the addresses to check for balance |
| the integer block number to start searching for transactions |
| the integer block number to stop searching for transactions |
| the integer page number, if pagination is enabled |
| the number of transactions displayed per page |
| the sorting preference, use asc to sort by ascending and desc to sort by descending |
💡 Tip: Specify a smaller startblock
and endblock
range for faster search results
Sample Response
{
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "1582944",
"timeStamp": "1647038058",
"hash": "0x50adb1a1cc1a12ccb2198cddb68d223eb39cd04069510ca85e25ba02d7f0e1e4",
"from": "0xc684c32f33f789ff301e88dfbbfcd29c8b74444b",
"to": "0xee5b3eade0460d91f86584cef73ed9afeb6a034d",
"value": "911330570929875",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "2245",
"gasUsed": "250258",
"traceId": "0_1_1_1_1_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "1582944",
"timeStamp": "1647038058",
"hash": "0x50adb1a1cc1a12ccb2198cddb68d223eb39cd04069510ca85e25ba02d7f0e1e4",
"from": "0xee5b3eade0460d91f86584cef73ed9afeb6a034d",
"to": "0x98878b06940ae243284ca214f92bb71a2b032b8a",
"value": "911330570929875",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "198905",
"gasUsed": "23013",
"traceId": "0_1_1_1",
"isError": "0",
"errCode": ""
}
]
}
Get 'Internal Transactions' by Transaction Hash
Returns the list of internal transactions performed within a transaction.
Note : This API endpoint returns a maximum of 10000 records only.
https://api-moonriver.moonscan.io/api
?module=account
&action=txlistinternal
&txhash=0x50adb1a1cc1a12ccb2198cddb68d223eb39cd04069510ca85e25ba02d7f0e1e4
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the transaction hash to check for internal transactions |
Sample Response
{
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "1582944",
"timeStamp": "1647038058",
"from": "0xc684c32f33f789ff301e88dfbbfcd29c8b74444b",
"to": "0xee5b3eade0460d91f86584cef73ed9afeb6a034d",
"value": "911330570929875",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "2245",
"gasUsed": "250258",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "1582944",
"timeStamp": "1647038058",
"from": "0xee5b3eade0460d91f86584cef73ed9afeb6a034d",
"to": "0x98878b06940ae243284ca214f92bb71a2b032b8a",
"value": "911330570929875",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "198905",
"gasUsed": "23013",
"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.
📝 Note : This API endpoint returns a maximum of 10000 records only.
https://api-moonriver.moonscan.io/api
?module=account
&action=txlistinternal
&startblock=484887
&endblock=765371
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the integer block number to start searching for transactions |
| the integer block number to stop searching for transactions |
| the integer page number, if pagination is enabled |
| the number of transactions displayed per page |
| the sorting preference, use asc to sort by ascending and desc to sort by descending |
Sample Response
{
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "484890",
"timeStamp": "1631051388",
"hash": "0xff8bd6508e120c490219918c32a46942a1a16a1f115afa317eb868cb7f9238b4",
"from": "0x98878b06940ae243284ca214f92bb71a2b032b8a",
"to": "0xaa30ef758139ae4a7f798112902bf6d65612045f",
"value": "2257711276985355314",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "2217",
"gasUsed": "494201",
"traceId": "0_1_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "484890",
"timeStamp": "1631051388",
"hash": "0xff8bd6508e120c490219918c32a46942a1a16a1f115afa317eb868cb7f9238b4",
"from": "0xaa30ef758139ae4a7f798112902bf6d65612045f",
"to": "0x9499ef86cc5ae623a32dcc1e2e8b1c31583eff38",
"value": "2257711276985355314",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "495118",
"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.
https://api-moonriver.moonscan.io/api
?module=account
&action=tokentx
&contractaddress=0x98878B06940aE243284CA214f92Bb71a2b032B8A
&address=0x4d310a3d1806b03e1bb39705bd39e1ead8c96be3
&page=1
&offset=100
&startblock=0
&endblock=99999999
&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.
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the address to check for balance |
| the string representing the token contract address to check for balance |
| the integer page number, if pagination is enabled |
| the number of transactions displayed per page |
| the integer block number to start searching for transactions |
| the integer block number to stop searching for transactions |
| the sorting preference, use asc to sort by ascending and desc to sort by descending |
Sample Response
{
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "687742",
"timeStamp": "1633761120",
"hash": "0x82e2ddbaabedf6d7d83281ded8bd25858f4ee264547f7f8d453d1bb30f9acedf",
"nonce": "2",
"blockHash": "0xf8d8dce5eb927069525edef5406a2d1c75ecd300a13cf4414ff805b8334b19ff",
"from": "0x950edc19c56141203d6facb6eb5e8621f5215122",
"to": "0x4d310a3d1806b03e1bb39705bd39e1ead8c96be3",
"contractAddress": "0x98878b06940ae243284ca214f92bb71a2b032b8a",
"value": "3485000000000000000",
"tokenName": "Wrapped MOVR",
"tokenSymbol": "WMOVR",
"tokenDecimal": "18",
"transactionIndex": "0",
"gas": "518085",
"gasPrice": "100000000000",
"gasUsed": "221437",
"cumulativeGasUsed": "221437",
"input": "deprecated",
"confirmations": "3725402"
},
{
"blockNumber": "687762",
"timeStamp": "1633761378",
"hash": "0x2396954ed1032b2fdac35414358a5f0d7a8da137434cf955b2a1ef9fa2ff50bc",
"nonce": "4",
"blockHash": "0x54ea4db8d0d9244516c1d2b5070bc2b46baed9b6b7788c691e8b66caff9463e1",
"from": "0x4d310a3d1806b03e1bb39705bd39e1ead8c96be3",
"to": "0x950edc19c56141203d6facb6eb5e8621f5215122",
"contractAddress": "0x98878b06940ae243284ca214f92bb71a2b032b8a",
"value": "590338885725825317",
"tokenName": "Wrapped MOVR",
"tokenSymbol": "WMOVR",
"tokenDecimal": "18",
"transactionIndex": "0",
"gas": "694888",
"gasPrice": "100000000000",
"gasUsed": "157857",
"cumulativeGasUsed": "157857",
"input": "deprecated",
"confirmations": "3725382"
}
]
}
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
https://api-moonriver.moonscan.io/api
?module=account
&action=tokennfttx
&contractaddress=0x08716e418e68564C96b68192E985762740728018
&address=0x649defadc9d476b7296b79b20968dca0691b026b
&page=1
&offset=100
&startblock=0
&endblock=99999999
&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.
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the address to check for balance |
| the string representing the token contract address to check for balance |
| the integer page number, if pagination is enabled |
| the number of transactions displayed per page |
| the integer block number to start searching for transactions |
| the integer block number to stop searching for transactions |
| the sorting preference, use asc to sort by ascending and desc to sort by descending |
Sample Response
{
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "470293",
"timeStamp": "1630865088",
"hash": "0xcf934dc529d3a12902d49f5c642618ff982cc1a41de6babb4a06ca75105f2410",
"nonce": "1",
"blockHash": "0xd051896240f78f927912d7477ac535a2ff419410f5710b416c0c122fe924e660",
"from": "0x0000000000000000000000000000000000000000",
"contractAddress": "0x08716e418e68564c96b68192e985762740728018",
"to": "0x649defadc9d476b7296b79b20968dca0691b026b",
"tokenID": "31721",
"tokenName": "Zoombies",
"tokenSymbol": "Zoombie",
"tokenDecimal": "0",
"transactionIndex": "0",
"gas": "796072",
"gasPrice": "1000000000",
"gasUsed": "268872",
"cumulativeGasUsed": "268872",
"input": "deprecated",
"confirmations": "3942859"
},
{
"blockNumber": "473708",
"timeStamp": "1630908552",
"hash": "0xc0d798dbf6a782e592534434d55fc1ecd406803d5471ee856cd23265485bd7d6",
"nonce": "2",
"blockHash": "0x33d8dace87c904b221cf62643a176958e4aaa2b3d8b2c7ed563c4690adcd17be",
"from": "0x0000000000000000000000000000000000000000",
"contractAddress": "0x08716e418e68564c96b68192e985762740728018",
"to": "0x649defadc9d476b7296b79b20968dca0691b026b",
"tokenID": "33760",
"tokenName": "Zoombies",
"tokenSymbol": "Zoombie",
"tokenDecimal": "0",
"transactionIndex": "1",
"gas": "795472",
"gasPrice": "1000000000",
"gasUsed": "252068",
"cumulativeGasUsed": "511866",
"input": "deprecated",
"confirmations": "3939444"
}
]
}
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.
https://api-moonriver.moonscan.io/api
?module=account
&action=token1155tx
&contractaddress=0x1974eEAF317Ecf792ff307F25A3521C35eECde86
&address=0x495e889d1a6ceb447a57dcc1c68410299392380c
&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.
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the address to check for balance |
| the string representing the token contract address to check for balance |
| the integer page number, if pagination is enabled |
| the number of transactions displayed per page |
| the integer block number to start searching for transactions |
| the integer block number to stop searching for transactions |
| the sorting preference, use asc to sort by ascending and desc to sort by descending |
Sample Response
{
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "664233",
"timeStamp": "1633444002",
"hash": "0x1b2ed0fb8ad1086d0fb836879253233d948cf58f8b5540d04f8590aacf7e39f9",
"nonce": "1744",
"blockHash": "0xd74a7566e94096492b75d4211fcb63e8ccff02d491142b01b6b1faaac69cd130",
"transactionIndex": "1",
"gas": "252070",
"gasPrice": "1100000000",
"gasUsed": "232870",
"cumulativeGasUsed": "357659",
"input": "deprecated",
"contractAddress": "0x1974eeaf317ecf792ff307f25a3521c35eecde86",
"from": "0x0000000000000000000000000000000000000000",
"to": "0x495e889d1a6ceb447a57dcc1c68410299392380c",
"tokenID": "1",
"tokenValue": "100",
"tokenName": "MoonX",
"tokenSymbol": "MX",
"confirmations": "4832607"
},
{
"blockNumber": "664484",
"timeStamp": "1633447494",
"hash": "0x39947d14f4da4ab18a35a63c729ddbe39c17f82dae9072fdeaed08a3ab96495c",
"nonce": "1763",
"blockHash": "0x71af4a2cb07e73b2e0a18e455470b878ec187fe0c3619bbfbd122f0222c290c4",
"transactionIndex": "2",
"gas": "588160",
"gasPrice": "1000000000",
"gasUsed": "377493",
"cumulativeGasUsed": "987399",
"input": "deprecated",
"contractAddress": "0x1974eeaf317ecf792ff307f25a3521c35eecde86",
"from": "0x495e889d1a6ceb447a57dcc1c68410299392380c",
"to": "0xe41509e3034f3f1c7ea918423da60b2ba6f14087",
"tokenID": "1",
"tokenValue": "100",
"tokenName": "MoonX",
"tokenSymbol": "MX",
"confirmations": "4832356"
}
]
}
Get list of Blocks Collated by Address
Returns the list of blocks collated by an address.
https://api-moonriver.moonscan.io/api
?module=account
&action=getminedblocks
&address=0x1baa10360585c5a0acfe4e68f52cdde3b7fba3b5
&blocktype=blocks
&page=1
&offset=10
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|
| the string representing the address to check for balance |
| the string pre-defined block type, either blocks for canonical blocks or uncles for uncle blocks only |
| the integer page number, if pagination is enabled |
| the number of transactions displayed per page |
Sample Response
{
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "4413151",
"timeStamp": "1686214032",
"blockReward": "0"
},
{
"blockNumber": "4413149",
"timeStamp": "1686214008",
"blockReward": "0"
},
{
"blockNumber": "4413142",
"timeStamp": "1686213924",
"blockReward": "245432250000000"
},
{
"blockNumber": "4413064",
"timeStamp": "1686212982",
"blockReward": "584381750000000"
},
{
"blockNumber": "4413050",
"timeStamp": "1686212814",
"blockReward": "275399250000000"
},
{
"blockNumber": "4413049",
"timeStamp": "1686212802",
"blockReward": "3020550000000"
},
{
"blockNumber": "4413010",
"timeStamp": "1686212334",
"blockReward": "0"
},
{
"blockNumber": "4412945",
"timeStamp": "1686211512",
"blockReward": "323844500000000"
},
{
"blockNumber": "4412840",
"timeStamp": "1686210216",
"blockReward": "0"
},
{
"blockNumber": "4412805",
"timeStamp": "1686209796",
"blockReward": "0"
}
]
}