Get Ether Balance for a Single Address
Returns the Ether balance of a given address.
https://api-sepolia.blastscan.io/api
?module=account
&action=balance
&address=0x68949b0ef5de6087c64947bca6c749e89b6a8bd9
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser
Sample Response
{
"status":"1",
"message":"OK",
"result":"1100000000000000000"
}
Get Ether Balance for Multiple Addresses in a Single Call
Returns the balance of the accounts from a list of addresses.
https://api-sepolia.blastscan.io/api
?module=account
&action=balancemulti
&address=0x83165f86c10898dd4a7f33bde8e5c0e4cc90e424,0x6d3d7b3779655405ee64662e33b79a4699845c3e,0xc3ac498cdfb6e1dcfa17cbc55e514560f26a1922
&apikey=YourApiKeyToken
Sample Response
{
"status": "0",
"message": "NOTOK",
"result": [
{
"account": "0x83165f86c10898dd4a7f33bde8e5c0e4cc90e424",
"balance": ""
},
{
"account": "0x6d3d7b3779655405ee64662e33b79a4699845c3e",
"balance": ""
},
{
"account": "0xc3ac498cdfb6e1dcfa17cbc55e514560f26a1922",
"balance": ""
}
]
}
Get a list of 'Normal' Transactions By Address
Returns the list of transactions performed by an address, with optional pagination.
https://api-sepolia.blastscan.io/api
?module=account
&action=txlist
&address=0x68949b0ef5de6087c64947bca6c749e89b6a8bd9
&startblock=0
&endblock=99999999
&page=1
&offset=2
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "476841",
"timeStamp": "1701674886",
"hash": "0x109ddbabd91b3032bfb626130c8868d054da7427f3fe67152f0f6d8d36bd88b7",
"nonce": "1",
"blockHash": "0x21e12be85986ce1244d86d8088d48a186dd1b98209f2926ce6e5b819eb661bd7",
"transactionIndex": "1",
"from": "0x7466be349b17a0f966f97ddeefe393894b9faf06",
"to": "0x68949b0ef5de6087c64947bca6c749e89b6a8bd9",
"value": "1100000000000000000",
"gas": "21000",
"gasPrice": "1500000049",
"isError": "0",
"txreceipt_status": "1",
"input": "0x",
"contractAddress": "",
"cumulativeGasUsed": "21000",
"gasUsed": "21000",
"confirmations": "1246492",
"methodId": "0x",
"functionName": ""
},
{
"blockNumber": "603930",
"timeStamp": "1701929064",
"hash": "0x486ccb0541c30f2cf2915f36b10fa3bdf734be2b06a5d018be34119773c52473",
"nonce": "0",
"blockHash": "0x96da9dd2d66101459ef1ee01da556a55675ddc6a6ec40f1c0eeafd91d17c469a",
"transactionIndex": "1",
"from": "0xa3ede59e15a37b8fb1dcbccb6997672fe8a6113b",
"to": "0x68949b0ef5de6087c64947bca6c749e89b6a8bd9",
"value": "0",
"gas": "32760",
"gasPrice": "5000000000",
"isError": "0",
"txreceipt_status": "1",
"input": "0x1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111",
"contractAddress": "",
"cumulativeGasUsed": "22760",
"gasUsed": "22760",
"confirmations": "1119403",
"methodId": "0x11111111",
"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.blastscan.io/api
?module=account
&action=txlistinternal
&address=0x263feb5d3669ce07c27dd6ec33a6c67c66110d30
&startblock=0
&endblock=99999999
&page=1
&offset=2
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "6950",
"timeStamp": "1700735104",
"hash": "0x69cd1fdb26fbd4f3408d4f2ab97b87fe8a835cf86b972ab8cf28546219fb1736",
"from": "0x4200000000000000000000000000000000000010",
"to": "0x7466be349b17a0f966f97ddeefe393894b9faf06",
"value": "300000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "2089081",
"gasUsed": "0",
"traceId": "0_1_1_1_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "9314",
"timeStamp": "1700739832",
"hash": "0x61381744e6f8e8aee4727cd337f231b5e8783122ba9e61a2ab417c1a3ebec8d7",
"from": "0x4200000000000000000000000000000000000010",
"to": "0x7466be349b17a0f966f97ddeefe393894b9faf06",
"value": "300000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "2113690",
"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.
https://api-sepolia.blastscan.io/api
?module=account
&action=txlistinternal
&txhash=0xe01d30f8fde4029e1fb1116290425b9518f1e65f9ebce973bb357f04a1025445
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "338694",
"timeStamp": "1701398592",
"from": "0x4200000000000000000000000000000000000007",
"to": "0x4200000000000000000000000000000000000010",
"value": "300000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "2198213",
"gasUsed": "23619",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "338694",
"timeStamp": "1701398592",
"from": "0x4200000000000000000000000000000000000010",
"to": "0x7466be349b17a0f966f97ddeefe393894b9faf06",
"value": "300000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "2113690",
"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.blastscan.io/api
?module=account
&action=txlistinternal
&startblock=0
&endblock=latest
&page=1
&offset=2
&sort=asc
&apikey=YourApiKeyToken
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "3830",
"timeStamp": "1700728864",
"hash": "0xb247166366f6a8ebe3e35b6344f0d73389e3e80c96c12ae94702300f9e9374e0",
"from": "0x4200000000000000000000000000000000000007",
"to": "0x4200000000000000000000000000000000000010",
"value": "300000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "2198225",
"gasUsed": "48619",
"traceId": "0_1_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "3830",
"timeStamp": "1700728864",
"hash": "0xb247166366f6a8ebe3e35b6344f0d73389e3e80c96c12ae94702300f9e9374e0",
"from": "0x4200000000000000000000000000000000000010",
"to": "0xee3e7d56188ae7af8d5bab980908e3e91c0d7384",
"value": "300000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "2089093",
"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.
https://api-sepolia.blastscan.io/api
?module=account
&action=tokentx
&contractaddress=0x0cfA950b9b2e8FCa604f1004802eD0c8D62D22d3
&address=0x7466be349b17a0f966f97ddeefe393894b9faf06
&page=1
&offset=2
&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": "482958",
"timeStamp": "1701687120",
"hash": "0x6313145736c0ed8051e195ac4c33428f6caf99b8f1832daf7d65646f26f39372",
"nonce": "10",
"blockHash": "0x69967226938decd0024935e4a26ff88e8b8c383214b5e5b0acd5ba828e57ae36",
"from": "0x0000000000000000000000000000000000000000",
"contractAddress": "0x0cfa950b9b2e8fca604f1004802ed0c8d62d22d3",
"to": "0x7466be349b17a0f966f97ddeefe393894b9faf06",
"value": "1000000000000000000000000",
"tokenName": "Custom L2 Token",
"tokenSymbol": "L2T",
"tokenDecimal": "8",
"transactionIndex": "1",
"gas": "1846584",
"gasPrice": "1000000049",
"gasUsed": "1846584",
"cumulativeGasUsed": "1846584",
"input": "deprecated",
"confirmations": "1240504"
},
{
"blockNumber": "483104",
"timeStamp": "1701687412",
"hash": "0x1fd91679bb514d08059664b2e46a316fc780be8904a63e1e24e68ebbf81f2ad4",
"nonce": "511",
"blockHash": "0x4ec9c32715839f84d240aa1c87917d7ab3801932312283f0b9da7f23c4409b25",
"from": "0x7466be349b17a0f966f97ddeefe393894b9faf06",
"contractAddress": "0x0cfa950b9b2e8fca604f1004802ed0c8d62d22d3",
"to": "0xb0638ea924231bac124eafe6bbdf4d2e4ca4a5ad",
"value": "90000000000",
"tokenName": "Custom L2 Token",
"tokenSymbol": "L2T",
"tokenDecimal": "8",
"transactionIndex": "1",
"gas": "121000",
"gasPrice": "5000000000",
"gasUsed": "52290",
"cumulativeGasUsed": "52290",
"input": "deprecated",
"confirmations": "1240358"
}
]
}
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.blastscan.io/api
?module=account
&action=tokennfttx
&contractaddress=0x8b2a31b9995E307Fb1b958016fA64E07428C988e
&address=0xd7d9891c2531f7f1e1467542c4ddf2e23434e6b0
&page=1
&offset=2
&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": "6481092",
"timeStamp": "1701671316",
"hash": "0x2d40e0fa5ef9621c40366946972ca897e0e9a685b31bf62f031aacdbe74e9ca6",
"nonce": "21",
"blockHash": "0xa7d34b6cd10f7ac80c65e6be8ca5d5c6052bf1e0d7fb9cf841103a94c69fe832",
"from": "0x0000000000000000000000000000000000000000",
"contractAddress": "0x8b2a31b9995e307fb1b958016fa64e07428c988e",
"to": "0xd7d9891c2531f7f1e1467542c4ddf2e23434e6b0",
"tokenID": "1278200",
"tokenName": "SheepFarmNFT",
"tokenSymbol": "SHEP",
"tokenDecimal": "0",
"transactionIndex": "1",
"gas": "290290",
"gasPrice": "100000050",
"gasUsed": "286244",
"cumulativeGasUsed": "335633",
"input": "deprecated",
"confirmations": "347638"
},
{
"blockNumber": "6481157",
"timeStamp": "1701671446",
"hash": "0x12e3de3fe92361b48e62c97be55220a7c08116184b2f4944f5e21ae9f44ca53a",
"nonce": "22",
"blockHash": "0x2da8429ad74b48237903c4baeb643a52ef6d9960ac430749f5a56dc59493b031",
"from": "0x0000000000000000000000000000000000000000",
"contractAddress": "0x8b2a31b9995e307fb1b958016fa64e07428c988e",
"to": "0xd7d9891c2531f7f1e1467542c4ddf2e23434e6b0",
"tokenID": "1278201",
"tokenName": "SheepFarmNFT",
"tokenSymbol": "SHEP",
"tokenDecimal": "0",
"transactionIndex": "1",
"gas": "521098",
"gasPrice": "100000050",
"gasUsed": "511515",
"cumulativeGasUsed": "578004",
"input": "deprecated",
"confirmations": "347573"
}
]
}
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.kromascan.com/api
?module=account
&action=token1155tx
&contractaddress=0x42fC572Bb3d37f8ac064Cb46290e67a2eC1370d1
&address=0xa8e3195879e60ddd770a20c0ade739b2f2ad36f8
&page=1
&offset=100
&startblock=0
&endblock=latest
&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.
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"
}
]
}