debeem-wallet
  • asynchronously set/update the ChainId into the database

    for example:

    import { putCurrentChainAsync } from "debeem-wallet";

    const chainId = 1;
    const saved : boolean = await putCurrentChainAsync( chainId );

    Parameters

    • chainId: number

      {number} numeric chainId

    Returns Promise<boolean>