Get Ether Balance for a Single Address
Returns the Ether balance of a given address.
https://api-sepolia.arbiscan.io/api
?module=account
&action=balance
&address=0x66288E5EAa4B4e22A38423f00A8e0E359bD71e78
&tag=latest
&apikey=YourApiKeyToken
Sample Response
{
"status":"1",
"message":"OK",
"result":"99970126600000000"
}
Get Ether Balance for Multiple Addresses in a Single Call
Returns the balance of the accounts from a list of addresses.
https://api-sepolia.arbiscan.io/api
?module=account
&action=balancemulti
&address=0xF27552275B91e436Af383266262a37fCEf017B19,0x2836eC28C32E232280F984d3980BA4e05d6BF68f,0x2e1d90501C3173367ecC6a409Fb1b588Bf3C16A5
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"account": "0xF27552275B91e436Af383266262a37fCEf017B19",
"balance": "19760348600000000"
},
{
"account": "0x2836eC28C32E232280F984d3980BA4e05d6BF68f",
"balance": "0"
},
{
"account": "0x2e1d90501C3173367ecC6a409Fb1b588Bf3C16A5",
"balance": "0"
}
]
}
Get a list of 'Normal' Transactions By Address
Returns the list of transactions performed by an address, with optional pagination.
https://api-sepolia.arbiscan.io/api
?module=account
&action=txlist
&address=0xF27552275B91e436Af383266262a37fCEf017B19
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "722533",
"timeStamp": "1698575753",
"hash": "0xc7b10250a76122a67daa73e6ef5ba7a3885676c661309f2c4f42431d906817d0",
"nonce": "0",
"blockHash": "0xe9ae3dbbef0e513e2ec4365ec2ac5872bb637717a6e986dd134d3854d94b1c89",
"transactionIndex": "1",
"from": "0xf27552275b91e436af383266262a37fcef017b19",
"to": "0x78f04ec76df38fcb37971efa8ecbcb33f52dae0f",
"value": "0",
"gas": "46456",
"gasPrice": "110000000",
"isError": "0",
"txreceipt_status": "1",
"input": "0x095ea7b300000000000000000000000042a0b5cab976d7a2a0038138dd1279b96b73f0290000000000000000000000000000000000000000000000b2f293da8d6c740000",
"contractAddress": "",
"cumulativeGasUsed": "46456",
"gasUsed": "46456",
"confirmations": "484312",
"methodId": "0x095ea7b3",
"functionName": "approve(address spender,uint256 amount)"
},
{
"blockNumber": "722538",
"timeStamp": "1698575759",
"hash": "0xfec3c6725e117024ae5820e2959c112c87098e9d3fba061002831f9aa880d34d",
"nonce": "1",
"blockHash": "0x6dbe93335403088f5b5a00c898055f03cb358a4675dedcc009fa4362c0453df9",
"transactionIndex": "1",
"from": "0xf27552275b91e436af383266262a37fcef017b19",
"to": "0x42a0b5cab976d7a2a0038138dd1279b96b73f029",
"value": "0",
"gas": "162636",
"gasPrice": "110000000",
"isError": "0",
"txreceipt_status": "1",
"input": "0xa694fc3a0000000000000000000000000000000000000000000000b2f293da8d6c740000",
"contractAddress": "",
"cumulativeGasUsed": "152558",
"gasUsed": "152558",
"confirmations": "484307",
"methodId": "0xa694fc3a",
"functionName": "stake(uint256 _tokens)"
}
]
}
Get a list of 'Internal' Transactions by Address
Returns the list of internal transactions performed by an address, with optional pagination.
https://api-sepolia.arbiscan.io/api
?module=account
&action=txlistinternal
&address=0xF27552275B91e436Af383266262a37fCEf017B19
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "664258",
"timeStamp": "1698329723",
"hash": "0x767adac576e72dbac25fe4d6a03976a06f72fd9b94273e4c27a3652db3bb071a",
"from": "0x01ce9aec13a9625953b678a0cc31e172d2a36ca8",
"to": "0xf27552275b91e436af383266262a37fcef017b19",
"value": "100000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "13822089",
"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.arbiscan.io/api
?module=account
&action=txlistinternal
&txhash=0x8e6b16dd362fede60dd1d2bf16492968f2ff64aa6510bbb1d1c9dc50071bd622
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "1206884",
"timeStamp": "1700253683",
"from": "0x35aa95ac4747d928e2cd42fe4461f6d9d1826346",
"to": "0x218a61e200ae90f6701f6476a3c28d9f1308c722",
"value": "1013000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "27246",
"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-sepolia.arbiscan.io/api
?module=account
&action=txlistinternal
&startblock=7740
&endblock=7743
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "7764",
"timeStamp": "1693472611",
"hash": "0x640a1ebdb71df2ee09dbb6a1ed978b417f07b8ca9053d297118e969fcaa21ec7",
"from": "0xa4b00000000000000000000000000000000000f6",
"to": "0x71b61c2e250afa05dfc36304d6c91501be0965d8",
"value": "1151780",
"contractAddress": "",
"input": "",
"type": "invalid",
"gas": "0",
"gasUsed": "0",
"traceId": "0_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "7764",
"timeStamp": "1693472611",
"hash": "0x640a1ebdb71df2ee09dbb6a1ed978b417f07b8ca9053d297118e969fcaa21ec7",
"from": "0xa4b00000000000000000000000000000000000f6",
"to": "0xb2248390842d3c4acf1d8a893954afc0eac586e5",
"value": "246746698848220",
"contractAddress": "",
"input": "",
"type": "invalid",
"gas": "0",
"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-sepolia.arbiscan.io/api
?module=account
&action=tokentx
&contractaddress=0x78f04eC76df38Fcb37971Efa8EcbcB33f52dae0F
&address=0x6e80164ea60673d64d5d6228beb684a1274bb017
&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": "620906",
"timeStamp": "1697555617",
"hash": "0xbb00c54b077ae1bf0c6f790a97f30bc51fc72b3f45d54a258b2f8a7d51055396",
"nonce": "68",
"blockHash": "0xd33b58c8a0a2c4480dcbc3845b711a6e1ebad81ae7c4d5c337cab2e88616de6d",
"from": "0x55b180c3470da8e31761d45468e4e61dbe13eb9b",
"contractAddress": "0x78f04ec76df38fcb37971efa8ecbcb33f52dae0f",
"to": "0x6e80164ea60673d64d5d6228beb684a1274bb017",
"value": "300000000000000000000000",
"tokenName": "Taho",
"tokenSymbol": "TAHO",
"tokenDecimal": "18",
"transactionIndex": "1",
"gas": "20604116",
"gasPrice": "1600000000",
"gasUsed": "18698607",
"cumulativeGasUsed": "18698607",
"input": "deprecated",
"confirmations": "586041"
},
{
"blockNumber": "620906",
"timeStamp": "1697555617",
"hash": "0xbb00c54b077ae1bf0c6f790a97f30bc51fc72b3f45d54a258b2f8a7d51055396",
"nonce": "68",
"blockHash": "0xd33b58c8a0a2c4480dcbc3845b711a6e1ebad81ae7c4d5c337cab2e88616de6d",
"from": "0x55b180c3470da8e31761d45468e4e61dbe13eb9b",
"contractAddress": "0x78f04ec76df38fcb37971efa8ecbcb33f52dae0f",
"to": "0x6e80164ea60673d64d5d6228beb684a1274bb017",
"value": "300000000000000000000000",
"tokenName": "Taho",
"tokenSymbol": "TAHO",
"tokenDecimal": "18",
"transactionIndex": "1",
"gas": "20604116",
"gasPrice": "1600000000",
"gasUsed": "18698607",
"cumulativeGasUsed": "18698607",
"input": "deprecated",
"confirmations": "586041"
}
]
}
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.arbiscan.io/api
?module=account
&action=tokennfttx
&contractaddress=0x4EEEdD240C98Ef89Ffc25616bee0B7Ac8Cf82Dd1
&address=0xb180014b22f45d5899eb50148084cc56393782fb
&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": "1187096",
"timeStamp": "1700211650",
"hash": "0x9cc6158226ff0b4c3cbfbdfb9ac0f5840fae5f4b6379380882860c2aa7d03cd5",
"nonce": "23",
"blockHash": "0x4dba98452c8b55aebc35b266da22814462b88eaab6ed4169c34406f8ad347382",
"from": "0x9671930dea161527a12383c1c5330571e1051898",
"contractAddress": "0x4eeedd240c98ef89ffc25616bee0b7ac8cf82dd1",
"to": "0xb180014b22f45d5899eb50148084cc56393782fb",
"tokenID": "13000003",
"tokenName": "Dummy ArtBlocks",
"tokenSymbol": "DART",
"tokenDecimal": "0",
"transactionIndex": "1",
"gas": "236775",
"gasPrice": "1600000000",
"gasUsed": "231975",
"cumulativeGasUsed": "231975",
"input": "deprecated",
"confirmations": "19872"
},
{
"blockNumber": "1187096",
"timeStamp": "1700211650",
"hash": "0x9cc6158226ff0b4c3cbfbdfb9ac0f5840fae5f4b6379380882860c2aa7d03cd5",
"nonce": "23",
"blockHash": "0x4dba98452c8b55aebc35b266da22814462b88eaab6ed4169c34406f8ad347382",
"from": "0x9671930dea161527a12383c1c5330571e1051898",
"contractAddress": "0x4eeedd240c98ef89ffc25616bee0b7ac8cf82dd1",
"to": "0xb180014b22f45d5899eb50148084cc56393782fb",
"tokenID": "13000002",
"tokenName": "Dummy ArtBlocks",
"tokenSymbol": "DART",
"tokenDecimal": "0",
"transactionIndex": "1",
"gas": "236775",
"gasPrice": "1600000000",
"gasUsed": "231975",
"cumulativeGasUsed": "231975",
"input": "deprecated",
"confirmations": "19872"
}
]
}
Last updated