@ethersproject/address

  • Version 5.6.1
  • Published
  • 33.1 kB
  • 5 dependencies
  • MIT license

Install

npm i @ethersproject/address
yarn add @ethersproject/address
pnpm add @ethersproject/address

Overview

Utilities for handling Ethereum Addresses for ethers.

Index

Functions

function getAddress

getAddress: (address: string) => string;

    function getContractAddress

    getContractAddress: (transaction: {
    from: string;
    nonce: BigNumberish;
    }) => string;

      function getCreate2Address

      getCreate2Address: (
      from: string,
      salt: BytesLike,
      initCodeHash: BytesLike
      ) => string;

        function getIcapAddress

        getIcapAddress: (address: string) => string;

          function isAddress

          isAddress: (address: string) => boolean;

            Package Files (1)

            Dependencies (5)

            Dev Dependencies (0)

            No dev dependencies.

            Peer Dependencies (0)

            No peer dependencies.

            Badge

            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@ethersproject/address.

            • Markdown
              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@ethersproject/address)
            • HTML
              <a href="https://www.jsdocs.io/package/@ethersproject/address"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>