Function createClientToBlockchain

  • Uses the provided client to instantiate a new client which targets a different blockchain. Namely, the blockchain with the provided rid

    Parameters

    • client: IClient

      the original client

    • blockchainRid: BufferId

      rid of the blockchain which the new client will target

    Returns Promise<IClient>