• Function to get the URL for sending a transaction based on the network and Blockcypher URL. Throws an error if the network is 'testnet' since the testnet URL is not available for Blockcypher.

    Parameters

    • params: {
          blockcypherUrl: string;
          network: Network;
      }

      Object containing the Blockcypher URL and network type.

      • blockcypherUrl: string

        The Blockcypher URL.

      • network: Network

        The network type (Mainnet, Testnet, or Stagenet).

    Returns string

    The URL for sending a transaction.

Generated using TypeDoc