Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configs/envs/.env.zetachain
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ NEXT_PUBLIC_VIEWS_CONTRACT_LANGUAGE_FILTERS=['solidity','vyper','yul','geas']
NEXT_PUBLIC_VIEWS_CONTRACT_SOLIDITYSCAN_ENABLED=true
NEXT_PUBLIC_VIEWS_TOKEN_SCAM_TOGGLE_ENABLED=true
NEXT_PUBLIC_VISUALIZE_API_HOST=https://visualizer.services.blockscout.com
NEXT_PUBLIC_ZETACHAIN_EXTERNAL_SEARCH_CONFIG=[{"regex":"^[A-F0-9]{64}$","template":"https://zetachain.exploreme.pro/transactions/{hash}","name":"external transaction hash"},{"regex":"^zeta[a-z0-9]{39}$","template":"https://zetachain.exploreme.pro/account/{hash}","name":"Cosmos style address hash"},{"regex":"^zetavaloper[a-z0-9]{39}$","template":"https://zetachain.exploreme.pro/validators/{hash}","name":"Cosmos style validator hash"}]
NEXT_PUBLIC_ZETACHAIN_EXTERNAL_SEARCH_CONFIG=[{'regex':'^[A-F0-9]{64}\$','template':'https://zetachain.exploreme.pro/transactions/{hash}','name':'external transaction hash'},{'regex':'^zeta[a-z0-9]{39}\$','template':'https://zetachain.exploreme.pro/account/{hash}','name':'Cosmos style address hash'},{'regex':'^zetavaloper[a-z0-9]{39}\$','template':'https://zetachain.exploreme.pro/validators/{hash}','name':'Cosmos style validator hash'}]
NEXT_PUBLIC_ZETACHAIN_SERVICE_API_HOST=https://zetachain-cctx-mainnet.k8s-prod-2.blockscout.com
NEXT_PUBLIC_ZETACHAIN_SERVICE_CHAINS_CONFIG_URL=https://raw.githubusercontent.com/blockscout/frontend-configs/refs/heads/main/configs/cross-chain/zetachain-mainnet.json
8 changes: 8 additions & 0 deletions ui/apiDocs/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,12 @@ export const REST_API_SECTIONS = [
requestInterceptor: microserviceRequestInterceptorFactory(config.apis.tac),
},
},
config.apis.zetachain && {
id: 'zetachain-api',
title: 'Zetachain CCCTX API',
swagger: {
url: getMicroserviceSwaggerUrl(config.apis.zetachain),
requestInterceptor: microserviceRequestInterceptorFactory(config.apis.zetachain),
},
},
].filter(Boolean);
Loading