Skip to content

Commit

Permalink
Configure gnosisscan.io instead of blockscout API
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianbayart authored Aug 7, 2023
1 parent 019365f commit 0f6642a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions beta/public/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ const NETWORK = {
img: '/img/xdai-icon.svg',
color: '#4ea8a6',
rpc: 'https://rpc.gnosischain.com',
explorer: 'https://blockscout.com/xdai/mainnet/tokens/',
normaltx: 'https://blockscout.com/xdai/mainnet/api?module=account&action=txlist&address=WALLET_ADDRESS&startblock=START_BLOCK&sort=asc',
tokentx: 'https://blockscout.com/xdai/mainnet/api?module=account&action=tokentx&address=WALLET_ADDRESS&startblock=START_BLOCK&sort=asc',
explorer: 'https://gnosisscan.io/token/',
normaltx: 'https://api.gnosisscan.io/api?module=account&action=txlist&address=WALLET_ADDRESS&startblock=START_BLOCK&sort=asc',
tokentx: 'https://api.gnosisscan.io/api?module=account&action=tokentx&address=WALLET_ADDRESS&startblock=START_BLOCK&sort=asc',
erc721tx: null,
tokenbalance: 'https://blockscout.com/xdai/mainnet/api?module=account&action=tokenbalance&contractaddress=CONTRACT_ADDRESS&address=WALLET_ADDRESS&tag=latest',
tokenbalance: 'https://api.gnosisscan.io/api?module=account&action=tokenbalance&contractaddress=CONTRACT_ADDRESS&address=WALLET_ADDRESS&tag=latest',
url_data: SERVER_URL + '/gno',
tokenContract: '0x0',
tokenSymbol: 'XDAI',
Expand Down

0 comments on commit 0f6642a

Please sign in to comment.