Get frxETH Balance for a Single Address
Returns the frxETH balance of a given address.
Copy https://api.fraxscan.com/api
?module=account
&action=balance
&address=0xe7c147cd1a7c05a6e73217645547582024e87a9b
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Request Response
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
Copy {
"status":"1",
"message":"OK",
"result":"33935193270079954"
}
Get frxETH Balance for Multiple Addresses in a Single Call
Returns the balance of the accounts from a list of addresses.
Copy https://api.fraxscan.com/api
?module=account
&action=balancemulti
&address=0xe7c147cd1a7c05a6e73217645547582024e87a9b,0xc6ef452b0de9e95ccb153c2a5a7a90154aab3419,0xb0e1650a9760e0f383174af042091fc544b8356f
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Request Response
Query Parameters
Parameter Description the strings
representing the addresses to check for balance, separated by ,
up to 20 addresses per call
the integer
pre-defined block parameter, either earliest
, pending
or latest
Sample Response
Copy {
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"account": "0xe7c147cd1a7c05a6e73217645547582024e87a9b",
"balance": "33935193270079954"
},
{
"account": "0xc6ef452b0de9e95ccb153c2a5a7a90154aab3419",
"balance": "23665065408470996"
},
{
"account": "0xb0e1650a9760e0f383174af042091fc544b8356f",
"balance": "4121489416440708"
}
]
}
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.
Copy https://api.fraxscan.com/api
?module=account
&action=txlist
&address=0xe7c147cd1a7c05a6e73217645547582024e87a9b
&startblock=0
&endblock=latest
&page=1
&offset=2
&sort=asc
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Request Response
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 descendin Tip: Specify a smaller startblock
and endblock
range for faster search results.
Sample Response
Copy {
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "108832",
"timeStamp": "1707028375",
"hash": "0xc155736d955eeee45cc020be84526da0215654b9a870416b6fafeea3e530faac",
"nonce": "0",
"blockHash": "0x2204e4678500be447da4b73e2d4cf2e4f319bfe961756c64d93f942b809c95a6",
"transactionIndex": "1",
"from": "0xe7c147cd1a7c05a6e73217645547582024e87a9b",
"to": "0xc22834581ebc8527d974f8a1c97e1bea4ef910bc",
"value": "0",
"gas": "326233",
"gasPrice": "3000000254",
"isError": "0",
"txreceipt_status": "1",
"input": "0x1688f0b9000000000000000000000000fb1bffc9d739b8d520daf37df666da4c687191ea00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000065bf2f850000000000000000000000000000000000000000000000000000000000000164b63e800d000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e7c147cd1a7c05a6e73217645547582024e87a9b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"contractAddress": "",
"cumulativeGasUsed": "311808",
"gasUsed": "236222",
"confirmations": "171511",
"methodId": "0x1688f0b9",
"functionName": ""
},
{
"blockNumber": "108997",
"timeStamp": "1707028705",
"hash": "0xa37babe0f5b87ffb70a0ff0f10473a916cafe3dbc7be22ce14d546472c233dfc",
"nonce": "1",
"blockHash": "0x2f3ee734ac5292cffd07f918050c48a25afcadaff21c42aa6c59f9af7ae14cb3",
"transactionIndex": "1",
"from": "0xe7c147cd1a7c05a6e73217645547582024e87a9b",
"to": "0xc4eb45d80dc1f079045e75d5d55de8ed1c1090e6",
"value": "0",
"gas": "230659",
"gasPrice": "1000254",
"isError": "0",
"txreceipt_status": "1",
"input": "0x6a761202000000000000000000000000a1dabef33b3b82c7814b6d82a79e50f4ac44102b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000003448d80ff0a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000002fd00c4eb45d80dc1f079045e75d5d55de8ed1c1090e6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000440d582f13000000000000000000000000f4e1d185666a624099298fcc42c50ba662dc7e52000000000000000000000000000000000000000000000000000000000000000100c4eb45d80dc1f079045e75d5d55de8ed1c1090e6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000440d582f1300000000000000000000000017e06ce6914e3969f7bd37d8b2a563890ca1c96e000000000000000000000000000000000000000000000000000000000000000100c4eb45d80dc1f079045e75d5d55de8ed1c1090e6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000006933bcc3e96f1c4d2cb73cb391d854b18ab7a4f2000000000000000000000000000000000000000000000000000000000000000100c4eb45d80dc1f079045e75d5d55de8ed1c1090e6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000440d582f130000000000000000000000006e74053a3798e0fc9a9775f7995316b27f21c4d2000000000000000000000000000000000000000000000000000000000000000100c4eb45d80dc1f079045e75d5d55de8ed1c1090e6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000440d582f13000000000000000000000000892d3076fb9ac7cb2b9cf25f051a275e69d460e30000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041000000000000000000000000e7c147cd1a7c05a6e73217645547582024e87a9b00000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000",
"contractAddress": "",
"cumulativeGasUsed": "276130",
"gasUsed": "225556",
"confirmations": "171346",
"methodId": "0x6a761202",
"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.
Copy https://api.fraxscan.com/api
?module=account
&action=txlistinternal
&address=0xe7c147cd1a7c05a6e73217645547582024e87a9b
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Request Response
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
Copy {
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "56736",
"timeStamp": "1706924183",
"hash": "0x9f79269dcc29fdea733a2f2b5cd77a20309969e2863d6d4f626608421d65a539",
"from": "0x4200000000000000000000000000000000000010",
"to": "0xe7c147cd1a7c05a6e73217645547582024e87a9b",
"value": "50000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "345566",
"gasUsed": "0",
"traceId": "0_1_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.
Copy https://api.fraxscan.com/api
?module=account
&action=txlistinternal
&txhash=0x9f79269dcc29fdea733a2f2b5cd77a20309969e2863d6d4f626608421d65a539
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Request Response
Query Parameters
Parameter Description the string
representing the transaction hash to check for internal transactions
Sample Response
Copy {
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "56736",
"timeStamp": "1706924183",
"from": "0x4200000000000000000000000000000000000007",
"to": "0x4200000000000000000000000000000000000010",
"value": "50000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "404963",
"gasUsed": "47804",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "56736",
"timeStamp": "1706924183",
"from": "0x4200000000000000000000000000000000000010",
"to": "0xe7c147cd1a7c05a6e73217645547582024e87a9b",
"value": "50000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "345566",
"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.
📝 Note : This API endpoint returns a maximum of 10000 records only.
Copy https://api.fraxscan.com/api
?module=account
&action=txlistinternal
&startblock=0
&endblock=latest
&page=1
&offset=2
&sort=asc
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Request Response
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
Copy {
"status": "1",
"message": "OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
"result": [
{
"blockNumber": "56736",
"timeStamp": "1706924183",
"hash": "0x9f79269dcc29fdea733a2f2b5cd77a20309969e2863d6d4f626608421d65a539",
"from": "0x4200000000000000000000000000000000000007",
"to": "0x4200000000000000000000000000000000000010",
"value": "50000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "404963",
"gasUsed": "47804",
"traceId": "0_1_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "56736",
"timeStamp": "1706924183",
"hash": "0x9f79269dcc29fdea733a2f2b5cd77a20309969e2863d6d4f626608421d65a539",
"from": "0x4200000000000000000000000000000000000010",
"to": "0xe7c147cd1a7c05a6e73217645547582024e87a9b",
"value": "50000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "345566",
"gasUsed": "0",
"traceId": "0_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.
Copy https://api.fraxscan.com/api
?module=account
&action=tokentx
&contractaddress=0xB223610E6BC02ED9398F8f10cB3848Ddd39E0055
&address=0xbd2b5034f028a0284648ebf18714f3660a8a9f02
&page=1
&offset=2
&startblock=0
&endblock=latest
&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 🔗
Request Response
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
Copy {
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"3868825",
"timeStamp":"1630821451",
"hash":"0x1418637f3e0120fa85b22cbd1ac44b6819713db64111841627c34e8f9495ab89",
"nonce":"0",
"blockHash":"0xad6c166117cd99df12f241af6bd85b6ef7697e51631032dcac355d328099c7fb",
"from":"0x1643de2efb8e35374d796297a9f95f64c082a8ce",
"contractAddress":"0x6e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd",
"to":"0xad0c052a9ea77913cb79a0cc4a0fd7842960ecba",
"value":"19533122741743778728",
"tokenName":"JoeToken",
"tokenSymbol":"JOE",
"tokenDecimal":"18",
"transactionIndex":"1",
"gas":"248805",
"gasPrice":"90120047439",
"gasUsed":"202896",
"cumulativeGasUsed":"223896",
"input":"deprecated",
"confirmations":"9159958"
},
{
"blockNumber":"3868862",
"timeStamp":"1630821508",
"hash":"0x556d9b1dd3c2a6d19d3edcb7657d8ebd8cddf6c8a2f1ccee636630b8529237e1",
"nonce":"1",
"blockHash":"0x864ddaff34f2861ac61df8521779fde20391465c6e62cd6b5bb4274c8efed4fb",
"from":"0xad0c052a9ea77913cb79a0cc4a0fd7842960ecba",
"contractAddress":"0x6e84a6216ea6dacc71ee8e6b0a5b7322eebc0fdd",
"to":"0x76bc9067aa5db06b3fc6d75f189e24b50968a0db",
"value":"19500000000000000000",
"tokenName":"JoeToken",
"tokenSymbol":"JOE",
"tokenDecimal":"18",
"transactionIndex":"0",
"gas":"51757",
"gasPrice":"85000000000",
"gasUsed":"51757",
"cumulativeGasUsed":"51757",
"input":"deprecated",
"confirmations":"9159921"
}
]
}
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.
Copy https://api.fraxscan.com/api
?module=account
&action=tokennfttx
&contractaddress=0x1b7966315eF0259de890F38f1bDB95Acc03caCdD
&address=0xa6d59120219fd6e763b5bc872cc9f76c1ac89878
&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 🔗
Request Response
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
Copy {
"status":"1",
"message":"OK",
"result":[
{
"blockNumber":"11250431",
"timeStamp":"1645533606",
"hash":"0xb1a6a1bafb06c2e4ac9c281ecf95239dfa4c40e8793934e54937f932a888ecf3",
"nonce":"1",
"blockHash":"0x99c646dca2b2c0fe5ee896359c6e98b21c1e0f0f65c23cbf5a284202dfe8a8f9",
"from":"0x7e8deef5bb861cf158d8bdaaa1c31f7b49922f49",
"contractAddress":"0x1b7966315ef0259de890f38f1bdb95acc03cacdd",
"to":"0xa6d59120219fd6e763b5bc872cc9f76c1ac89878",
"tokenID":"34045",
"tokenName":"Crabada",
"tokenSymbol":"Crabada",
"tokenDecimal":"0",
"transactionIndex":"3",
"gas":"239037",
"gasPrice":"27500000000",
"gasUsed":"155164",
"cumulativeGasUsed":"511214",
"input":"deprecated",
"confirmations":"1778394"
},
{
"blockNumber":"11251300",
"timeStamp":"1645535346",
"hash":"0x77fc76fb66cd10e203e6c17c250fd1982453e5529e5186ac24d3dbc15050dd91",
"nonce":"3",
"blockHash":"0x5bbcc73e296f6049a8bcb6707f1d766c68af7ecbbda601fc306aac16aa3f1b42",
"from":"0xa6d59120219fd6e763b5bc872cc9f76c1ac89878",
"contractAddress":"0x1b7966315ef0259de890f38f1bdb95acc03cacdd",
"to":"0x82a85407bd612f52577909f4a58bfc6873f14da8",
"tokenID":"34045",
"tokenName":"Crabada",
"tokenSymbol":"Crabada",
"tokenDecimal":"0",
"transactionIndex":"25",
"gas":"155245",
"gasPrice":"28598743394",
"gasUsed":"100173",
"cumulativeGasUsed":"4294426",
"input":"deprecated",
"confirmations":"1777525"
}
]
}
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.
Copy https://api.fraxscan.com/api
?module=account
&action=token1155tx
&contractaddress=0x76be3b62873462d2142405439777e971754e8e77
&address=0x83f564d180b58ad9a02a449105568189ee7de8cb
&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 🔗
Request Response
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
Copy {
"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"
}
]
}
Last updated 9 months ago