Get explorer URL for an address
The network identifier
The contract or account address
Full URL to view address, or null if no explorer
const url = getAddressUrl('eip155:8453', '0x1234...');console.log(url); // 'https://basescan.org/address/0x1234...' Copy
const url = getAddressUrl('eip155:8453', '0x1234...');console.log(url); // 'https://basescan.org/address/0x1234...'
Get explorer URL for an address