Skip to content

[bug] Support Sepolia chainID #72

@Elliott-Green

Description

@Elliott-Green

GIVEN I pass a chainID of 0x11155111 (Sepolia)
WHEN I query createExplorerLinkForChain() with the Sepolia chainID
THEN I expect the string https://sepolia.etherscan.io/tx/ to be returned

BUT it returns empty string.

<script lang="ts">
    import { createExplorerLinkForChain} from '@metamask/etherscan-link';
</script>

createExplorerLinkForChain('0xtxhashgoeshere', '0x11155111')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions