Get Ether Balance for a Single Address
Returns the Ether balance of a given address.
Copy https://api.kromascan.com/api
?module=account
&action=balance
&address=0x2c64a1D5D602E7Fb6d21dA6211DceCc6E17a0649
&tag=latest
&apikey=YourApiKeyToken
Try this endpoint in your browser
Request Response
Sample response
Copy {
"status":"1",
"message":"OK",
"result":"5867481912211389"
}
Get Ether Balance for Multiple Addresses in a Single Call
Returns the balance of the accounts from a list of addresses.
Copy https://api.kromascan.com/api
?module=account
&action=balancemulti
&address=0x45a318273749d6eb00f5f6ca3bc7cd3de26d642a,0x542E636a4060F691652202DdB9b15FA495Fb418b,0x56b4b18f6293252Fc5eEC4e5dF1915F7218d04fc,0x1782d71a0f16efcb632baf210a54ce641852a138
&tag=latest
&apikey=YourApiKeyToken
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK",
"result": [
{
"account": "0x45a318273749d6eb00f5f6ca3bc7cd3de26d642a",
"balance": "13647659300391932259"
},
{
"account": "0x542E636a4060F691652202DdB9b15FA495Fb418b",
"balance": "3998436014412186106"
},
{
"account": "0x56b4b18f6293252Fc5eEC4e5dF1915F7218d04fc",
"balance": "2892697394034702715"
}
]
}
Get a list of 'Normal' Transactions By Address
Returns the list of transactions performed by an address, with optional pagination.
Copy https://api.kromascan.com/api
?module=account
&action=txlist
&address=0x45A318273749d6eb00f5F6cA3bC7cD3De26D642A
&startblock=0
&endblock=99999999
&page=1
&offset=10
&sort=asc
&apikey=YourApiKeyToken
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "1427763",
"timeStamp": "1696735913",
"hash": "0x57106956570cf3ebe1f34459d750d4933d7d44f88aeeac4b18909c5f89bab948",
"nonce": "1",
"blockHash": "0xeceeefa9bcf2a4ccc319c63c729e5ecd6cbb183b105d91833f9e961547ac53e4",
"transactionIndex": "1",
"from": "0x3dc40d707e22be5c670f6c7a5a7878aedda7ca17",
"to": "0x45a318273749d6eb00f5f6ca3bc7cd3de26d642a",
"value": "2990000000000000000",
"gas": "21000",
"gasPrice": "1500000050",
"isError": "0",
"txreceipt_status": "1",
"input": "0x",
"contractAddress": "",
"cumulativeGasUsed": "70401",
"gasUsed": "21000",
"confirmations": "2808547",
"methodId": "0x",
"functionName": ""
},
{
"blockNumber": "1428217",
"timeStamp": "1696736821",
"hash": "0x4fcba4b889de7f6ec57e2fba48955afbf9528197254042597c1aadecb48332fa",
"nonce": "0",
"blockHash": "0x455fe74c1d73f007f163503d6945eaf2c379e00aab9845afc8ed692d7c70cc59",
"transactionIndex": "1",
"from": "0x45a318273749d6eb00f5f6ca3bc7cd3de26d642a",
"to": "0x3375255e3e531452be479c4cd68b738193f7fb00",
"value": "3500000000000019",
"gas": "23100",
"gasPrice": "1150000050",
"isError": "0",
"txreceipt_status": "1",
"input": "0x",
"contractAddress": "",
"cumulativeGasUsed": "87501",
"gasUsed": "21000",
"confirmations": "2808093",
"methodId": "0x",
"functionName": ""
}
]
}
Get a list of 'Internal' Transactions by Address
Returns the list of internal transactions performed by an address, with optional pagination.
Copy https://api.kromascan.com/api
?module=account
&action=txlistinternal
&address=0x45A318273749d6eb00f5F6cA3bC7cD3De26D642A
&startblock=0
&endblock=2702578
&page=1
&offset=2
&sort=asc
&apikey=YourApiKeyToken
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "1484790",
"timeStamp": "1696849967",
"hash": "0x8f70ba770249216bc129ed4a0d6c26087c21468078e0a1630778b0c353d8a715",
"from": "0xe604023b56a4996237f39b498ddd7ba488ba8863",
"to": "0x45a318273749d6eb00f5f6ca3bc7cd3de26d642a",
"value": "4500000000000017",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "22855",
"gasUsed": "0",
"traceId": "0_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "1487596",
"timeStamp": "1696855579",
"hash": "0x0e3a0b4800e1de40fe8ceddf2037786ec1a4edd0d140b34e5035934e4eff6d55",
"from": "0xe604023b56a4996237f39b498ddd7ba488ba8863",
"to": "0x45a318273749d6eb00f5f6ca3bc7cd3de26d642a",
"value": "11000000000000017",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "22302",
"gasUsed": "0",
"traceId": "0_1",
"isError": "0",
"errCode": ""
}
]
}
Get 'Internal Transactions' by Transaction Hash
Returns the list of internal transactions performed within a transaction.
Copy https://api.kromascan.com/api
?module=account
&action=txlistinternal
&txhash=0x64f68c86a0cb4dcd1a1d78a52aaec0a5f8ab4383e6b8c2a08dd207f090012abc
&apikey=YourApiKeyToken
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "4110738",
"timeStamp": "1702101863",
"from": "0xe604023b56a4996237f39b498ddd7ba488ba8863",
"to": "0x45a318273749d6eb00f5f6ca3bc7cd3de26d642a",
"value": "4500000000000017",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "22861",
"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.
Copy https://api.kromascan.com/api
?module=account
&action=txlistinternal
&startblock=1348
&endblock=13491
&page=1
&offset=2
&sort=asc
&apikey=YourApiKeyToken
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "2375",
"timeStamp": "1693885137",
"hash": "0x092d91e012b63330c3dc49e05461bd606c9379fed019639f6a92e0ab2b249bc5",
"from": "0x4200000000000000000000000000000000000004",
"to": "0x4200000000000000000000000000000000000009",
"value": "10000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "405031",
"gasUsed": "44162",
"traceId": "0_1_1",
"isError": "0",
"errCode": ""
},
{
"blockNumber": "2375",
"timeStamp": "1693885137",
"hash": "0x092d91e012b63330c3dc49e05461bd606c9379fed019639f6a92e0ab2b249bc5",
"from": "0x4200000000000000000000000000000000000009",
"to": "0xa9b8fc5b35e651a41a35357c20c7c638cf0440e6",
"value": "10000000000000000",
"contractAddress": "",
"input": "",
"type": "call",
"gas": "349221",
"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.kromascan.com/api
?module=account
&action=tokentx
&contractaddress=0x0Cf7c2A584988871b654Bd79f96899e4cd6C41C0
&address=0xcd93ef1ce3adc9aa7c46ec4bc3a2fd76db1d1f19
&page=1
&offset=2
&startblock=0
&endblock=27025780
&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.
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "3909976",
"timeStamp": "1701700339",
"hash": "0x651e4e1ba2704065ea937b4909c0ae537fb785d361c4ca4ec759cacfe86beab0",
"nonce": "11",
"blockHash": "0xb05f8c42d9edcd8282d72697ddaf4872636af11e05677b277aac7a8999c84407",
"from": "0x1782d71a0f16efcb632baf210a54ce641852a138",
"contractAddress": "0x0cf7c2a584988871b654bd79f96899e4cd6c41c0",
"to": "0xcd93ef1ce3adc9aa7c46ec4bc3a2fd76db1d1f19",
"value": "41798584",
"tokenName": "Tether USD",
"tokenSymbol": "USDT",
"tokenDecimal": "6",
"transactionIndex": "1",
"gas": "367764",
"gasPrice": "10000000",
"gasUsed": "224135",
"cumulativeGasUsed": "273536",
"input": "deprecated",
"confirmations": "326402"
},
{
"blockNumber": "3910007",
"timeStamp": "1701700401",
"hash": "0x139b625d56a7692cdd40a2821cbe56f0114bf565158e7633f8b681c391725683",
"nonce": "13",
"blockHash": "0x59ae718ac8df83ef9ec3dca650b8bad84147e9d6e8664f9d8d25c2b4eb886b11",
"from": "0xcd93ef1ce3adc9aa7c46ec4bc3a2fd76db1d1f19",
"contractAddress": "0x0cf7c2a584988871b654bd79f96899e4cd6c41c0",
"to": "0x1782d71a0f16efcb632baf210a54ce641852a138",
"value": "41798580",
"tokenName": "Tether USD",
"tokenSymbol": "USDT",
"tokenDecimal": "6",
"transactionIndex": "1",
"gas": "706695",
"gasPrice": "10000000",
"gasUsed": "447427",
"cumulativeGasUsed": "496828",
"input": "deprecated",
"confirmations": "326371"
}
]
}
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.kromascan.com/api
?module=account
&action=tokennfttx
&contractaddress=0xf56332270a88e7fe62d6cfdf89c70aa915b27683
&address=0xbac5ab91293eaa612af19e4e627482b1c0ab8e1a
&page=1
&offset=2
&startblock=0
&endblock=latest
&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.
Request Response
Sample Response
Copy {
"status": "1",
"message": "OK",
"result": [
{
"blockNumber": "3977828",
"timeStamp": "1701836043",
"hash": "0xa07d969d000e3c4bb51ffe4976237e701a710618667d8026035e0c57c978b3ef",
"nonce": "6",
"blockHash": "0xff7c1d238c601b2c7a54c465c8d38cdd841be75025a494bb65120dcc0efc7f8c",
"from": "0xb70d64c23fb3932255360b8ba3bb61ee4196dc15",
"contractAddress": "0xf56332270a88e7fe62d6cfdf89c70aa915b27683",
"to": "0xbac5ab91293eaa612af19e4e627482b1c0ab8e1a",
"tokenID": "58815",
"tokenName": "Kroma Genesis",
"tokenSymbol": "GENESIS",
"tokenDecimal": "0",
"transactionIndex": "1",
"gas": "240803",
"gasPrice": "10000000",
"gasUsed": "218942",
"cumulativeGasUsed": "268319",
"input": "deprecated",
"confirmations": "258576"
},
{
"blockNumber": "3977834",
"timeStamp": "1701836055",
"hash": "0x865f3ad96637e97e6eca286b7b528cea2eb1e291fcc6df1c1ce669b5f0945b92",
"nonce": "7",
"blockHash": "0xb83656b21141d4f402163dbe17e2f521e5d7762dc1acf4d1dbf52b0a72895f51",
"from": "0xd339acfb3a6f77cec75fdcbc8ff28ca605f5a3d9",
"contractAddress": "0xf56332270a88e7fe62d6cfdf89c70aa915b27683",
"to": "0xbac5ab91293eaa612af19e4e627482b1c0ab8e1a",
"tokenID": "68295",
"tokenName": "Kroma Genesis",
"tokenSymbol": "GENESIS",
"tokenDecimal": "0",
"transactionIndex": "1",
"gas": "256877",
"gasPrice": "10000000",
"gasUsed": "238838",
"cumulativeGasUsed": "288239",
"input": "deprecated",
"confirmations": "258570"
}
]
}
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.kromascan.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.
Request Response
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"
}
]
}