Get Ether Balance for a Single Address
Returns the Ether balance of a given address.
https://api-sepolia.scrollscan.com/api
?module=account
&action=balance
&address=0x9b6bE46ed05EE77a22928ba88cA46d9FFf09e3f8
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser
Sample Response
{
"status":"1",
"message":"OK",
"result":"1348548056939728815"
}
Get Ether Balance for Multiple Addresses in a Single Call
Returns the balance of the accounts from a list of addresses.
https://api-sepolia.scrollscan.com/api
?module=account
&action=balancemulti
&address=0x382b4ca2c4a7cd28c1c400c69d81ec2b2637f7dd,0x382b4ca2c4a7cd28c1c400c69d81ec2b2637f7dd,0x8a5847fd0e592b058c026c5fdc322aee834b87f5&tag=latest&apikey=YourApiKeyToken,0x63a9dbCe75413036B2B778E670aaBd4493aAF9F3,0xd82b6aB1f20A21484fA5E28221B95425dddC5E8E
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"account":"0x382b4ca2c4a7cd28c1c400c69d81ec2b2637f7dd",
"balance":"206796937658929992503000"
},
{
"account":"0x382b4ca2c4a7cd28c1c400c69d81ec2b2637f7dd",
"balance":"206796937658929992503000"
},
{
"account":"0x8a5847fd0e592b058c026c5fdc322aee834b87f5",
"balance":"16288712393992050891"
}
]
}
Get a list of 'Normal' Transactions By Address
Returns the list of transactions performed by an address, with optional pagination.
https://api-sepolia.scrollscan.com/api
?module=account
&action=txlist
&address=0x9b6bE46ed05EE77a22928ba88cA46d9FFf09e3f8
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "2026293",
"timeStamp": "1698981017",
"hash": "0x89f56c2d0d49c9dcaa61f72ec0746b0b1cda07b4c21e77d2a5a9e29fe32967ab",
"nonce": "767",
"blockHash": "0x0e3ade14ecd7c55adfe7e6abfca643d924f0732883e491c56e7c9f572805ebd5",
"transactionIndex": "0",
"from": "0x509d90bea29c4e0e47b80c4c209537fd97190c25",
"to": "0x9b6be46ed05ee77a22928ba88ca46d9fff09e3f8",
"value": "100000000000000000",
"gas": "21000",
"gasPrice": "7614380700",
"isError": "0",
"txreceipt_status": "1",
"input": "0x",
"contractAddress": "",
"cumulativeGasUsed": "21000",
"gasUsed": "21000",
"confirmations": "374412",
"methodId": "0x",
"functionName": ""
},
{
"blockNumber": "2026306",
"timeStamp": "1698981064",
"hash": "0x15411a1d9701c8dd5235e0b59e561a0c2b6c789ebe396b1caf81749191491fa2",
"nonce": "0",
"blockHash": "0x34766a0c419647ee7fa9d87ede77f0b4675b48e1b888ace55784a7e1bd60b717",
"transactionIndex": "0",
"from": "0x9b6be46ed05ee77a22928ba88ca46d9fff09e3f8",
"to": "",
"value": "0",
"gas": "2308535",
"gasPrice": "7614380700",
"isError": "0",
"txreceipt_status": "1",
"input": "0x608060405234801561001057600080fd5b506128fa806100206000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806391d14854116100b8578063e02023a11161007c578063e02023a114610303578063e63ab1e914610321578063f2fde38b1461033f578063f5537ede1461035b578063f72c0d8b14610377578063f8b2cb4f1461039557610142565b806391d14854146102615780639e281a9814610291578063a10d0960146102ad578063a217fddf146102c9578063d547741f146102e757610142565b80633f4ba83a1161010a5780633f4ba83a146101fd5780635c975abb14610207578063715018a6146102255780638129fc1c1461022f5780638456cb59146102395780638da5cb5b1461024357610142565b806301ffc9a714610147578063206b60f914610177578063248a9ca3146101955780632f2ff15d146101c557806336568abe146101e1575b600080fd5b610161600480360381019061015c919061198f565b6103c5565b60405161016e91906119d7565b60405180910390f35b61017f61043f565b60405161018c9190611a0b565b60405180910390f35b6101af60048036038101906101aa9190611a52565b610463565b6040516101bc9190611a0b565b60405180910390f35b6101df60048036038101906101da9190611add565b610483565b005b6101fb60048036038101906101f69190611add565b6104a4565b005b610205610527565b005b61020f61055c565b60405161021c91906119d7565b60405180910390f35b61022d610573565b005b610237610587565b005b610241610782565b005b61024b6107b7565b6040516102589190611b2c565b60405180910390f35b61027b60048036038101906102769190611add565b6107e1565b60405161028891906119d7565b60405180910390f35b6102ab60048036038101906102a69190611b7d565b61084c565b005b6102c760048036038101906102c29190611d03565b610885565b005b6102d161094c565b6040516102de9190611a0b565b60405180910390f35b61030160048036038101906102fc9190611add565b610953565b005b61030b610974565b6040516103189190611a0b565b60405180910390f35b610329610998565b6040516103369190611a0b565b60405180910390f35b61035960048036038101906103549190611d72565b6109bc565b005b61037560048036038101906103709190611d9f565b610a3f565b005b61037f610a7a565b60405161038c9190611a0b565b60405180910390f35b6103af60048036038101906103aa9190611d72565b610a9e565b6040516103bc9190611e01565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610438575061043782610af5565b5b9050919050565b7f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c81565b600060656000838152602001908152602001600020600101549050919050565b61048c82610463565b61049581610b5f565b61049f8383610b73565b505050565b6104ac610c54565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610519576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051090611e9f565b60405180910390fd5b6105238282610c5c565b5050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61055181610b5f565b610559610d3e565b50565b6000609760009054906101000a900460ff16905090565b61057b610da1565b6105856000610e1f565b565b60008060019054906101000a900460ff161590508080156105b85750600160008054906101000a900460ff1660ff16105b806105e557506105c730610ee5565b1580156105e45750600160008054906101000a900460ff1660ff16145b5b610624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061b90611f31565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015610661576001600060016101000a81548160ff0219169083151502179055505b610669610f08565b610671610f59565b61067e6000801b33610fb2565b6106a87f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610fb2565b6106d27f189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e333610fb2565b6106fc7f5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec33610fb2565b6107267f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c33610fb2565b801561077f5760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516107769190611fa3565b60405180910390a15b50565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6107ac81610b5f565b6107b4610fc0565b50565b600060c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006065600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec61087681610b5f565b6108808284611023565b505050565b61088e336111b7565b156108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c59061200a565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461093c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093390612076565b60405180910390fd5b6109478383836111ca565b505050565b6000801b81565b61095c82610463565b61096581610b5f565b61096f8383610c5c565b505050565b7f5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec81565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6109c4610da1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90612108565b60405180910390fd5b610a3c81610e1f565b50565b7f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c610a6981610b5f565b610a7484848461139f565b50505050565b7f189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e381565b60008060001b610aad81610b5f565b60fb60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610b7081610b6b610c54565b611536565b50565b610b7d82826107e1565b610c505760016065600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610bf5610c54565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600033905090565b610c6682826107e1565b15610d3a5760006065600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610cdf610c54565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b610d466115bb565b6000609760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610d8a610c54565b604051610d979190611b2c565b60405180910390a1565b610da9610c54565b73ffffffffffffffffffffffffffffffffffffffff16610dc76107b7565b73ffffffffffffffffffffffffffffffffffffffff1614610e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1490612174565b60405180910390fd5b565b600060c960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160c960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16610f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4e90612206565b60405180910390fd5b565b600060019054906101000a900460ff16610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f90612206565b60405180910390fd5b610fb0611604565b565b610fbc8282610b73565b5050565b610fc8611670565b6001609760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861100c610c54565b6040516110199190611b2c565b60405180910390a1565b8160fb60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109c90612272565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b81526004016110e0929190612292565b6020604051808303816000875af11580156110ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112391906122e7565b508160fb60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111739190612343565b925050819055507fa175fc4e3e2aaab237604b6aaca5daacd407be7af531d7a1b536670b9f605eeb33836040516111ab929190612292565b60405180910390a15050565b600080823b905060008111915050919050565b818373ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016112049190611b2c565b602060405180830381865afa158015611221573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611245919061238c565b1015611286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127d90612405565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016112c393929190612425565b6020604051808303816000875af11580156112e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130691906122e7565b508160fb60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611356919061245c565b925050819055507f6d3264fffeeecdff54c3f1a3462a813795a129e3bbdf25a0afdeacc8e543cb723384848460405161139294939291906124fe565b60405180910390a1505050565b8060fb60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611421576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141890612596565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b815260040161145c929190612292565b6020604051808303816000875af115801561147b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149f91906122e7565b508060fb60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114ef9190612343565b925050819055507f59afe62b0a1a7fb858686f439bfab52576737258ae2e13779ab458172428089e83838360405161152993929190612425565b60405180910390a1505050565b61154082826107e1565b6115b75761154d816116ba565b61155b8360001c60206116e7565b60405160200161156c92919061268a565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ae91906126c4565b60405180910390fd5b5050565b6115c361055c565b611602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f990612732565b60405180910390fd5b565b600060019054906101000a900460ff16611653576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164a90612206565b60405180910390fd5b6000609760006101000a81548160ff021916908315150217905550565b61167861055c565b156116b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116af9061279e565b60405180910390fd5b565b60606116e08273ffffffffffffffffffffffffffffffffffffffff16601460ff166116e7565b9050919050565b6060600060028360026116fa91906127be565b611704919061245c565b67ffffffffffffffff81111561171d5761171c611bd8565b5b6040519080825280601f01601f19166020018201604052801561174f5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061178757611786612800565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106117eb576117ea612800565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261182b91906127be565b611835919061245c565b90505b60018111156118d5577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061187757611876612800565b5b1a60f81b82828151811061188e5761188d612800565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806118ce9061282f565b9050611838565b5060008414611919576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611910906128a4565b60405180910390fd5b8091505092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61196c81611937565b811461197757600080fd5b50565b60008135905061198981611963565b92915050565b6000602082840312156119a5576119a461192d565b5b60006119b38482850161197a565b91505092915050565b60008115159050919050565b6119d1816119bc565b82525050565b60006020820190506119ec60008301846119c8565b92915050565b6000819050919050565b611a05816119f2565b82525050565b6000602082019050611a2060008301846119fc565b92915050565b611a2f816119f2565b8114611a3a57600080fd5b50565b600081359050611a4c81611a26565b92915050565b600060208284031215611a6857611a6761192d565b5b6000611a7684828501611a3d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611aaa82611a7f565b9050919050565b611aba81611a9f565b8114611ac557600080fd5b50565b600081359050611ad781611ab1565b92915050565b60008060408385031215611af457611af361192d565b5b6000611b0285828601611a3d565b9250506020611b1385828601611ac8565b9150509250929050565b611b2681611a9f565b82525050565b6000602082019050611b416000830184611b1d565b92915050565b6000819050919050565b611b5a81611b47565b8114611b6557600080fd5b50565b600081359050611b7781611b51565b92915050565b60008060408385031215611b9457611b9361192d565b5b6000611ba285828601611ac8565b9250506020611bb385828601611b68565b9150509250929050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611c1082611bc7565b810181811067ffffffffffffffff82111715611c2f57611c2e611bd8565b5b80604052505050565b6000611c42611923565b9050611c4e8282611c07565b919050565b600067ffffffffffffffff821115611c6e57611c6d611bd8565b5b611c7782611bc7565b9050602081019050919050565b82818337600083830152505050565b6000611ca6611ca184611c53565b611c38565b905082815260208101848484011115611cc257611cc1611bc2565b5b611ccd848285611c84565b509392505050565b600082601f830112611cea57611ce9611bbd565b5b8135611cfa848260208601611c93565b91505092915050565b600080600060608486031215611d1c57611d1b61192d565b5b6000611d2a86828701611ac8565b9350506020611d3b86828701611b68565b925050604084013567ffffffffffffffff811115611d5c57611d5b611932565b5b611d6886828701611cd5565b9150509250925092565b600060208284031215611d8857611d8761192d565b5b6000611d9684828501611ac8565b91505092915050565b600080600060608486031215611db857611db761192d565b5b6000611dc686828701611ac8565b9350506020611dd786828701611ac8565b9250506040611de886828701611b68565b9150509250925092565b611dfb81611b47565b82525050565b6000602082019050611e166000830184611df2565b92915050565b600082825260208201905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000611e89602f83611e1c565b9150611e9482611e2d565b604082019050919050565b60006020820190508181036000830152611eb881611e7c565b9050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000611f1b602e83611e1c565b9150611f2682611ebf565b604082019050919050565b60006020820190508181036000830152611f4a81611f0e565b9050919050565b6000819050919050565b600060ff82169050919050565b6000819050919050565b6000611f8d611f88611f8384611f51565b611f68565b611f5b565b9050919050565b611f9d81611f72565b82525050565b6000602082019050611fb86000830184611f94565b92915050565b7f436f6e7472616374206e6f7420616c6c6f776564000000000000000000000000600082015250565b6000611ff4601483611e1c565b9150611fff82611fbe565b602082019050919050565b6000602082019050818103600083015261202381611fe7565b9050919050565b7f50726f787920636f6e7472616374206e6f7420616c6c6f776564000000000000600082015250565b6000612060601a83611e1c565b915061206b8261202a565b602082019050919050565b6000602082019050818103600083015261208f81612053565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006120f2602683611e1c565b91506120fd82612096565b604082019050919050565b60006020820190508181036000830152612121816120e5565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061215e602083611e1c565b915061216982612128565b602082019050919050565b6000602082019050818103600083015261218d81612151565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b60006121f0602b83611e1c565b91506121fb82612194565b604082019050919050565b6000602082019050818103600083015261221f816121e3565b9050919050565b7f4e6f7420656e6f75676820746f6b656e7320746f207769746864726177000000600082015250565b600061225c601d83611e1c565b915061226782612226565b602082019050919050565b6000602082019050818103600083015261228b8161224f565b9050919050565b60006040820190506122a76000830185611b1d565b6122b46020830184611df2565b9392505050565b6122c4816119bc565b81146122cf57600080fd5b50565b6000815190506122e1816122bb565b92915050565b6000602082840312156122fd576122fc61192d565b5b600061230b848285016122d2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061234e82611b47565b915061235983611b47565b925082820390508181111561237157612370612314565b5b92915050565b60008151905061238681611b51565b92915050565b6000602082840312156123a2576123a161192d565b5b60006123b084828501612377565b91505092915050565b7f4e6f7420656e6f75676820746f6b656e7320746f206465706f73697400000000600082015250565b60006123ef601c83611e1c565b91506123fa826123b9565b602082019050919050565b6000602082019050818103600083015261241e816123e2565b9050919050565b600060608201905061243a6000830186611b1d565b6124476020830185611b1d565b6124546040830184611df2565b949350505050565b600061246782611b47565b915061247283611b47565b925082820190508082111561248a57612489612314565b5b92915050565b600081519050919050565b60005b838110156124b957808201518184015260208101905061249e565b60008484015250505050565b60006124d082612490565b6124da8185611e1c565b93506124ea81856020860161249b565b6124f381611bc7565b840191505092915050565b60006080820190506125136000830187611b1d565b6125206020830186611b1d565b61252d6040830185611df2565b818103606083015261253f81846124c5565b905095945050505050565b7f4e6f7420656e6f75676820746f6b656e7320746f207472616e73666572000000600082015250565b6000612580601d83611e1c565b915061258b8261254a565b602082019050919050565b600060208201905081810360008301526125af81612573565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006125f76017836125b6565b9150612602826125c1565b601782019050919050565b600061261882612490565b61262281856125b6565b935061263281856020860161249b565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006126746011836125b6565b915061267f8261263e565b601182019050919050565b6000612695826125ea565b91506126a1828561260d565b91506126ac82612667565b91506126b8828461260d565b91508190509392505050565b600060208201905081810360008301526126de81846124c5565b905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061271c601483611e1c565b9150612727826126e6565b602082019050919050565b6000602082019050818103600083015261274b8161270f565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612788601083611e1c565b915061279382612752565b602082019050919050565b600060208201905081810360008301526127b78161277b565b9050919050565b60006127c982611b47565b91506127d483611b47565b92508282026127e281611b47565b915082820484148315176127f9576127f8612314565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061283a82611b47565b91506000820361284d5761284c612314565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061288e602083611e1c565b915061289982612858565b602082019050919050565b600060208201905081810360008301526128bd81612881565b905091905056fea26469706673582212205e579cb7de1eb0d0cdb1d4f7d492d43fa1318525bf90761a149141a0d4800de464736f6c63430008130033",
"contractAddress": "0x3f0da797a39748c30224d7233cb5fab891b82bec",
"cumulativeGasUsed": "2308535",
"gasUsed": "2308535",
"confirmations": "374399",
"methodId": "0x60806040",
"functionName": ""
}
]
}
Get a list of 'Internal' Transactions by Address
Returns the list of internal transactions performed by an address, with optional pagination.
https://api-sepolia.scrollscan.com/api
?module=account
&action=txlistinternal
&address=0x9b6bE46ed05EE77a22928ba88cA46d9FFf09e3f8
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"765371",
"timeStamp":"1648218619",
"hash":"0xcb6609b6f9133fc1bfd189fb52ed616968a5f7c56af8da3bd6724f7655fe5f78",
"from":"0x02f11eabf51d28bb0bae795e256ce52161d65c2b",
"to":"0xa4fadaa5e8577fee5799e2bd9615014013b45c5d",
"value":"10000000000000000",
"contractAddress":"",
"input":"",
"type":"call",
"gas":"2300",
"gasUsed":"0",
"traceId":"0_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-sepolia.scrollscan.com/api
?module=account
&action=txlistinternal
&txhash=0xb730ee4dc8d0274be31d1e31ed7fe9749d7a67c0e35b297f3c2d10b06c1f6f1e
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"312070",
"timeStamp":"1639592011",
"from":"0xa234eead085ac80a4f7cc5220789e048373f0f1e",
"to":"",
"value":"0",
"contractAddress":"0x63a19c2868e469ffc2c8346c93f81ff6e140ffaf",
"input":"",
"type":"create",
"gas":"8504616",
"gasUsed":"134349",
"isError":"0",
"errCode":""
},
{
"blockNumber":"312070",
"timeStamp":"1639592011",
"from":"0xa234eead085ac80a4f7cc5220789e048373f0f1e",
"to":"",
"value":"0",
"contractAddress":"0xe05ba0186f4a5a5d0eb8a5394d8413411ffd321c",
"input":"",
"type":"create",
"gas":"1119086",
"gasUsed":"134349",
"isError":"0",
"errCode":""
},
{
"blockNumber":"312070",
"timeStamp":"1639592011",
"from":"0xa234eead085ac80a4f7cc5220789e048373f0f1e",
"to":"",
"value":"0",
"contractAddress":"0x7b99f4f6260c3cd12984e8d2b83eaf51d44e2254",
"input":"",
"type":"create",
"gas":"134349",
"gasUsed":"134349",
"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-sepolia.scrollscan.com/api
?module=account
&action=txlistinternal
&startblock=484887
&endblock=765371
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "2026446",
"timeStamp": "1698981606",
"hash": "0x88a5e999b3286ae5db89cd041060839742bd9de91c6da29f67bf173bafaa7ce1",
"from": "0x91e8addfe1358aca5314c644312d38237fc1101c",
"to": "0x9b6be46ed05ee77a22928ba88ca46d9fff09e3f8",
"value": "2000000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "76557",
"gasUsed": "0",
"traceId": "0_1_1_1_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "2292771",
"timeStamp": "1700200448",
"hash": "0xd384a6c2bb1d9e30701089b2b2a086d916ca46420cd7762c6f8a2e776a503ce2",
"from": "0xbe406f0189a0b4cf3a05c286473d23791dd44cc6",
"to": "0x9b6be46ed05ee77a22928ba88ca46d9fff09e3f8",
"value": "433129473262238",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "30402",
"gasUsed": "0",
"traceId": "0_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-sepolia.scrollscan.com/api
?module=account
&action=tokentx
&contractaddress=0x8215a295313fc22c3ebb08db3eb5fef1d366acce
&address=0xac0397604221e841d71615a498cfb389b61dd8ec
&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.
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "2333813",
"timeStamp": "1700555015",
"hash": "0x2e3651ed3ea566759ca0ea103bf4c217922b4af891fee2a69a7d01b3a2694bd0",
"nonce": "0",
"blockHash": "0xa1ef0ed13ff66a1b4e4a084cee91348a415bbccdccd159ba061d4b6de098e2d1",
"from": "0x0000000000000000000000000000000000000000",
"contractAddress": "0x8215a295313fc22c3ebb08db3eb5fef1d366acce",
"to": "0xac0397604221e841d71615a498cfb389b61dd8ec",
"value": "1000000000000000000000",
"tokenName": "USDC",
"tokenSymbol": "USDC",
"tokenDecimal": "18",
"transactionIndex": "1",
"gas": "217131",
"gasPrice": "10000000000",
"gasUsed": "142773",
"cumulativeGasUsed": "190038",
"input": "deprecated",
"confirmations": "66906"
},
{
"blockNumber": "2354050",
"timeStamp": "1700708380",
"hash": "0x9bbfb1cd1d882924b4e220a1e5d681b57ac5d3f693aee7a6def85471a312de7c",
"nonce": "1",
"blockHash": "0xdb01a4cab7003e0ebb550fe3dda41f7e3e72dde2f382fd80bb0209237f78fb87",
"from": "0x0000000000000000000000000000000000000000",
"contractAddress": "0x8215a295313fc22c3ebb08db3eb5fef1d366acce",
"to": "0xac0397604221e841d71615a498cfb389b61dd8ec",
"value": "1000000000000000000000",
"tokenName": "USDC",
"tokenSymbol": "USDC",
"tokenDecimal": "18",
"transactionIndex": "0",
"gas": "138703",
"gasPrice": "1000000000",
"gasUsed": "91473",
"cumulativeGasUsed": "91473",
"input": "deprecated",
"confirmations": "46669"
},
{
"blockNumber": "2354134",
"timeStamp": "1700709355",
"hash": "0xb36ebdbbeefaeca6698fe85952751ca88df7b159e5f34329946fdf01eef3b4a6",
"nonce": "2",
"blockHash": "0xda1201d472b9f25af49d6f8b4d9bb14527394266ef8e8c560b8f1e1065e2871b",
"from": "0x0000000000000000000000000000000000000000",
"contractAddress": "0x8215a295313fc22c3ebb08db3eb5fef1d366acce",
"to": "0xac0397604221e841d71615a498cfb389b61dd8ec",
"value": "1000000000000000000000",
"tokenName": "USDC",
"tokenSymbol": "USDC",
"tokenDecimal": "18",
"transactionIndex": "0",
"gas": "138703",
"gasPrice": "1000000000",
"gasUsed": "91473",
"cumulativeGasUsed": "91473",
"input": "deprecated",
"confirmations": "46585"
}
]
}
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-sepolia.scrollscan.com/api
?module=account
&action=tokennfttx
&contractaddress=0xC1C4aa02F5B65D1A885eC5cC03B39598047390eB
&address=0x329a7f8b91ce7479035cb1b5d62ab41845830ce8
&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.
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "496549",
"timeStamp": "1693894575",
"hash": "0x488909bef712e0e0cd8691eca31de74fa786a67a5decf70fdd1125c4ea96c155",
"nonce": "22",
"blockHash": "0xe159aaf66e84fd81ea5c7371428599c0cdceb6a7994326d60432f62d13701a63",
"from": "0xd44a745f1081d7e7eec09ad07ef43d8028d414de",
"contractAddress": "0xc1c4aa02f5b65d1a885ec5cc03b39598047390eb",
"to": "0x329a7f8b91ce7479035cb1b5d62ab41845830ce8",
"tokenID": "1",
"tokenName": "Particle@Scroll",
"tokenSymbol": "PNSCROLL",
"tokenDecimal": "0",
"transactionIndex": "0",
"gas": "583857",
"gasPrice": "7009546306",
"gasUsed": "141100",
"cumulativeGasUsed": "141100",
"input": "deprecated",
"confirmations": "1904173"
},
{
"blockNumber": "501376",
"timeStamp": "1693909073",
"hash": "0xb7dd5e865ff6f10e16a3691902298cc00614c5190aff65b64a7a54b8a63ec958",
"nonce": "1",
"blockHash": "0x769f6d14df1e6fbfa1a6b8f98eea7f2d3c171047f6ddf97f7564cfd0d9b3b36b",
"from": "0x5b065bec3d00fec87c087c0b1576d10e7844dd67",
"contractAddress": "0xc1c4aa02f5b65d1a885ec5cc03b39598047390eb",
"to": "0x329a7f8b91ce7479035cb1b5d62ab41845830ce8",
"tokenID": "2",
"tokenName": "Particle@Scroll",
"tokenSymbol": "PNSCROLL",
"tokenDecimal": "0",
"transactionIndex": "0",
"gas": "558153",
"gasPrice": "7009546306",
"gasUsed": "123976",
"cumulativeGasUsed": "123976",
"input": "deprecated",
"confirmations": "1899346"
}
]
}
Get list of Blocks Mined by Address
Returns the list of blocks mined by an address.
https://api-sepolia.scrollscan.com/api
?module=account
&action=getminedblocks
&address=0x48c3f81f3d998b6652900e1c3183736c238fe429
&blocktype=blocks
&page=1
&offset=10
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "2400726",
"timeStamp": "1701071632",
"blockReward": "467088000000000"
},
{
"blockNumber": "2400725",
"timeStamp": "1701071622",
"blockReward": "2071680000000000"
}
]
}