Accounts
Get Ether Balance for a Single Address
Returns the Ether balance of a given address.
https://api.scrollscan.com/api
?module=account
&action=balance
&address=0xe6CeF9c84E7f74578efc74D7ea4ECd2C70017cb7
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
Sample response
{
"status":"1",
"message":"OK",
"result":"2922478018799652"
}
Convert Ethereum units using our Unit Converter.
Get Ether Balance for Multiple Addresses in a Single Call
Returns the balance of the accounts from a list of addresses.
https://api.scrollscan.com/api
?module=account
&action=balancemulti
&address=0xaf8ae6955d07776ab690e565ba6fbc79b8de3a5d,0xe93685f3bba03016f02bd1828badd6195988d950
&tag=latest
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"account": "0xaf8ae6955d07776ab690e565ba6fbc79b8de3a5d",
"balance": "9228258698504516339"
},
{
"account": "0xe93685f3bba03016f02bd1828badd6195988d950",
"balance": "66191914795840322355"
}
]
}
📖 Tip: The result
is returned in wei.
Convert Ethereum units using our Unit Converter.
Get a list of 'Normal' Transactions By Address
Returns the list of transactions performed by an address, with optional pagination.
https://api.scrollscan.com/api
?module=account
&action=txlist
&address=0xaf8ae6955d07776ab690e565ba6fbc79b8de3a5d
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "806",
"timeStamp": "1696939144",
"hash": "0x86a1bc4b267e0d8be6781b2b3b1a134ca5729b69ca0f754186e43a3ddd445d8f",
"nonce": "2",
"blockHash": "0x238ab9b79e8cbf1c57af0163cb7a33ec9a3c0ecda4ec1a881659e8fdf739a2f6",
"transactionIndex": "0",
"from": "0x48b47c07dccebdbecf76ec70890badc59e722386",
"to": "0xaf8ae6955d07776ab690e565ba6fbc79b8de3a5d",
"value": "1000000000000000000",
"gas": "21000",
"gasPrice": "400000000",
"isError": "0",
"txreceipt_status": "1",
"input": "0x",
"contractAddress": "",
"cumulativeGasUsed": "21000",
"gasUsed": "21000",
"confirmations": "633028",
"methodId": "0x",
"functionName": ""
},
{
"blockNumber": "895",
"timeStamp": "1696942405",
"hash": "0x7af838f49ff682a04bc78e7b658ab0167f53751535b1defed21388e88225dd92",
"nonce": "0",
"blockHash": "0x8cdfbd47ec5025e1e7c5a50647da2c505cce9d956543c2c005e359dec6c2a8b3",
"transactionIndex": "0",
"from": "0xaf8ae6955d07776ab690e565ba6fbc79b8de3a5d",
"to": "0x87627c7e586441eef9ee3c28b66662e897513f33",
"value": "0",
"gas": "68727",
"gasPrice": "440000000",
"isError": "0",
"txreceipt_status": "1",
"input": "0x535b355c0000000000000000000000000d88abf9bbd27d8f50a60129634e4a02da09de33000000000000000000000000000000000000000000000000002501967d778000",
"contractAddress": "",
"cumulativeGasUsed": "68141",
"gasUsed": "68141",
"confirmations": "632939",
"methodId": "0x535b355c",
"functionName": "withdrawNativeV2(address to,uint256 amount)"
}
]
}
Get a list of 'Internal' Transactions by Address
Returns the list of internal transactions performed by an address, with optional pagination.
https://api.scrollscan.com/api
?module=account
&action=txlistinternal
&address=0xaf8ae6955d07776ab690e565ba6fbc79b8de3a5d
&startblock=0
&endblock=2702578
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "72305",
"timeStamp": "1697498861",
"hash": "0x8b178deebcc70b080d35452c3fde99adcadfbf70490beb66ccae98625b49de21",
"from": "0x38de71124f7a447a01d67945a51edce9ff491251",
"to": "0xe93685f3bba03016f02bd1828badd6195988d950",
"value": "949000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "283911",
"gasUsed": "0",
"traceId": "0_1_1_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "176805",
"timeStamp": "1697867952",
"hash": "0xd39a41b13ddfeaeab07fed5e9f5c25dbe625d61d8d763ac9ecd1d4184870c48a",
"from": "0x38de71124f7a447a01d67945a51edce9ff491251",
"to": "0xe93685f3bba03016f02bd1828badd6195988d950",
"value": "2069499000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "283911",
"gasUsed": "0",
"traceId": "0_1_1_1",
"isError": "0",
"errCode": ""
}
]
}
Get 'Internal Transactions' by Transaction Hash
Returns the list of internal transactions performed within a transaction.
https://api.scrollscan.com/api
?module=account
&action=txlistinternal
&txhash=0xe02f9fe572864f0ff956cfce3a8de1a3c074f76b5b4380c1aba7f895e6f51cd2
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "596261",
"timeStamp": "1699296844",
"from": "0x38de71124f7a447a01d67945a51edce9ff491251",
"to": "0xe93685f3bba03016f02bd1828badd6195988d950",
"value": "370000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "283922",
"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.
https://api.scrollscan.com/api
?module=account
&action=txlistinternal
&startblock= 633797
&endblock=latest
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "633797",
"timeStamp": "1699409927",
"hash": "0xc52a321689ebbdda4bfde0e25bdd8830f345cd7f7c01e78d975a359268391c45",
"from": "0x87627c7e586441eef9ee3c28b66662e897513f33",
"to": "0x3fd1b05a863d80af8a3446dc3f755b32e2152865",
"value": "6239640000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "69061",
"gasUsed": "0",
"traceId": "0_1_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "633797",
"timeStamp": "1699409927",
"hash": "0xc82ccf6a2241b0382b1a107d32694d4a4d7a8ebeba8b9c8454de6bc58c6f7936",
"from": "0x5300000000000000000000000000000000000004",
"to": "0x42cd64f48496dddfeff8f3704df9175dbe20d325",
"value": "7968931965343852",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "101888",
"gasUsed": "55",
"traceId": "0_1_1_1_1_1_1_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.scrollscan.com/api
?module=account
&action=tokentx
&contractaddress=0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df
&address=0x179c537f615c6659aec59571aaac90200dce95c8
&page=1
&offset=100
&startblock=0
&endblock=27025780
&sort=asc
&apikey=YourApiKeyToken
Usage:
ERC-20 transfers from an address, specify the
address
parameterERC-20 transfers from a contract address, specify the
contract address
parameterERC-20 transfers from an address filtered by a token contract, specify both
address
andcontract address
parameters.
Query Parameters
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "37742",
"timeStamp": "1697197961",
"hash": "0x67b1965c78f074e3c9858909fe7443f90dd75ed8c1c86a74a8c58c9f26d01009",
"nonce": "5",
"blockHash": "0x44344043ce84fe244d3c1e39b0913aa3d3cdfc71bd291c8e8cdb044892da3c42",
"from": "0xa631b2a2c3469aa1bf5dc49977207f378d16d7d8",
"contractAddress": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"to": "0x179c537f615c6659aec59571aaac90200dce95c8",
"value": "146475960",
"tokenName": "Tether USD",
"tokenSymbol": "USDT",
"tokenDecimal": "6",
"transactionIndex": "0",
"gas": "473713",
"gasPrice": "1036800000",
"gasUsed": "287286",
"cumulativeGasUsed": "287286",
"input": "deprecated",
"confirmations": "596223"
},
{
"blockNumber": "37904",
"timeStamp": "1697198787",
"hash": "0x22ac5a3ed85f1941a4a54485c424f0043471e87dde1a9ac3aacfba5589d11988",
"nonce": "10",
"blockHash": "0xabb2c1d47e2b850a92faed855387f09307707c6eb162262f399abee9b7b0bbdf",
"from": "0x179c537f615c6659aec59571aaac90200dce95c8",
"contractAddress": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"to": "0xba9e88556e02ac7d890a27af62eb721c3920a348",
"value": "146475960",
"tokenName": "Tether USD",
"tokenSymbol": "USDT",
"tokenDecimal": "6",
"transactionIndex": "0",
"gas": "3674817",
"gasPrice": "1036800000",
"gasUsed": "3642289",
"cumulativeGasUsed": "3642289",
"input": "deprecated",
"confirmations": "596061"
}
]
}
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.scrollscan.com/api
?module=account
&action=tokennfttx
&contractaddress=0xE1045AFc3ABd65bB728A90a011924b0D64c6bf86
&address=0x905d7af27073cde00daa1b85f680f862166653a3
&page=1
&offset=10
&startblock=0
&endblock=27025780
&sort=asc
&apikey=YourApiKeyToken
Usage:
ERC-721 transfers from an address, specify the
address
parameterERC-721 transfers from a contract address, specify the
contract address
parameterERC-721 transfers from an address filtered by a token contract, specify both
address
andcontract address
parameters.
Query Parameters
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "531351",
"timeStamp": "1699076801",
"hash": "0x1582e6b434e94aa14c99cb633b51690302fa061ba055c085974b54dac769f0fc",
"nonce": "0",
"blockHash": "0x122f8a4cb687b4e83f31980c6f7d36bd0cb4dced52cd1b277dc313871ab3479e",
"from": "0x0000000000000000000000000000000000000000",
"contractAddress": "0xe1045afc3abd65bb728a90a011924b0d64c6bf86",
"to": "0x905d7af27073cde00daa1b85f680f862166653a3",
"tokenID": "24068",
"tokenName": "Scroll X Genesis",
"tokenSymbol": "SXG",
"tokenDecimal": "0",
"transactionIndex": "10",
"gas": "207137",
"gasPrice": "611324482",
"gasUsed": "199351",
"cumulativeGasUsed": "1877523",
"input": "deprecated",
"confirmations": "102700"
},
{
"blockNumber": "633975",
"timeStamp": "1699410461",
"hash": "0xf755d43aad2266cfb7b1f9c38a0ff0550c67a6d72963c5a0ce5995d66985b7e1",
"nonce": "2",
"blockHash": "0x8c2a9a375b0ec76b11aceb6d7c42cf23257400d74fe02a6c1660f5804473ba91",
"from": "0x0000000000000000000000000000000000000000",
"contractAddress": "0xe1045afc3abd65bb728a90a011924b0d64c6bf86",
"to": "0x905d7af27073cde00daa1b85f680f862166653a3",
"tokenID": "43764",
"tokenName": "Scroll X Genesis",
"tokenSymbol": "SXG",
"tokenDecimal": "0",
"transactionIndex": "12",
"gas": "192610",
"gasPrice": "404000000",
"gasUsed": "185051",
"cumulativeGasUsed": "1420130",
"input": "deprecated",
"confirmations": "76"
}
]
}
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.scrollscan.com/api
?module=account
&action=token1155tx
&contractaddress=0x43eF45f67Fd1398f74a4255F8B3AA435e803C01C
&address=0x38d3fcba8442d90a19f9984d421e0ff14a62848a
&page=1
&offset=100
&startblock=0
&endblock=99999999
&sort=asc
&apikey=YourApiKeyToken
Usage:
ERC-1155 transfers from an address, specify the
address
parameterERC-1155 transfers from a contract address, specify the
contract address
parameterERC-1155 transfers from an address filtered by a token contract, specify both
address
andcontract address
parameters.
Query Parameters
Sample Response
{
"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 Sequenced by Address
Returns the list of blocks sequenced by an address.
https://api.scrollscan.com/api
?module=account
&action=getminedblocks
&address=0x2448e8bb66f2e79163a6afe95a91fc024e59dfb2
&blocktype=blocks
&page=1
&offset=10
&apikey=YourApiKeyToken
Query Parameters
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "634577",
"timeStamp": "1699413269",
"blockReward": "2012909837698800"
},
{
"blockNumber": "634576",
"timeStamp": "1699413261",
"blockReward": "1249384387032000"
},
{
"blockNumber": "634575",
"timeStamp": "1699413258",
"blockReward": "1699523386220000"
},
{
"blockNumber": "634574",
"timeStamp": "1699413254",
"blockReward": "2163547151924000"
},
{
"blockNumber": "634573",
"timeStamp": "1699413244",
"blockReward": "1469738619364000"
},
{
"blockNumber": "634572",
"timeStamp": "1699413235",
"blockReward": "2321717909750800"
},
{
"blockNumber": "634571",
"timeStamp": "1699413224",
"blockReward": "2198050787860000"
},
{
"blockNumber": "634570",
"timeStamp": "1699413215",
"blockReward": "2148840666812000"
},
{
"blockNumber": "634569",
"timeStamp": "1699413206",
"blockReward": "1779733610451200"
},
{
"blockNumber": "634568",
"timeStamp": "1699413197",
"blockReward": "1072873777448000"
}
]
}
Last updated