This page describes endpoints of harmony explorer to programmatically access the data.
GET
https://explorer-v2-api.hmny.io/v0/erc20//v0/erc20/
GET
https://explorer-v2-api.hmny.io/v0/erc721/
GET
https://explorer-v2-api.hmny.io/v0/erc1155
GET
https://explorer-v2-api.hmny.io/v0/erc20/address/:token_addr/balances
Get the HRC20 balance of an address.
https://explorer-v2-api.hmny.io/v0/erc20/address/0x8454bf4fc72687b61eaf1bcd64bb9e78983fbdd7/balances
GET
https://explorer-v2-api.hmny.iov0/erc721/address/:token_addr/balances
Get the HRC721/HRC1155 balance of an address
https://explorer-v2-api.hmny.io/v0/erc721/address/0x847826f2d552c87d2ee6f38b65425fc85befe841/balances
GET
https://explorer-v2-api.hmny.io/v0/price/actual/ONEUSDT
Get the price of ONE in USDT
Example:
https://explorer-v2-api.hmny.io/v0/price/actual/ONEUSDT
GET
https://explorer-v2-api.hmny.io/v0/shard/:shard_id/address/:address/transactions/type/transaction?offset=0&limit=10
https://explorer-v2-api.hmny.io/v0/shard/0/address/0x7912111622cb6455156ceb8a4b17c8c2ce6e7dab/transactions/type/transaction?offset=0&limit=10
GET
https://explorer-v2-api.hmny.io/v0/shard/:shard_id/address/0xdd46509b31b87f05a0da47e6ff9cdaa5563e7a57/transactions/type/erc20?offset=0&limit=10
Get all HRC20 transactions.
Example:
https://explorer-v2-api.hmny.io/v0/shard/0/address/0xdd46509b31b87f05a0da47e6ff9cdaa5563e7a57/transactions/type/erc20?offset=0&limit=10
GET
https://explorer-v2-api.hmny.io//v0/shard/:shard_id/address/:token_addr/transactions/type/erc721?offset=0&limit=10
Get the transactions of an HRC721/HRC1155 token.
Example:
https://explorer-v2-api.hmny.io/v0/shard/0/address/0xe59a79c7516d22a488a3f479626e75a2e81aae66/transactions/type/erc721?offset=0&limit=10
GET
https://explorer-v2-api.hmny.io//v0/shard/:shard_id/logs/transaction/hash/:txn_hash
Get the event logs of a transaction.
Example:
https://explorer-v2-api.hmny.io/v0/shard/0/logs/transaction/hash/0x0d449c8dde6c13e63064f49c531ba028878a4de368473cdff421255000c8047f
GET
https://explorer-v2-api.hmny.io/v0/erc20/token/:token_addr/holders?limit=100&offset=0
Get the list of token holders of an HRC20 token.
Example:
https://explorer-v2-api.hmny.io/v0/erc20/token/0xcf664087a5bb0237a0bad6742852ec6c8d69a27a/holders?limit=100&offset=0
GET
https://ctrver.t.hmny.io/fetchContractCode?contractAddress=
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
string
string
string
token_addr
string
HRC20 token address
string
HRC20 token address
string
shard_id
string
shard id
address
string
hex address
string
shard_id
string
shard id
token_addr
string
HRC721/HRC1155 token contract address
shard_id
string
shard id
txn_hash
string
transaction hash
Token Address
string
contractAddress*
String
Contract address